Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ACCOUNTWT

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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