Ansicht
Dokumentation

BAPI_GL_ACC_GETCURRENTBALANCE - Closing balance of G/L account for current year

BAPI_GL_ACC_GETCURRENTBALANCE - Closing balance of G/L account for current year

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Caution: The method GetCurrentBalance will no longer be supported in future. The functions will be transferred by the GetCurrentBalance method in object type BUS1028 of the general ledger.

If you have already applied this method, convert to the new method with object type BUS1028.

If you are using the method for the first time, use the method with object type BUS1028.

Functionality

This method returns the closing balance of a G/L account for the current fiscal year.
The user can choose whether the balance is returned in the transaction currency or the company code currency. G/L accounts that are managed in different transaction currencies represent exceptions. In the case of such G/L accounts, only the company code currency can be used.

The balance determined by the system and the currency are returned. Any problems that occur are reported in a return code.

Notes

The same authorization checks are made as take place when you display information in any transaction.

There is no conversion for the input parameter COMPANYCODE; this means that leading spaces are not cleared in this parameter. No conversions are performed for parameter GLACCT either. G/L account numbers must be entered with leading zeroes (such as 0000113100).

Messages are returned in parameter RETURN. The documentation on this parameter shows the return values and what they signify.

Further information





Parameters

ACCOUNT_BALANCE
COMPANYCODE
CURRENCYTYPE
GLACCT
RETURN

Exceptions

Function Group

3006

CL_GUI_FRONTEND_SERVICES - Frontend Services   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2072 Date: 20240523 Time: 092703     sap01-206 ( 40 ms )