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

Example BAPI_ACC_DOCUMENT_POST for a credit memo

Former Member
0 Likes
2,025

I need to check some invoices before I parked them. Please post an example of BAPI_ACC_DOCUMENT_POST but i need to check a credit memo or customer invoice ( Doc Type: DR and DG) This is mi code:

ALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'

EXPORTING

documentheader = ls_docheader

TABLES

accountgl = lt_accglitem

ACCOUNTRECEIVABLE = lt_customer " new

currencyamount = lt_curramnt

return = lt_return.

But when i run the program this error appaer:

" FI/CO Interface: Line Item entered several times RW"

Any idea?

2 REPLIES 2
Read only

Former Member
0 Likes
850

Hi,

Please check this link

[Link|;

Read only

madhu_vadlamani
Active Contributor
0 Likes
850

Hi Carlos,

Check the documentation. Check what and all important fields you have to pass. The error you got is due to data issue.Please post if you need more help in this.

Regards,

Madhu.