cancel
Showing results for 
Search instead for 
Did you mean: 

Posting the Document using BAPI

Former Member
0 Kudos

Hi All,

We have posted document manually using 'FB01' tranasaction.But we are unable to post document through 'BAPI_ACC_DOCUMENT_POST'.we are getting errors like ''FI/CO interface: Line item entered several times''.can anybody send me the sample code for posting document.

Thank You,

Anupama.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Answered

Former Member
0 Kudos

Hello Anupama,

I am facing same kind of issue. If the of line items are more than 11, then I am getting same error. Please help if you have the answer for it.

Thanks

Smitha

Edited by: Smitha Mathew on Nov 28, 2011 7:51 AM

uygur_burak
Active Contributor
0 Kudos

Hello Anupama,

I think, you can not assign item no to BAPI's tables.

Do you fill itemno_acc field on BAPI's tables? You must augment item number one by one.

Regards,

Burak

Former Member
0 Kudos

Hi,

In the tables passed to the BAPI : accountgl, accountreceivable, accounttax and so on - you need to use a unique item number (position number, field itemno_acc) for each item.

There is a standard SAP report with instruction how to use that BAPI: porgram ACC_BAPI_TEST_DOCUMENT .

good luck

former_member182098
Active Contributor
0 Kudos

Hello,

You may please search ABAP forum or alternatively post in ABAP forum to get better answers.

Functionally, if you are facing any errors, please let me know the error message number.

Regards,

Ravi