‎2008 Nov 25 5:21 AM
Hi,
I am passing the value for posting key in BAPI through TAX_CODE field in ACCOUNTGL (parameter name under tables).
It is giving error "Tax code 01 in procedure TAXR0 is invalid".
Can anyone help me to solve this .
‎2008 Nov 25 5:26 AM
‎2008 Nov 25 7:31 AM
Hi,
Note that this bapi does not need a posting key to post. it identifies posting keys from the datas.
Also tax code is not posting key.so posting key shoud not be passed to tax code field.
find the tax code from your functional consultant or value table of tax field and pass it.
thanks
Arjun
‎2008 Nov 26 2:55 AM
Hi Arjun,
Thanks for your reply it was helpful .I have one more problem how to pass the G/L account in this BAPI . I have fetched the reconcillation account no. of that particular customer from KNB1 table and passing it as G/L account .
It is giving error like "Account & in company code & cannot be directly posted to " .
Can you please help me in this.
‎2008 Nov 26 1:04 PM
Hi,
Sorry i did't see ur query in the morning.
note that you should not pass the reconcillation account number of customer.just pass the customer number from KNA1 or KNB1.
pass actual gl account numbers only for entries in tables ACCOUNTGL and ACCOUNTTAX.
thanks and regards
Arjun