SAP Function BAPI_AR_ACC_GETBALANCEDITEMS - Customer account clearing transactions in a given time period

Parameter Reference Type Length Default Optional Text
COMPANYCODE BAPI3007_1-COMP_CODE C 4 Company code
CUSTOMER BAPI3007_1-CUSTOMER C 10 Customer
DATE_FROM BAPI3007-FROM_DATE D 8 Date from
DATE_TO BAPI3007-TO_DATE D 8 Date to

Parameter Reference Type Length Text
RETURN BAPIRETURN u 452 Return Code

Parameter Reference Length Optional Text
LINEITEMS BAPI3007_2 1162 Line items

Functionality
This method lists the clearing transactions made to a customer accountin a given period. Clearing entries (for example, payments) and theitems that they cleared (for example invoices, credit memos) aredisplayed together.

Description
The return code of the function module is returned in this structure.

Structure Format
TYPE Report type: S Success, E Error, W Warning, I Information
CODE Reporting code
MESSAGE Report text
LOG_NO Application log: Log number
LOG_MSG_NO Application log: Consecutive number of message

Value range
If no error occurs, the return parameter is blank. If not, thecorresponding error messages are output, together with a short text.