I am using BAPI_ACC_DOCUMENT_POST in my program to post F-47 document similar to F-02 but the Withholding Tax Code is not deducted in my program .I have filled the following entries in ACCOUNTWT Table for BAPI
WA_ACCOUNTWT-ITEMNO_ACC = COUNT. "Counter
WA_ACCOUNTWT-WT_TYPE = W_FINALN-MWSKZ. "It is blank in BSEG for F-47 Doc
WA_ACCOUNTWT-WT_CODE = W_FINALN-QSSKZ. "XX in BSEG Table
WA_ACCOUNTWT-BAS_AMT_LC = W_FINALN-QSSHB. "It is the amount same as DMBTR
WA_ACCOUNTWT-BAS_AMT_TC = W_FINALN-QBSHB. "Blank in BSEG
WA_ACCOUNTWT-BAS_AMT_IND = 'X'.
APPEND WA_ACCOUNTWT TO ACCOUNTWT.
What are the entries to be filled ?