2012 May 30 2:25 PM
Hello,
I am posting a document using the BAPI BAPI_ACC_DOCUMENT_POST.
When posting that document I am adding tax items.
The items generated on the document are correct. Here are the specific items I am talking about (not all document items):
Item Posting Key Tax Code Value
1 50 NA -299,60
2 50 NA -17.98
3 40 NA 17-98
4 40 NA 3780
5 40 NA 226,80
6 50 NA -226,80
When I look into the tax data of the document (table BSET) I can only find the values from items 2 and 3. The is no data from items 5 and 6.
Seems like it is not taking into consideration the positive values posted.
Can anyone help me understand why this is happening.
Thank you in advance.
Nuno Silva
2012 May 31 6:57 AM
Hi, the table BSET stores the accounting line items for which tax code is entered.
In your case, though the tax code is not being passed directly to the BAPI, I feel that the tax codes are being identified based on configurations done for the G/L Account.
Hope this helps.
2012 May 31 9:34 AM
Hello,
Actually I am sending the correct tax codes to the BAPI and it is in fact generating the document items correctly. The only thing wrong in the document are the bset items.
Any ideas?
Thank you.