Hi!
I use BAPI_ACC_DOCUMENT_CHECK and have 3 tables:
gl_account, py_account and curr_amount.
I have a negative value amount, how to let this FM recognize the negative value amount?
FORM bapi_check .
CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
EXPORTING
DOCUMENTHEADER = bapiache09
TABLES
ACCOUNTGL = gl_account
ACCOUNTPAYABLE = py_account
CURRENCYAMOUNT = curr_amt
RETURN = ret_tab.
ENDFORM. " bapi_check
In the curr_amt table, I have 3 items with the amount:
itemno_acc currency amount "the posting key is 001 RMB 324.14 " 40 002 RMB 6000.00 " 40 003 RMB 6324.14- " 31