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

exit/badi VA01 after commit

Former Member
0 Likes
426

Hi Gurus,

I need to create invoice ( by calling BAPI_BILLINGDOC_CREATEMULTIPLE) after sales order is saved and commited in VA01.

I have implemented the following enhancments.

1. USEREXIT_REFRESH_DOCUMENT

2. BADI_SD_SALES (method document_init)

Both of them work fine ONLY if I put a break point in them. But, they do not get triggered if I remove the break point.

Please help.

Edited by: mallik kancharla on Nov 30, 2010 1:56 AM

My Problem is resolved. Delay in commit to data base is the cause. If i put wait 30 seconds, then it works:)

1 REPLY 1
Read only

Former Member
0 Likes
356

solved.