I am using the FM BAPI_ACC_DOCUMENT_POST to post an invoice through FB01.
I need to check the "Calculate Tax" field in the header of the FB03.
I am unable to find any field corresponding in the structures of the BAPI to the field XMWST in BKPF for the same purpose.
Is there any way to check the field or to automate the tax calcalution with the BAPI usage? Your ideas and inputs are appreiciated.