BAPI_AR_ACC_GETBALANCEDITEMS - ooxxvv/MySAPnotes GitHub Wiki
BAPI_AR_ACC_GETBALANCEDITEMS
- Customer account clearing transactions in a given time period
- 取得客戶已結清的項目
Code
{{{#!abap DATA: l_companycode LIKE BAPI3007_1-COMP_CODE, l_customer LIKE BAPI3007_1-CUSTOMER, l_date_form LIKE BAPI3007-FROM_DATE, l_date_to LIKE BAPI3007-TO_DATE, lw_return LIKE BAPIRETURN, lt_lineitems LIKE BAPI3007_2 OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'BAPI_AR_ACC_GETBALANCEDITEMS' EXPORTING companycode=l_companycode customer =l_customer date_from =l_date_from date_to =l_date_to IMPORTING RETURN =lw_return TABLES lineitems =lt_lineitems.
}}}