FICO SAP Consultant needs help regarding “BAPI_ACC_DOCUMENT_POST for debtor with withholding tax “
I’m using the BAPI_ACC_DOCUMENT_POST to generate debtor invoices applying withholding tax.
In ORDER to obtain the withholding tax information, I’m using structure ACCOUNTWT, but when the Document FI is generated, it has not line item for withholding tax, and table WITH_ITEM has no values for Basis amount and withholding tax import, though the withholding indicator is there.
With help of a colleague from Basis team, I’ve been debugging the process and all the parameters seem to be OK. So I guess there’s something missing that is doing table WITH_ITEM is being informed incorrectly.
Another point is that I’m not sure if it’s necesary to inform component SECTIONCODE (Withholding tax section) in structure BAPIACAR09 (Debtor position), and in this case, which value it expects to be passed.
Could you, please, help me with this Issue? Any idea will be welcome.
FICO Consultant, needs help regarding BAPI_ACC_DOCUMENT_POST for debtor with withholding tax Help!