To get any customer line items at a given period use the BAPI.
CALL FUNCTION 'BAPI_AR_ACC_GETSTATEMENT'
EXPORTING
companycode = p_bukrs
customer = p_kunnr
date_from = so_budat-low "from_date
date_to = so_budat-high "to_date
* NOTEDITEMS = ' '
* IMPORTING
* RETURN =
TABLES
lineitems = i_bapi3007_2 .
No comments:
Post a Comment