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
806

Hi,

I am using BAPI_ACC_DOCUMENT_POST for incoming payment posting.The retun is giving successful message i.e S RW 605, but it is not updated in database. What will be the proble? whether I ahve to use any other BAPI before using this BAPI.

Thanks

Kumar

6 REPLIES 6
Read only

Former Member
0 Likes
772

I had the same problem some time ago. I can't remember the exact reason, but I did not fill all parameters correctly. It could have been the assignement from accountgl to currencyamount in the field ITEMNO_ACC

Read only

Former Member
0 Likes
772

Hi

You have to use BAPI_TRANSACTION_COMMIT (after calling your bapi) setting the wait parameter to 'X'. Only then the database will be updated.

Thanks

Vijay

Read only

0 Likes
772

hi,

I used BAPI_TRANSACTION_COMMIT, even though it is not updating.can you suggest anything?

thanks

kumar

Read only

Former Member
0 Likes
772

Hi,

You have to commit the work so that it will be updated in tables.

Use

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

WAIT = 'X'.

For commiting.

regards,

karthik

Read only

Former Member
0 Likes
772

Hi Kumar,

have you tryed a simple "commit work" after calling the bapi?

Try, if its not working, let me know how you fill the bapi, which tables

you use and how they are filled.

If commit work helps, reward.

Regards,

Egon

Read only

Former Member
0 Likes
772

Hi,

I am trying to execute this BAPI for creating an invoice with reference to PO.

Could you please let me know minium data that needs to passed to this FM to execute.

Thanks..

Preetham S