‎2008 Nov 18 6:40 AM
Hi,
I am using the BAPI_ACC_DOCUMENT_POST to post a document from my report. After this function call, I am also calling the 'BAPI_TRANSACTION_COMMIT'. The BAPI returns the document number also, but I am unable to see the same in FB03 tcode or even in the table BKPF.
Any suggestions would be helpful.
Regards,
Aravinda Sarma M.
‎2008 Nov 18 6:51 AM
Hi,
Check the return parameter of fm BAPI_ACC_DOCUMENT_POST and see your BAPI_TRANSACTION_COMMIT is getting triggered or not during debugging.
After executing the prgm completely check for the entries in database table or TCode.
With Regards,
Dwaraka.
‎2008 Nov 18 6:51 AM
Hi
Check ur BAPI_TRANSACTION_COMMIT it should like this
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN =
.
i.e. Uncomment EXPORITNG and WAIT and give WAIT = 'X'
Regards
Sachin
‎2008 Nov 18 6:54 AM
‎2008 Nov 18 9:05 AM
Hi,
The solutions offered have not helped. Any further inputs please?
Thanks & Regards,
Aravinda Sarma M.
‎2008 Nov 18 9:56 AM
Hi,
Thank you for your replies. The problem was with the amount.
Regards,
Aravinda Sarma M.