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: 

BAPI_ACC_DOCUMENT_POST | FB01 -ACCOUNTWT generate line item for withholding tax

Former Member
0 Kudos
1,559

Hello team,

Please help me in creating/generating a line item for withholding tax using BAPI_ACC_DOCUMENT_POST. I've already filled up the details in accountwt but it doesn't generate a line item for withholding tax.


Here are the fields that I already filled up in accountwt.


ITEMNO_ACC = 0000000006.

WT_TYPE = EI.

WT_CODE = 37.

BAS_AMT_LC = 420000.00.

BAS_AMT_TC = 420000.00.

AWH_AMT_LC = 63000.00.

AWH_AMT_TC = 63000.00.

BAS_AMT_IND = 'X'.

1 REPLY 1

vrushpanpatil
Discoverer
0 Kudos
488

Hi Ralph,

The withholding tax basically works for vendor/customer line items only. Can you please tell what ITEMNO_ACC you are passing? you should pass the same item no as the item number of the line for which withholding tax is applicable. Only passing ITEMNO_ACC, WT_TYPE, and/or WT_CODE will work.