Ansicht
Dokumentation
BKK_ACCNT_GET_HY_BALANCES - Provides Acct Balance and Subject to Final Payment Balance for a Hierarchy
PERFORM Short Reference ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
This function module supplies the amount currently available for an account.
The current account balance, the current subject to final payment balance and the internal limit are used to calculate the amount.
First, the subject to final balance payment is subtracted from the account balance. The difference between the result of the subtraction and the internal limit is the amount currently available.
Example
Current account balance: - 2,000 EUR (credit)
Current subject to final payment balance: - 5,000 EUR (credit)
Internal limit: 10,000 EUR (debit)
Calculation of the actual account balance:
Current acct balance - Current sub.fin.bal. = actual account balance
- 2,000 EUR - - 5,000 EUR = 3,000 EUR (debit)
Calculation of the available amount:
Actual account balance - internal limit = available amount
3,000 EUR - 10,000 EUR = - 7,000 EUR (credit)
Notes
Parameters
E_HY_BALANCEE_HY_COLBAL
I_BKKRSDATE
I_HYDATA
Exceptions
DATABASE_ERRORENQUEUE_ERROR
PARAMETER_ERROR
Function Group
FBKDGeneral Material Data ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Length: 1364 Date: 20240523 Time: 181239 sap01-206 ( 22 ms )