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

Journal posting FB01: BAPI_ACC_DOCUMENT_POST

former_member206377
Active Contributor
0 Likes
521

Hi All,

I have a requirement to upload Journal postings in txn FB01.

A spreadsheet upload of Journal postings is needed to provide the ability to create Journal entries and then upload to SAP ECC for posting. I have to use BAPI_ACC_DOCUMENT_POST.

BAPI_ACC_DOCUMENT_POST does not have fields like posting key, WAERS,KURSF(EXCH.rate) . How can this be done?

Can anyone provide inputs for the requirement?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
411

There is a standard code inside this which will automatically fetch the posting key based on the trnasaction key(KTOSL) and account type (KOART) these two field asre present in the structure ACCOUNTGL STRUCTURE BAPIACGL09 OPTIONAL.

So do pass the transaction key , accoutn type and also fill the debit credit indicator

where as for Currency and Exchange rate both are present in structure CURRENCYAMOUNT STRUCTURE BAPIACCR09

1 REPLY 1
Read only

Former Member
0 Likes
412

There is a standard code inside this which will automatically fetch the posting key based on the trnasaction key(KTOSL) and account type (KOART) these two field asre present in the structure ACCOUNTGL STRUCTURE BAPIACGL09 OPTIONAL.

So do pass the transaction key , accoutn type and also fill the debit credit indicator

where as for Currency and Exchange rate both are present in structure CURRENCYAMOUNT STRUCTURE BAPIACCR09