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

COMMIT WORK AND WAIT IN BDC

All stock transfer order updates, generating deliveries and picking and post good issues(PGI) are done via BDC processing. That is we have BDC for tcodes: me22, ye02 and vl02.

The issue is the deliveries are not picked and te PGI is completed. we have to use COMMIT WORK AND WAIT statement after every BDC processing.

There is a form ' insert-transaction using tcode '

This form calls BDC_OPEN GROUP, BDCINSERT and BDC_CLOSE_GROUP.

So we write this COMMIT AND WAIT statement after call transaction <tcode>( eg call transaction me22) every time or just after BDC_CLOSE _GROUP in the form.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 05:24 AM

    Hi,

    you the call of BDC inside a loop and set the COMMIT WORK AND WAIT for the endloop.

    loop ...

    bcd-processing.

    COMMIT WORK AND WAIT

    endloop

    Regards

    Nicole

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 19, 2008 at 05:33 AM

    Hi,

    BDC session cannot lock any tables (WAIT is not needed and this will not solve your problem), we can accept if you are using any BAPI. There is something wrong in the code which is does not pick the deliveries?

    Regards,

    Prabhu Rajesh

    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.