02-11-2011 6:12 AM
Hi,
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.
CLEAR: WA_ACCOUNTWT.
What are the entries to be filled ?
Regards,
Bharti Jain
02-11-2011 7:38 AM
Fill the following fields based on your requirement
BAS_AMT_L2
BAS_AMT_L3
MAN_AMT_LC
MAN_AMT_TC
MAN_AMT_L2
MAN_AMT_L3
AWH_AMT_LC
AWH_AMT_TC
AWH_AMT_L2
AWH_AMT_L3
MAN_AMT_IND
02-11-2011 8:20 AM
Thanks ,
I have already filled the required fields but please tell me in detail what are the entries that should come in the fields which you have mentioned from BSEG and BKPF table.
Regards,
Bharti Jain
02-11-2011 11:00 AM
Hi All THE ABAP GURUS,
Can I fill EXTENSION2 table of BAPI_ACC_DOCUMENT_POST for withholding tax? What else I have to do regarding it?
Thanks In Advance,
Regards,
Bharti Jain