Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

How to create single Inbound Delivey for multiple PO line items through Tcode VL31N?

0 Kudos

Dear All,

Could you please suggest me how to create single inbound delivery for multiple PO line items through Tcode VL31N.

I have already done BDC recording program to create inbound delivery with Handling Units with reference to Single Purchase Order.. and its working fine. Now i needs to add this scenario also.

Could you please let me know is there any BAPI or ALE IDOC to handle all these scenarios..

Thanks in Advance.




Former Member
0 Kudos

Can you look at 'BBP_INB_DELIVERY_CREATE'  , the table "IT_INB_DELIVERY_DETAIL"  can be used to add multiple PO line items

0 Kudos

Hi Ramachandran,

Thank you for your reply, by using BBP_INB_DELIVERY_CREATE we can create Inbound Delivery only, But i want handle HU also in this same. If you have idea on any other bapi or rfc please reply me.


0 Kudos


0 Kudos

Hi All,

In Order to get as many number of lines you created in PO in Inbound delivery creation,

first you need to make sure In line item level, Conf.Control tab ->Inbound Delivery has selected.

Then while calling GN_DELIVERY_CREATE fm and passing parameters, make sure XKOMDLDN-KZAZU = 'X' has passed.

If you follow the above 2 points your issue gets resolved.

I faced the same issue and got it resolved. henceforth giving the above solution to this problem.

Thanks & Regards

Sri Ram