‎2007 Jun 27 7:31 PM
Hi,
I am creating AR documents using BAPI_ACC_BILLING_POST.It is returning successful creation message. But the coresponding document doesnot exist in the database. Please help me in this issue.Urgent
Thanks,
Bhanu Gattu.
‎2007 Jun 27 7:35 PM
You have to execute FM BAPI_TRANSACTION_COMMIT after your BAPI is successful.
Rob
‎2007 Jun 27 10:15 PM
You can also use <b>ENQUE_SLEEP</b> FM....Which makes you app sleep for some seconds, giving time for tables to get updated -;)
Greetings,
Blag.
‎2007 Jun 27 10:28 PM
hi Bhanu,
You have to call BAPI_TRANSACTION_COMMIT after the calling, BAPI_ACC_BILLING_POST.
Hope this helps,
Sajan Joseph.
‎2007 Jun 28 5:22 AM
Hi,
use the following after your bapi call;
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
Regards,
Sooness
‎2007 Jun 28 5:57 AM
Hi,
1. Not sure but I think I encountered similar problem with GL A/C BAPI and that was due to the fact the lines were not balanced.
The problem was solved by filling the field CURRENCYAMOUNT-AMT_BASE for all line items.
2. Try setting the WAIT to space or simply replace bapi_commit_work fm by commit work .
Thanks,
Anitha