on 03-09-2023 6:12 AM
Hi Guys ,
There is a old program ,In the they are first releasing a PO using BAPI (BAPI_PO_RELEASE),Then using a BDC (ME9F).
This BDC is perfectly working in front and perfectly working If I debug using JDBG, but not working in the background.
Throwing a error as "No suitable purchasing documents found". Please help me in this as its a urgent support work.
Thanks in advance.
Thanks for the reply the issue is resolved.
Gave wait time 1 seconds after the BAPI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you first try to set the WAIT option in the COMMIT (BAPI_TRANSACTION_COMMIT) before adding a delay?
You have 2 solutions
WAIT UP TO 1 SECONDS is the worst solution, because it loses time if the execution is fast and sometimes the asynchronous task will take more than 1 second so it may still fail in the end.
The second solution is the best one. Very few BAPI don't
User | Count |
---|---|
95 | |
11 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.