SAP CBRC_CON_DATA_CONDENSE Function Module for NOTRANSL: Customizing: Aggregation der konsumierten Mengen
CBRC_CON_DATA_CONDENSE is a standard cbrc con data condense SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Customizing: Aggregation der konsumierten Mengen processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for cbrc con data condense FM, simply by entering the name CBRC_CON_DATA_CONDENSE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CBRC_CON
Program Name: SAPLCBRC_CON
Main Program: SAPLCBRC_CON
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CBRC_CON_DATA_CONDENSE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'CBRC_CON_DATA_CONDENSE'"NOTRANSL: Customizing: Aggregation der konsumierten Mengen.
EXPORTING
I_REG = "Regulatory List
I_PRPL_DEL_TAB = "
I_FLG_DEL_WHOLE_DOC = "
* I_SCEN = "Scenario
* I_VALFR = "Start Date of Current Tracking Period
* I_VALTO = "End Date of Current Tracking Period
* I_FLG_HIST = TRUE "
I_FLG_DELTA = "
I_PR_TAB = "Confirmed Quantities
I_PR_DEL_TAB = "
I_PRPL_TAB = "Planned Quantities
IMPORTING
E_PR_UPD_TAB = "
E_FLG_ERROR = "Error Indicator
E_PR_INS_TAB = "
E_PR_DEL_TAB = "
E_PR_OLD_UPD_TAB = "
E_PRPL_UPD_TAB = "
E_PRPL_INS_TAB = "
E_PRPL_DEL_TAB = "
E_PRPL_OLD_UPD_TAB = "
E_ERROR_TAB = "Message Table for Application Log
IMPORTING Parameters details for CBRC_CON_DATA_CONDENSE
I_REG - Regulatory List
Data type: ESESLSTIDOptional: No
Call by Reference: Yes
I_PRPL_DEL_TAB -
Data type: CCRCTT_COPLOptional: No
Call by Reference: Yes
I_FLG_DEL_WHOLE_DOC -
Data type: ESP1_BOOLEANOptional: No
Call by Reference: Yes
I_SCEN - Scenario
Data type: CCRCE_SCENOptional: Yes
Call by Reference: Yes
I_VALFR - Start Date of Current Tracking Period
Data type: SY-DATUMOptional: Yes
Call by Reference: Yes
I_VALTO - End Date of Current Tracking Period
Data type: SY-DATUMOptional: Yes
Call by Reference: Yes
I_FLG_HIST -
Data type: CCRCE_FLG_HISTDefault: TRUE
Optional: Yes
Call by Reference: Yes
I_FLG_DELTA -
Data type: CCRCE_FLG_DELTAOptional: No
Call by Reference: Yes
I_PR_TAB - Confirmed Quantities
Data type: CCRCTT_COOptional: No
Call by Reference: Yes
I_PR_DEL_TAB -
Data type: CCRCTT_COOptional: No
Call by Reference: Yes
I_PRPL_TAB - Planned Quantities
Data type: CCRCTT_COPLOptional: No
Call by Reference: Yes
EXPORTING Parameters details for CBRC_CON_DATA_CONDENSE
E_PR_UPD_TAB -
Data type: CCRCTT_COOptional: No
Call by Reference: Yes
E_FLG_ERROR - Error Indicator
Data type: ESEBOOLEOptional: No
Call by Reference: Yes
E_PR_INS_TAB -
Data type: CCRCTT_COOptional: No
Call by Reference: Yes
E_PR_DEL_TAB -
Data type: CCRCTT_COOptional: No
Call by Reference: Yes
E_PR_OLD_UPD_TAB -
Data type: CCRCTT_COOptional: No
Call by Reference: Yes
E_PRPL_UPD_TAB -
Data type: CCRCTT_COPLOptional: No
Call by Reference: Yes
E_PRPL_INS_TAB -
Data type: CCRCTT_COPLOptional: No
Call by Reference: Yes
E_PRPL_DEL_TAB -
Data type: CCRCTT_COPLOptional: No
Call by Reference: Yes
E_PRPL_OLD_UPD_TAB -
Data type: CCRCTT_COPLOptional: No
Call by Reference: Yes
E_ERROR_TAB - Message Table for Application Log
Data type: CCRCTT_MSGOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for CBRC_CON_DATA_CONDENSE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_reg | TYPE ESESLSTID, " | |||
| lv_e_pr_upd_tab | TYPE CCRCTT_CO, " | |||
| lv_e_flg_error | TYPE ESEBOOLE, " | |||
| lv_i_prpl_del_tab | TYPE CCRCTT_COPL, " | |||
| lv_i_flg_del_whole_doc | TYPE ESP1_BOOLEAN, " | |||
| lv_i_scen | TYPE CCRCE_SCEN, " | |||
| lv_e_pr_ins_tab | TYPE CCRCTT_CO, " | |||
| lv_i_valfr | TYPE SY-DATUM, " | |||
| lv_e_pr_del_tab | TYPE CCRCTT_CO, " | |||
| lv_i_valto | TYPE SY-DATUM, " | |||
| lv_e_pr_old_upd_tab | TYPE CCRCTT_CO, " | |||
| lv_i_flg_hist | TYPE CCRCE_FLG_HIST, " TRUE | |||
| lv_e_prpl_upd_tab | TYPE CCRCTT_COPL, " | |||
| lv_i_flg_delta | TYPE CCRCE_FLG_DELTA, " | |||
| lv_e_prpl_ins_tab | TYPE CCRCTT_COPL, " | |||
| lv_i_pr_tab | TYPE CCRCTT_CO, " | |||
| lv_e_prpl_del_tab | TYPE CCRCTT_COPL, " | |||
| lv_i_pr_del_tab | TYPE CCRCTT_CO, " | |||
| lv_e_prpl_old_upd_tab | TYPE CCRCTT_COPL, " | |||
| lv_i_prpl_tab | TYPE CCRCTT_COPL, " | |||
| lv_e_error_tab | TYPE CCRCTT_MSG. " |
|   CALL FUNCTION 'CBRC_CON_DATA_CONDENSE' "NOTRANSL: Customizing: Aggregation der konsumierten Mengen |
| EXPORTING | ||
| I_REG | = lv_i_reg | |
| I_PRPL_DEL_TAB | = lv_i_prpl_del_tab | |
| I_FLG_DEL_WHOLE_DOC | = lv_i_flg_del_whole_doc | |
| I_SCEN | = lv_i_scen | |
| I_VALFR | = lv_i_valfr | |
| I_VALTO | = lv_i_valto | |
| I_FLG_HIST | = lv_i_flg_hist | |
| I_FLG_DELTA | = lv_i_flg_delta | |
| I_PR_TAB | = lv_i_pr_tab | |
| I_PR_DEL_TAB | = lv_i_pr_del_tab | |
| I_PRPL_TAB | = lv_i_prpl_tab | |
| IMPORTING | ||
| E_PR_UPD_TAB | = lv_e_pr_upd_tab | |
| E_FLG_ERROR | = lv_e_flg_error | |
| E_PR_INS_TAB | = lv_e_pr_ins_tab | |
| E_PR_DEL_TAB | = lv_e_pr_del_tab | |
| E_PR_OLD_UPD_TAB | = lv_e_pr_old_upd_tab | |
| E_PRPL_UPD_TAB | = lv_e_prpl_upd_tab | |
| E_PRPL_INS_TAB | = lv_e_prpl_ins_tab | |
| E_PRPL_DEL_TAB | = lv_e_prpl_del_tab | |
| E_PRPL_OLD_UPD_TAB | = lv_e_prpl_old_upd_tab | |
| E_ERROR_TAB | = lv_e_error_tab | |
| . " CBRC_CON_DATA_CONDENSE | ||
ABAP code using 7.40 inline data declarations to call FM CBRC_CON_DATA_CONDENSE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single DATUM FROM SY INTO @DATA(ld_i_valfr). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_valto). | ||||
| DATA(ld_i_flg_hist) | = TRUE. | |||
Search for further information about these or an SAP related objects