4 Replies Latest reply: Mar 20, 2012 3:11 PM by Miriam Munoz RSS

Withholding tax for debtors using BAPI_ACC_DOCUMENT_POST

Miriam Munoz
Currently Being Moderated

Dear experts,

I'm using BAPI_ACC_DOCUMENT_POST for generating debtors invoices, in which apply withholding tax.  ACCOUNTWT has been informed and everything seems to be OK, but when I review the information updated into the different tables, I can see that BSEG-QBSHB is empty and BSEG-QSZNR has been filled.

When I generate a similar debtor invoice through standard transaction, BSEG-QBSHB is filled with the withholding tax amount, and BSEG-QSZNR is empty. With help from basis team, we can see that BSEG-QSZNR is informed by standard coding in BAPI, but not what's happening with BSEG-QBSHB. Do you  know how can I  populate BSEG-QBSHB using this bapi?

Any suggestion will be apreciated.

Many thanks,