Skip to Content
0
Dec 26, 2022 at 12:52 PM

BAPI 'BAPI_ACC_DOCUMENT_POST' field 'Determine tax base(XSTBA)' missing

205 Views

Dear all,

I have to post document as that of FB01, so I am using BAPI_ACC_DOCUMENT_POST.

I have to pass 'Tax code' value and 'Determine tax base', but I cannot find 'Determine tax base' field in BAPI.

I think, in this case we can pass 'Base Amount' using table parameter CURRENCYAMOUNT.

Is there any FM using which we can convert 'Amount' to 'Base amount'?( I have only amount and tax code at this moment).

(Note: in FB01, when I select 'Determine tax base' checkbox, the 'base amount' is calculated automatically based on amount and tax code, I want similar logic).

image.png

Thank you,

Manoj

Attachments

image.png (44.6 kB)