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

Bapi: creating line item automatically

Former Member
0 Likes
796

Hi ,

I am using 'BAPI_ACC_DOCUMENT_POST' To post the billing document.

I am populating 1 AR line item and

2 GL line items with vatable and non- vatable amounts.

Now I have a req that i should get one line item automatically for tax amount.

I have tried populating the tax amount in currency structure ( tax_amt ) for GL line item1. but its not working

Can anyone help me out please......

3 REPLIES 3
Read only

Former Member
0 Likes
637

Hi

For updating the Tax amount.You need to populate the structure ACCOUNTTAX in the FM.with full details.

Regrads,

Raghu.

Read only

0 Likes
637

IF I use the tax structure.. then again I need to use one more line item in the currency structure.

which is not preferred here.

The line item for tax should get triggered automatically.

Any body have idea? Please help.

Read only

Former Member
0 Likes
637

Hi!

We are using (in a 4.7 R/3) the AC_DOCUMENT_DIRECT_INPUT for posting FI documents.

You might give it a shot, if you stuck with your FM...

Regards

Tamá