‎2006 Aug 18 3:30 PM
Hi abapers
we have requirement to call BAPI_ENTRYSHEET_CREATE from JAVA throguh JCO.
but the COMMIT is already writeen by sap inisde ABAP Source code.
but when JCO called BAPI_ENTRYSHEET_CREATE Multiple times java people getting the error messgae as 'USER ALREADY PROCESSING PURCHASE ORDER'.
i know that i can use 'BAPI_TRANSACTION_COMMIT' where WAIT = 'X' for BAPI which doesn't have inside Commit code.
for BAPI_ENTRYSHEET_CREATE already commit is written.
how can i avoid the above error message while calling form JAVA.
thanks & Regards
Ramesh
‎2006 Aug 18 3:37 PM
Hi ramesh,
pass the TESTRUN parameter as 'X' and run.
the
if the return table is empty or is with no errors, then use bapi_transaction_commit.
else use the fm BAPI_TRANSACTION_ROLLBACK.
Regards,
ravi
‎2006 Aug 18 3:37 PM
Hi ramesh,
pass the TESTRUN parameter as 'X' and run.
the
if the return table is empty or is with no errors, then use bapi_transaction_commit.
else use the fm BAPI_TRANSACTION_ROLLBACK.
Regards,
ravi