Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
975

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.

5 REPLIES 5
Read only

Former Member
0 Likes
544

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.

Read only

Former Member
0 Likes
544

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

Read only

Former Member
Read only

Former Member
0 Likes
544

Hi,

The solutions offered have not helped. Any further inputs please?

Thanks & Regards,

Aravinda Sarma M.

Read only

Former Member
0 Likes
544

Hi,

Thank you for your replies. The problem was with the amount.

Regards,

Aravinda Sarma M.