SAP C14ALR_REP_DELETE Function Module for NOTRANSL: EHS: Löschen von Berichtsdaten mittels ALE
C14ALR_REP_DELETE is a standard c14alr rep delete 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: EHS: Löschen von Berichtsdaten mittels ALE 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 c14alr rep delete FM, simply by entering the name C14ALR_REP_DELETE into the relevant SAP transaction such as SE37 or SE38.
Function Group: C14ALR
Program Name: SAPLC14ALR
Main Program: SAPLC14ALR
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function C14ALR_REP_DELETE 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 'C14ALR_REP_DELETE'"NOTRANSL: EHS: Löschen von Berichtsdaten mittels ALE.
EXPORTING
I_KEY_DATE = "Selection Date
I_CHANGE_NUMBER = "Change Number
I_SENDER = "Logical Sending System
* I_CONVERT_KEY = ESP1_TRUE "
I_MULTLANGU_PARAMS = "
TABLES
X_REP_HEADER_TAB = "
X_REP_SUBJOIN_TAB = "
X_EXTENSION1_TAB = "Additional table 1 for user exits
X_EXTENSION2_TAB = "Additional table 2 for user exits
I_ALEPOINTER_TAB = "ALE pointer table
X_RETURN_TAB = "Messages from processing
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLC14ALR_006 EHS: ALE (Reports) Replicate Parameter Filtering at Sender
EXIT_SAPLC14ALR_007 DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING Parameters details for C14ALR_REP_DELETE
I_KEY_DATE - Selection Date
Data type: RCGADDINF-VALDATOptional: No
Call by Reference: No ( called with pass by value option)
I_CHANGE_NUMBER - Change Number
Data type: RCGADDINF-AENNROptional: No
Call by Reference: No ( called with pass by value option)
I_SENDER - Logical Sending System
Data type: ESTALE-LOGSYSOptional: No
Call by Reference: No ( called with pass by value option)
I_CONVERT_KEY -
Data type: ESP1_BOOLEANDefault: ESP1_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MULTLANGU_PARAMS -
Data type: EHSLSADMOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for C14ALR_REP_DELETE
X_REP_HEADER_TAB -
Data type: BAPI1092DHOptional: No
Call by Reference: No ( called with pass by value option)
X_REP_SUBJOIN_TAB -
Data type: BAPI1092DJOptional: No
Call by Reference: No ( called with pass by value option)
X_EXTENSION1_TAB - Additional table 1 for user exits
Data type: BAPIREPEX1Optional: No
Call by Reference: No ( called with pass by value option)
X_EXTENSION2_TAB - Additional table 2 for user exits
Data type: BAPIREPEX2Optional: No
Call by Reference: No ( called with pass by value option)
I_ALEPOINTER_TAB - ALE pointer table
Data type: ESTALEOptional: No
Call by Reference: No ( called with pass by value option)
X_RETURN_TAB - Messages from processing
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for C14ALR_REP_DELETE 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_key_date | TYPE RCGADDINF-VALDAT, " | |||
| lt_x_rep_header_tab | TYPE STANDARD TABLE OF BAPI1092DH, " | |||
| lv_i_change_number | TYPE RCGADDINF-AENNR, " | |||
| lt_x_rep_subjoin_tab | TYPE STANDARD TABLE OF BAPI1092DJ, " | |||
| lv_i_sender | TYPE ESTALE-LOGSYS, " | |||
| lt_x_extension1_tab | TYPE STANDARD TABLE OF BAPIREPEX1, " | |||
| lv_i_convert_key | TYPE ESP1_BOOLEAN, " ESP1_TRUE | |||
| lt_x_extension2_tab | TYPE STANDARD TABLE OF BAPIREPEX2, " | |||
| lt_i_alepointer_tab | TYPE STANDARD TABLE OF ESTALE, " | |||
| lv_i_multlangu_params | TYPE EHSLSADM, " | |||
| lt_x_return_tab | TYPE STANDARD TABLE OF BAPIRET2. " |
|   CALL FUNCTION 'C14ALR_REP_DELETE' "NOTRANSL: EHS: Löschen von Berichtsdaten mittels ALE |
| EXPORTING | ||
| I_KEY_DATE | = lv_i_key_date | |
| I_CHANGE_NUMBER | = lv_i_change_number | |
| I_SENDER | = lv_i_sender | |
| I_CONVERT_KEY | = lv_i_convert_key | |
| I_MULTLANGU_PARAMS | = lv_i_multlangu_params | |
| TABLES | ||
| X_REP_HEADER_TAB | = lt_x_rep_header_tab | |
| X_REP_SUBJOIN_TAB | = lt_x_rep_subjoin_tab | |
| X_EXTENSION1_TAB | = lt_x_extension1_tab | |
| X_EXTENSION2_TAB | = lt_x_extension2_tab | |
| I_ALEPOINTER_TAB | = lt_i_alepointer_tab | |
| X_RETURN_TAB | = lt_x_return_tab | |
| . " C14ALR_REP_DELETE | ||
ABAP code using 7.40 inline data declarations to call FM C14ALR_REP_DELETE
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 VALDAT FROM RCGADDINF INTO @DATA(ld_i_key_date). | ||||
| "SELECT single AENNR FROM RCGADDINF INTO @DATA(ld_i_change_number). | ||||
| "SELECT single LOGSYS FROM ESTALE INTO @DATA(ld_i_sender). | ||||
| DATA(ld_i_convert_key) | = ESP1_TRUE. | |||
Search for further information about these or an SAP related objects