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

Function module to create Inbound delivery with reference to Purchase Order

Former Member
0 Likes
967

Hi experts,

I want to create Inbound delivery with refernce to Purchase Order. But I want to create item wise. For example If one purchase order is there with 10 line items. 10, 20, 30, 40, 50......100.

If I am showing report for Purchase Order with select option and if I select first 5 line items 10, 20, 30, 40, 50 then my program should be create one Inbound delivery for selected line items only. I have tried BDC for Tcode VL31N, but its not worked. Is there any Function module to create Inbound delivery with reference to Purchase Order for selected line items????????

2 REPLIES 2
Read only

Former Member
0 Likes
500

Hello,

You may use fm BAPI_SALESORDER_CREATEFROMDAT2,

Bye

Gabriel P-.

Read only

Former Member
0 Likes
500

Hi,

Try FM RV_DELIVERY_CREATE or GN_DELIVERY_CREATE.

For creating a delivery wrt PO u 1st need to have a sales order i guess.

Regards,

Amit