Use 'BAPI_AP_ACC_GETKEYDATEBALANCE' to get closing balance of a keydate.
CALL FUNCTION 'BAPI_AP_ACC_GETKEYDATEBALANCE'
EXPORTING
companycode = p_bukrs
vendor = p_lifnr
keydate = v_date
* BALANCESPGLI = ' '
* NOTEDITEMS = ' '
* IMPORTING
* RETURN =
TABLES
keybalance = i_bapi3008_3 .
No comments:
Post a Comment