Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

BAPI_GOODSMVT_CREATE Inconsistant for Inbound Delivery

$
0
0

Hi Experts,

 

I am Using BAPI_GOODSMVT_CREATE to Post Goods Receipt for Inbound Delivery in Which I am Passing Purchase Order and Item.

It is Posting Correctly in case where one Inbound Delivery is created for one Item.

 

I am facing issue in case there are multiple inbound deliveries created for one item on PO.

Below is the PO Item Deliveries :

 

Pic1.JPG

 

Inbound Delv.ItemQuantity Reduced
18000061810

10

1800006191020
180000620100
180000621100
180000622100

 

Here I am Posting GR for 180000620 / 10.

 

In this case, BAPI is giving error "Qty to be posted is greater than maximum postable quantity: 180000618/000010".

Here it is giving error for the inbound delivery that is already Posted.

Why it is checking all the deliveries for the PO Item ? If it is checking then it should compare with the PO Item Quantity.

I have tried with passing Delivery Number and Delivery Item in the BAPI but it is considering it as an Outbound Delivery and giving error.

 

Please give your useful suggestions to resolve this issue.

 

Thanks and Regards,

Sachin


Viewing all articles
Browse latest Browse all 8332

Trending Articles