02-15-2006 3:51 PM
hello,
I'm using this BAPI and when I execute it, it returns the document number that was created, but when I look for it with transaction CV03N, the document does not exist. In addition, if I execute the BAPI again, the document number continues being increased, although the previous document has not been created.
I don't know if it's by a customizing problem or it's by the parameters that I'm introducing.
02-15-2006 3:53 PM
Hi,
did you use BAPI_TRANSACTION_COMMIT after this BAPI ?
Rgd
Frédéric
02-15-2006 3:53 PM
Hi,
did you use BAPI_TRANSACTION_COMMIT after this BAPI ?
Rgd
Frédéric
02-15-2006 3:57 PM
Sometimes BAPI need a little time to process before the next stament....Use BAPI_TRANSACTION_COMMIT and also, you can use FM "ENQUE_SLEEP".
Greetings,
Blag.
02-15-2006 4:11 PM
Hi,
did you use BAPI_TRANSACTION_COMMIT after bapicall.,
if not do that.
are you doing it in SE37 or in program.
if it is Program then you call the <b>BAPI_TRANSACTION_COMMIT.</b> or if it is from SE37 then you go to menu Function module->Test->Test Sequence
now you will get a popup, in that enter your BAPI first, and then enter the BAPI_TRANSACTION_COMMIT .
and enter,
now execute the BAPI. and check it after that
regards
vijay
02-15-2006 7:17 PM
Excuse me for I didn´t answer before because I was in other activities. Thanks for all your answers, these were very useful to solve the problem.
Thanks,
Greetings,
Irina