To get any vendor line items at a given period use BAPI
'BAPI_AP_ACC_GETSTATEMENT'
.CALL FUNCTION 'BAPI_AP_ACC_GETSTATEMENT'
EXPORTING
companycode = p_bukrs
vendor = p_lifnr "Vendor
date_from = so_budat-low "Date from
date_to = so_budat-high "Date to
* NOTEDITEMS = ' '
* IMPORTING
* RETURN =
TABLES
lineitems = i_bapi3008_2 .
No comments:
Post a Comment