SAP Function SAMPLE_INTERFACE_00010860 - Balancing: Bonus Relevance / Bonus Calculation

Parameter Reference Type Length Default Optional Text
I_ACCNUM_INT BKK_ACCNT C 10 Internal Account Number for Current Account
I_BKKRS BKK_BKKRS C 4 Bank Area
I_BUGRENZ TFMBUGRENZ P 12 X Lower Limit for Amount
I_CONDDIF_2 BKK_COND_2 C 3 X 2. Condition Type Differentiation
I_CONDDIF_V1 BKK_CONVAL C 10 X Condition Type Differentiation - Value
I_CONDDIF_V2 BKK_CONVAL C 10 X Condition Type Differentiation - Value
I_CONDIF BKK_CONDIF C 3 X 1. Condition Type Differentiation
I_D_AMOUNT01 BKK_AMTMD P 12 X Amount
I_END_DATE SYST-DATUM D 8 X End of Balancing Period
I_END_DATE_I SYST-DATUM D 8 X Date and Time; Current (Application Server) Date
I_IF_CALCULATE_BO BOOLE-BOOLE C 1 ' ' Flag: Calculation or Condition Determination Only
I_START_DATE SYST-DATUM D 8 Start of Balancing Period
I_TAB_COND_IN FIMA_TAB_VTBKOND h 364 X Transfer Structure Cash Flow Calculator for Conditions
I_XSIMULATE BKK_SIM C 1 ' ' Simulation

Parameter Reference Type Length Text
E_NO_BONUS BOOLE-BOOLE C 1 Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
E_RETURN SYST-SUBRC I 4 Return Value, Return Value After ABAP Statements
E_TAB_CALC_RESULT FIMA_TAB_VTBBEWE h 496 Transfer Table for Flows

Parameter Reference Type Length Default Optional Text
C_T_MESG BKKC_T_MESG 0 X Messagetable


If I_IF_CALCULATE_BONUS is initial, this function module is to supportthe condition determination by using the following data:
I_BKKRS *
I_ACCNUM_INT *
I_CONDIF *
I_CONDDIF_V1*
I_CONDDIF_2
I_CONDDIF_V2
I_BUGRENZ
I_START_DATE *
I_END_DATE *
I_END_DATE_I
I_D_AMOUNT01
I_XSIMULATE
Result: The E_NO_BONUS indicator needs to be initial if bonuses are tobe calculated.
If I_IF_CALCULATE_BONUS is set, this function module is to calculatethe bonus by using the following data:
I_BKKRS *
I_ACCNUM_INT *
I_START_DATE *
I_END_DATE *
I_END_DATE_I
I_TAB_COND_IN
I_XSIMULATE
Result: The E_TAB_CALC_RESULT table contains the data records with thecalculated bonuses.
The fields named are all transferred. Fields that are flagged with anasterisk (*) must, however, be taken into account.