10-11-2007 8:12 AM
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.
10-11-2007 12:55 PM
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.