Fonction SAP BAPI_AP_ACC_GETKEYDATEBALANCE - Vendor Account Balance at Key Date

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

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

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

Functionality
This method provides a vendor's total balance on a given key date. Thistotal balance contains 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. If you so wish, thebalance can be broken down further per special general ledgertransaction.

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.