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

BAPI_OUTB_DELIVERY_CREATE_SLS : creating Delivery order

Former Member
0 Likes
1,990

Hi Frnds,

I am using BAPI_OUTB_DELIVERY_CREATE_SLS to create a delivery for customer order. I am passing ship_point( for ex: zbsh) and ref_doc number(for ex: 12658). I am getting the result as delivery created (for ex: 80015479). But when I checked the tables LIKP/LIPS, the delivery order doesn't exist. When a created delivery order manually using VL01 ,it updates the LIKP/LIPS table with delivery no:80015480.( serial number of delivery orders are following)

Is this BAPI updates any delivery table or not?

Please help me in this regard.

Regards,

kiran.

Hi Frnds,

I am using BAPI_OUTB_DELIVERY_CREATE_SLS to create a delivery for customer order. I am passing ship_point( for ex: zbsh) and ref_doc number(for ex: 12658). I am getting the result as delivery created (for ex: 80015479). But when I checked the tables LIKP/LIPS, the delivery order doesn't exist. When a created delivery order manually using VL01 ,it updates the LIKP/LIPS table with delivery no:80015480.( serial number of delivery orders are following)

Is this BAPI updates any delivery table or not?

Please help me in this regard.

Regards,

kiran.

4 REPLIES 4
Read only

Former Member
0 Likes
1,199

Hi Kiran,

I'm having the same issue. Do you resolved it? Please share with us if you found the solution (and a code example).

Thanks in advance,

Oscar.

Read only

0 Likes
1,199

Hi,

You will have to use BAPI_TRANSACTION_COMMIT, for the created document to be written to database. Without the commit work the data doesnt get updated to the database.

DATA:

fs_commit TYPE bapiret2.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'

IMPORTING

return = fs_commit.

Though you get the message from the system saying that a delivery document was created, it doesnt get updated to LIKP/LIPS unless until you run the COMMIT WORK using this BAPI.

Read only

Former Member
0 Likes
1,199

Can you please let me know, did you create the delivery with reference to sales order ? If yes, i have similar requirement. After executing BAPI, i am getting the return message like *'No instance of object type OutboundDelivery has been created. External reference:'*

Do we need to send the Delivery Type(LFART) to above BAPI ?

Can you please eloborate me ?

Regards

Badari

Read only

Former Member
0 Likes
1,199

hi krishna

if you got solution for this creation of outbound delivery using BAPI. could you please share .

thanks

venkata karthik