Fonction SAP CBRC_CALC_AVG_SAVE - Save Calculated Average Values

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_AVG_CAT CCRCE_AVG_CAT C 2 IC_AVG_CAT-THREE_YAVG X Average Category
I_AVG_DATA_TAB CCRCTT_CALC h 117 Table with Average Values
I_REG ESESLSTID C 10 Regulatory List
I_SCEN CCRCE_SCEN C 10 X Scenario
I_YEAR CCRCE_YEAR N 4 Monitoring Year

Paramètre Reférence Type Long. Description
E_COUNT_INSERT SYDBCNT I 4 Number of Data Records Added
E_COUNT_UPDATE SYDBCNT I 4 Number of Realigned Data Records
E_ERROR_TAB CCRCTT_MSG h 642 Message Table for Application Log
E_FLG_ERROR ESEBOOLE C 1 Error Indicator

Functionality
This function module saves the calculated average values in the tableEHS: Calculated Average (CCRCT_CALC). Before doing so, the systemchecks whether a corresponding entry already exists. If this is thecase, the entry is updated with the new calculated average. Otherwise, anew entry is created.