Fonction SAP BAPI_AR_ACC_GETKEYDATEBALANCE - Customer account balance at a key date

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BALANCESPGLI BAPI3007-BAL_SGLIND C 1 SPACE X Balance per special G/L indicator
COMPANYCODE BAPI3007_1-COMP_CODE C 4 Company code
CUSTOMER BAPI3007_1-CUSTOMER C 10 Customer
KEYDATE BAPI3007-KEY_DATE D 8 Key date
NOTEDITEMS BAPI3007-NTDITMS_RQ C 1 SPACE X Noted items requested

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Return Code

Paramètre Reférence Long. Facultatif Description
KEYBALANCE BAPI3007_3 36 Balance at key date

Functionality
This method supplies a customer's total balance at a given key date.The total balance includes both standard and special general ledgertransactions. If you so wish, noted items can also be included in thisbalance.
The balance is displayed per transaction currency but can can befurther broken down per special general ledger transaction.

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.