cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ACC_DOCUMENT_POST - How to generate tax items

Former Member
0 Kudos

Hi,

I am trying to implement the posting of accounting documents via BAPI_ACC_DOCUMENT_POST, and struggling to get the tax postings to work properly.

The process requires me to produce the same outcome as a user manually posting the document via FB01 where tax items are automatically generated. So I need to confirm how to calculate and post the tax items.

I need more information on how to retrieve the data to pass to the ACCOUNTTAX parameter of the bapi and the mapping of the data to the ACCOUNTAX fields. And also the corresponding CURRENCYAMOUNT parameter, I am interested to know if I have to populate the base amount fields as well as the document amount field.

Accepted Solutions (0)

Answers (1)

Answers (1)

reedtzj
Active Participant
0 Kudos

Murray,

I have solved your problem in your other question.

Please, try to ask question only in one forum. For this type of question, the ABAP forum is the right one. This is becuase ABAP coding is involved.

See:

Best regards, Johan