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?