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: 

Question/Problem with BAPI_ACC_DOCUMENT_POST in TAXACCOUNT with TAX_CODE

Former Member
0 Kudos

Hi all:

I've got a problem when I use bapi BAPI_ACC_DOCUMENT_POST.

The vendor accounts with general leader accounts associated are implemented in the position of table ACCOUNTPAYABLE and the general leader accounts go to table GLACCOUNT.

Refering to positions with vendor number I introduce the Special G/L Indicator and after this i execute bapi.

It is said I have to put the TAX_CODE in tabla TAXACCOUNT and the field AMT_BASE in table CURRENCYAMOUNT.

But when I use transaction FB01 to cread fi documents in vendor positions I don't

have obligation to introduce the TAX_CODE and afterwards I look for the document in table bseg. I can watch the field MWSKZ is blank.

Another question : I think I can find the amt_base in currency amount with the function: CALCULATE_TAX_FROM_NET_AMOUNT

Thanks a lot. Points in advance.

1 REPLY 1

Former Member
0 Kudos

I've resolved the question.

It depends of the special gl indicator. If it is 8 or H it doesn't need to be introduced the table taxaccount.