Skip to Content
author's profile photo Former Member
Former Member

BAPI_OUTB_DELIVERY_CREATE_SLS: CREATING DELIVERY ORDER

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 04, 2008 at 09:40 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 04, 2008 at 09:25 AM

    Please check if you have used 'BAPI_TRANSACTION_COMMIT' after successful creation of delivery using 'BAPI_OUTB_DELIVERY_CREATE_SLS'.

    Regards,

    Aparna Gaikwad

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.