Fonction SAP BKK_FREE_AMOUNTS_GET_ACCOUNT - Read Allowances for an Account

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACNUM_INT BKK_ACCNT C 10 Internal Account Number for Current Account
I_BKKRS BKK_BKKRS C 4 Bank Area
I_DATE BKK_VVZ_END D 8 X Withdrawal Period End
I_FLG_HISTORY BKK_XFELD C 1 SPACE X Read Allowances from Past
I_MEM_NEW_VRSNO BKK_XFELD C 1 SPACE X Save New Available Balance Series Number in Memory
I_X_ENQ_NEW_VRSNO BKK_XFELD C 1 'X' X Lock New Available Balance Series Number

Paramètre Reférence Type Long. Description
E_BKK42_NTC BKK42_NTC u 103 Master Data for Notices and Allowances
E_RETURN SYST-SUBRC I 4 Return Value, Return Value After ABAP Statements

Paramètre Reférence Long. Facultatif Description
E_T_BKKVRS BKKVRS 78 X Available Balance Series
E_T_BKKVRS_ACT BKKVRS 78 X Available Balance Series

Functionality
The function module reads the allowance amounts for an account. If theI_FLG_HISTORY indicator is not set, the system reads only the allowanceamounts that are currently available, or available in the future.
If the past allowance amount was not adjusted by the payment transaction
, it is updated before the data is output.
If an allowance results from a full amount notice, a special revenueallowance amount (that was created after the notice by balancing) isadded if it has not been fully utilized.

Description
0 = o.k.
1 = Import error
2 = Error during calculation of posting date
3 = No data found
4 = Error in the determination of the withdrawal period for theallowance amount.
5 = Data inconsistencies between BKKNTC and BKKVRS.

Description
If this indicator is set, the current allowance amount and allallowances from the past are read.
If the indicator is not set, only the current and future allowances areread.