SAP CBRC_PRO_DATA_CONDENSE Function Module for NOTRANSL: Customizing: Aggregation der produzierten Mengen
CBRC_PRO_DATA_CONDENSE is a standard cbrc pro 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 produzierten 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 pro data condense FM, simply by entering the name CBRC_PRO_DATA_CONDENSE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CBRC_PRO
Program Name: SAPLCBRC_PRO
Main Program: SAPLCBRC_PRO
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CBRC_PRO_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_PRO_DATA_CONDENSE'"NOTRANSL: Customizing: Aggregation der produzierten Mengen.
EXPORTING
I_REG = "Regulatory list
I_PRPL_DEL_TAB = "Table Type for CCRCT_PR
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 "Indicator: Progress with Tracking
I_FLG_DELTA = "Delta Run
I_PR_TAB = "Confirmed Quantities
I_PR_DEL_TAB = "Table Type for CCRCT_PRPL
I_PRPL_TAB = "Planned Quantities
IMPORTING
E_PR_UPD_TAB = "Table Type for CCRCT_PRPL
E_FLG_ERROR = "Error Indicator
E_PR_INS_TAB = "Table Type for CCRCT_PRPL
E_PR_DEL_TAB = "Table Type for CCRCT_PRPL
E_PR_OLD_UPD_TAB = "Table Type for CCRCT_PRPL
E_PRPL_UPD_TAB = "Table Type for CCRCT_PR
E_PRPL_INS_TAB = "Table Type for CCRCT_PR
E_PRPL_DEL_TAB = "Table Type for CCRCT_PR
E_PRPL_OLD_UPD_TAB = "Table Type for CCRCT_PR
E_ERROR_TAB = "Message Table for Application Log
IMPORTING Parameters details for CBRC_PRO_DATA_CONDENSE
I_REG - Regulatory list
Data type: ESESLSTIDOptional: No
Call by Reference: Yes
I_PRPL_DEL_TAB - Table Type for CCRCT_PR
Data type: CCRCTT_PRPLOptional: 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 - Indicator: Progress with Tracking
Data type: CCRCE_FLG_HISTDefault: TRUE
Optional: Yes
Call by Reference: Yes
I_FLG_DELTA - Delta Run
Data type: CCRCE_FLG_DELTAOptional: No
Call by Reference: Yes
I_PR_TAB - Confirmed Quantities
Data type: CCRCTT_PROptional: No
Call by Reference: Yes
I_PR_DEL_TAB - Table Type for CCRCT_PRPL
Data type: CCRCTT_PROptional: No
Call by Reference: Yes
I_PRPL_TAB - Planned Quantities
Data type: CCRCTT_PRPLOptional: No
Call by Reference: Yes
EXPORTING Parameters details for CBRC_PRO_DATA_CONDENSE
E_PR_UPD_TAB - Table Type for CCRCT_PRPL
Data type: CCRCTT_PROptional: No
Call by Reference: Yes
E_FLG_ERROR - Error Indicator
Data type: ESEBOOLEOptional: No
Call by Reference: Yes
E_PR_INS_TAB - Table Type for CCRCT_PRPL
Data type: CCRCTT_PROptional: No
Call by Reference: Yes
E_PR_DEL_TAB - Table Type for CCRCT_PRPL
Data type: CCRCTT_PROptional: No
Call by Reference: Yes
E_PR_OLD_UPD_TAB - Table Type for CCRCT_PRPL
Data type: CCRCTT_PROptional: No
Call by Reference: Yes
E_PRPL_UPD_TAB - Table Type for CCRCT_PR
Data type: CCRCTT_PRPLOptional: No
Call by Reference: Yes
E_PRPL_INS_TAB - Table Type for CCRCT_PR
Data type: CCRCTT_PRPLOptional: No
Call by Reference: Yes
E_PRPL_DEL_TAB - Table Type for CCRCT_PR
Data type: CCRCTT_PRPLOptional: No
Call by Reference: Yes
E_PRPL_OLD_UPD_TAB - Table Type for CCRCT_PR
Data type: CCRCTT_PRPLOptional: 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_PRO_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_PR, " | |||
| lv_e_flg_error | TYPE ESEBOOLE, " | |||
| lv_i_prpl_del_tab | TYPE CCRCTT_PRPL, " | |||
| lv_i_flg_del_whole_doc | TYPE ESP1_BOOLEAN, " | |||
| lv_i_scen | TYPE CCRCE_SCEN, " | |||
| lv_e_pr_ins_tab | TYPE CCRCTT_PR, " | |||
| lv_i_valfr | TYPE SY-DATUM, " | |||
| lv_e_pr_del_tab | TYPE CCRCTT_PR, " | |||
| lv_i_valto | TYPE SY-DATUM, " | |||
| lv_e_pr_old_upd_tab | TYPE CCRCTT_PR, " | |||
| lv_i_flg_hist | TYPE CCRCE_FLG_HIST, " TRUE | |||
| lv_e_prpl_upd_tab | TYPE CCRCTT_PRPL, " | |||
| lv_i_flg_delta | TYPE CCRCE_FLG_DELTA, " | |||
| lv_e_prpl_ins_tab | TYPE CCRCTT_PRPL, " | |||
| lv_i_pr_tab | TYPE CCRCTT_PR, " | |||
| lv_e_prpl_del_tab | TYPE CCRCTT_PRPL, " | |||
| lv_i_pr_del_tab | TYPE CCRCTT_PR, " | |||
| lv_e_prpl_old_upd_tab | TYPE CCRCTT_PRPL, " | |||
| lv_i_prpl_tab | TYPE CCRCTT_PRPL, " | |||
| lv_e_error_tab | TYPE CCRCTT_MSG. " |
|   CALL FUNCTION 'CBRC_PRO_DATA_CONDENSE' "NOTRANSL: Customizing: Aggregation der produzierten 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_PRO_DATA_CONDENSE | ||
ABAP code using 7.40 inline data declarations to call FM CBRC_PRO_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