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

Changing status for outbound delivery

Hi all,

My requirement is for a given delivery nummer(vl02n)i have to check the status(all fields) in VBUP and VBUK tables and change all staus from A or B to C and save in the database through se16.

Please kindly help me how to proceed this requirement.

regards

chandu.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Nov 24, 2005 at 09:04 AM

    Hi sai,

    You cannot update the tables directly(In se16).

    You need to write a program and use the bapi

    BAPI_OUTB_DELIVERY_CHANGE, to chage anythig related to outbound delivery.

    Regards,

    Ravi Kanth

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      for checking the values>go to <b>se16n</b> (instead of se16)>

      enter table name as (<b>VBUP</b>)> in SALES DOCUMENT field enter your <b>vbeln</b> value(s)>execute--> you will find the status record --> in a nice grid layout.

      cheers.

  • author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2005 at 09:06 AM

    if LFSTA is the status field..then

    just run this code from se38.

    all entries will be updated in ne shot

    update VBUP set LFSTA = 'C'

    where ( LFSTA = 'A' or

    LFSTA = 'B' )

    and VBELN = 'your delvery number' .

    update VBUK set LFSTA = 'C'

    where ( LFSTA = 'A' or

    LFSTA = 'B' ).

    and VBELN = 'your delvery number'.

    commit work.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2005 at 09:06 AM

    Hi Sai,

    You can use FM BAPI_INB_DELIVERY_CHANGE for changing the status.

    Can refer to the FM Documentation.

    Regards,

    Raj

    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.