‎2008 Oct 21 10:42 AM
Hi Friends,
I am using FM BAPI_ACC_DOCUMENT_POST for uploading data for transaction FB01.
in the BAPI i am passing the currency data to CURRENCYAMOUNT table, but in that table there are 2 fields AMT_DOCCUR ,TAX_AMT
i am passing the total amount to AMT_DOCCUR and Tax Amount to TAX_AMT fields, but after posting the data when i check in the FB01 transaction these amounts are posted in two diffrent GL accounts and that is wrong.
What should i do now?
Regards
Kumar M
‎2008 Oct 21 10:54 AM
Hi
Which document type do u need to post?
If you transfer the amount of tax, the system'll automatically create the tax item: if you don't need it, doesn't transfer that value there.
Max
‎2008 Oct 21 10:57 AM
‎2008 Oct 22 11:53 AM
Hi
Tax items are for whole document not for individual GL lines.
Need to pass tax details in ACCOUNTAX structure, so those will be created in BSET, tax table and not in line item table BSEG.
Say if u have 10 line items.so in your tax line start with 11.and corresponding taxamount pass in currency amount structure with corresponding line no. of tax line, not GL line.
Hope Helpful.
Reply if this is your requirement and need more information.
Edited by: satya salini on Oct 22, 2008 12:54 PM