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

FI Posting BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
1,454

Hi All,

I use the BAPI :BAPI_ACC_DOCUMENT_POST for doing the FI posting. It works as expected. When I am trying to post multiple transaction currencies, SAP internally creates multiple documents but the RETURN table gives only one document. How can I get all the documents generated by the BAPI?

3 REPLIES 3
Read only

Former Member
0 Likes
907

Hi Selva,

Call this FM multiple times, then each time will return a document. Maybe you can post your code here.

regards,

Archer

Read only

Former Member
0 Likes
907

Hi Selva,


"post multiple transaction currencies, SAP internally creates multiple documents"


In my opinion, this statement is not true as with one BAPI call only one document is created.


In BAPI, in the currency structure BAPIACCR09, you can specify the type of currency you are passing. (CURR_TYPE)


Please let me know if you require additional details.


Thanks & Regards,

Surmeet

Read only

Former Member
0 Likes
907

Resolved the issue. Issue was in calling the commit BAPI.