Question/Problem with BAPI_ACC_DOCUMENT_POST in TAXACCOUNT with TAX_CODE
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.