Skip to Content
author's profile photo Former Member
Former Member

BAPI_ACC_DOCUMENT_POST - How to generate tax items


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.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Apr 28, 2006 at 08:03 AM


    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: bapiaccdocumentpost-how-to-fill-accounttax

    Best regards, Johan

    Add comment
    10|10000 characters needed characters exceeded