Skip to Content
0
Former Member
Jun 02, 2008 at 06:20 AM

How to use Withholding Tax in BAPI_ACC_DOCUMENT_POST

2018 Views

Hi

Im having some problems with the fi posting bapi: BAPI_ACC_DOCUMENT_POST. I have searched through the forum and cant find the answer.

I wish to enter the withholding tax information of a vendor or a customer. Im on ECC6.0. I am looping through a file and have to fill the following information

gl line

vendor line

gl = 7001060

amount = 10

tax = i6

profit center = 550010001

order = 201

vendor =4700006

amount = 10

value date = 26022008

tax = i6

-


I have filled the ACCOUNTGL and ACCOUNTPAYABLE line items along with the CURRENCYAMOUNT table.

When i post the document, it successfully posts. However, When i try to add information to the ACCOUNTWT and post- it does NOT add the withholding tax line.

-


This is not the sales tax so i cannot use CALCULATE_TAX_FROM_NET_AMOUNT.

The vendor is liable for withholding tax and i fill out ACCOUNTWT with the following entries ( all exist in the vendor master lfbw)

ITEMNO_ACC = 20 ( this is the vendor line)

WT_TYPE = X6

WT_CODE = X6

-


Can anyone guide me How can i properly fill this out and post the document With withholding tax?

Thank you