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

Regarding BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
574

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

3 REPLIES 3
Read only

Former Member
0 Likes
531

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

Read only

0 Likes
531

The Document Type is ZA

Read only

0 Likes
531

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