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

Problem with delivery Bapi

Former Member
0 Likes
975

Dear Gurus,

To do delivery with reference to saleorder i m using bapi BAPI_DELIVERYPROCESSING_EXEC which is working fine if there is a single line item in salesorder.

But If i want to do delivery for multiple line items of particular sales order and when i m using the above bapi it is creating delivery document with only one line item of particular salesorder..i need the delivery document with all items which are there in salesorder...please helpme out in this..

Thanks in advance

Raj

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
747

Hi Raj,

try to populate the Item values into an internal table, then using workarea for each item call this BAPI FM by looping this internal table.

Reward if helpful.

Regards

Chandralekha

6 REPLIES 6
Read only

alpesh_saparia3
Active Contributor
0 Likes
747

Hi,

Try with BAPI "BAPI_OUTB_DELIVERY_SAVEREPLICA".

Read only

Former Member
0 Likes
748

Hi Raj,

try to populate the Item values into an internal table, then using workarea for each item call this BAPI FM by looping this internal table.

Reward if helpful.

Regards

Chandralekha

Read only

0 Likes
747

Hi Lekha,

Thanks for your reply,

when i have loop that bapi it is creating one delivery number for each line item of sales order i want to have only one delivery number with respect to particular sales order...

Read only

0 Likes
747

Hi Raj ,

what ID u are maintaining for Multiple items of the Sales Orders , everything is Ok, just u need to see How u are Giving ID for the Sales Order Items.

Just check this one and also check the Documentation of this BAPI.

Regards

Prabhu

Read only

0 Likes
747

Hi Prabhu,

I m passing id as serialnumber like 1 for first line item 2 for

second line item etc.. is this correct value or else i need to pass any other value to that....

Read only

0 Likes
747

no , pass the same ID for all items of the Sales Order 1, then check, it should be like that only , sorry i am not sure , but i have seen another BAPI's which requires some identifications to process all togetther.

regards

Prabhu