SAP CBRC_EHS_DATA_DEL Function Module for NOTRANSL: Löschen der übertragenen EH&S-Daten
CBRC_EHS_DATA_DEL is a standard cbrc ehs data del 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: Löschen der übertragenen EH&S-Daten 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 ehs data del FM, simply by entering the name CBRC_EHS_DATA_DEL into the relevant SAP transaction such as SE37 or SE38.
Function Group: CBRC_EHS
Program Name: SAPLCBRC_EHS
Main Program: SAPLCBRC_EHS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CBRC_EHS_DATA_DEL 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_EHS_DATA_DEL'"NOTRANSL: Löschen der übertragenen EH&S-Daten.
EXPORTING
I_REG_TAB = "Regulatory Lists
IMPORTING
E_NUM_DEL_COMP = "
E_NUM_DEL_REG = "
E_NUM_DEL_SLIMIT = "
E_NUM_DEL_RUN = "
E_ERROR_TAB = "Message Table for Application Log
E_FLG_ERROR = "Error Indicator
IMPORTING Parameters details for CBRC_EHS_DATA_DEL
I_REG_TAB - Regulatory Lists
Data type: CCRCTT_TCG81Optional: No
Call by Reference: Yes
EXPORTING Parameters details for CBRC_EHS_DATA_DEL
E_NUM_DEL_COMP -
Data type: IOptional: No
Call by Reference: Yes
E_NUM_DEL_REG -
Data type: IOptional: No
Call by Reference: Yes
E_NUM_DEL_SLIMIT -
Data type: IOptional: No
Call by Reference: Yes
E_NUM_DEL_RUN -
Data type: IOptional: No
Call by Reference: Yes
E_ERROR_TAB - Message Table for Application Log
Data type: CCRCTT_MSGOptional: No
Call by Reference: Yes
E_FLG_ERROR - Error Indicator
Data type: ESEBOOLEOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for CBRC_EHS_DATA_DEL 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_tab | TYPE CCRCTT_TCG81, " | |||
| lv_e_num_del_comp | TYPE I, " | |||
| lv_e_num_del_reg | TYPE I, " | |||
| lv_e_num_del_slimit | TYPE I, " | |||
| lv_e_num_del_run | TYPE I, " | |||
| lv_e_error_tab | TYPE CCRCTT_MSG, " | |||
| lv_e_flg_error | TYPE ESEBOOLE. " |
|   CALL FUNCTION 'CBRC_EHS_DATA_DEL' "NOTRANSL: Löschen der übertragenen EH&S-Daten |
| EXPORTING | ||
| I_REG_TAB | = lv_i_reg_tab | |
| IMPORTING | ||
| E_NUM_DEL_COMP | = lv_e_num_del_comp | |
| E_NUM_DEL_REG | = lv_e_num_del_reg | |
| E_NUM_DEL_SLIMIT | = lv_e_num_del_slimit | |
| E_NUM_DEL_RUN | = lv_e_num_del_run | |
| E_ERROR_TAB | = lv_e_error_tab | |
| E_FLG_ERROR | = lv_e_flg_error | |
| . " CBRC_EHS_DATA_DEL | ||
ABAP code using 7.40 inline data declarations to call FM CBRC_EHS_DATA_DEL
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.Search for further information about these or an SAP related objects