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 and Witholding tax

0 Kudos

Hi Experts,

I have an issue to create FI Document via BAPI_ACC_DOCUMENT_POST that I passed below parameters to the BAPI;

accountgl = 2 records

accountreceivable = 1 record, ITEMNO_ACC = 0000000002

accountpayable = 1 record, ITEMNO_ACC = 0000000003

accountwt = 1 record, ITEMNO_ACC = 0000000003

currencyamount = 4 records

SAP create FI Document successfully with withholding tax in AP(K) line item No.3

but I also got withholding tax in AR(D) line item No. 2 with zero amount,

As I checked and found that withholding tax is prepared in function module 'FI_WT_ACI_PROCESS_WITH' but I don't know why SAP need to create withholding tax for all line item of vendor and customer.

Could anyone please help me on this issue to make it create withholding tax with specified item No. only? (in this case, for line item 3 only)

Thank you in advance,

Tiwa N.

3 REPLIES 3

0 Kudos

Solved already

0 Kudos

Hi Tiwa,

we are also using same BAPI to post vendor invoice. Iam able to post document with service tax,accountgl and  account payable .but we  are unable to update withholding tax items in the accounting document.

Could please help on this and please post the code if possible .


Thanks in Advance!!

Vigneshwar .D

0 Kudos

Hi,

Can you Let me know how you solved it ?