Application Development and Automation 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: 
Read only

BSET entries through BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
991

Save Our Environment. Save Yourself.

Hi All,

We are using 4.6C. When we are posting FI Docs through BAPI_ACC_DOCUMENT_POST, we are filling the ACCOUNTTAX when the taxcode is V7 (7%) with GL account and all. But when the tax code is V0 (0% tax), we are not giving any entry in ACCOUNTTAX. And hence BSET entries are made for V7 but not for V0.

But when we do postings through FB01, for V0, though we don't enter any separate GL entry for tax line item, it automatically creates BSET entry.

What may be the issue with the bapi? BAPI should perform the same way as the standard t-code works, right? Can anybody please tell me what might be the problem. I checked some notes also, but in vain.

Thanks a lot.

- I'm not an environmentalist. I'm an Earth warrior.

2 REPLIES 2
Read only

Former Member
0 Likes
628

Hi,

Maybe you need to clear all the tables before populaing the next set of data.

please check that.

Regards,

Subramanian

Read only

0 Likes
628

Save Our Environment. Save Yourself.

Hi Subramanian,

We are actually processing this through an inbound interface. So, we won't be changing anything as it is standard. I would like to know, whether any activation of BTE or something else is missing. Or we need to implement any notes?

Or is it mandatory to send a line item through ACCOUNTTAX though the tax code is V0 (0%) with the GL account?

Thanks a lot.

- I'm not an environmentalist. I'm an Earth warrior.