SAP C14ALE_SUB_DELETE Function Module for Delete Specification from ALE
C14ALE_SUB_DELETE is a standard c14ale sub 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 Delete Specification from 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 c14ale sub delete FM, simply by entering the name C14ALE_SUB_DELETE into the relevant SAP transaction such as SE37 or SE38.
Function Group: C14ALE
Program Name: SAPLC14ALE
Main Program: SAPLC14ALE
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function C14ALE_SUB_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 'C14ALE_SUB_DELETE'"Delete Specification from ALE.
EXPORTING
I_KEY_DATE = "
I_CHANGE_NUMBER = "
I_SENDER = "
* I_CONVERT_KEY = ESP1_TRUE "
TABLES
X_SUB_HEADER_TAB = "
X_PROP_COMPONENT_TAB = "
X_PROP_USAGE_TAB = "
X_PROP_RELIABILITY_TAB = "
X_PROP_SOURCE_TAB = "
X_PROP_FTEXT_TAB = "
X_PROP_TAB07_TAB = "
X_PROP_TAB0B_TAB = "
X_PROP_TAB0D_TAB = "
X_PROP_TAB0F_TAB = "
* X_PROP_PACK_TAB = "EHS: BAPI Structure Packaging Data
X_REFSUBS_TAB = "
* X_PROP_SPROV_TAB = "EHS: BAPI Structure Special Packing Provisions
* X_PROP_CARR_TAB = "EHS: BAPI Structure for Provisions for Carriage
X_EXTENSION1_TAB = "
X_EXTENSION2_TAB = "
I_ALEPOINTER_TAB = "
X_RETURN_TAB = "
X_IDENT_HEADER_TAB = "
X_IDENT_SUBLIST_TAB = "
X_MATJOIN_TAB = "
X_APPLSCP_TAB = "
X_TPLREL_TAB = "
X_PROP_HEADER_TAB = "
X_PROP_VAL_TAB = "
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_SAPLC14ALE_001 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLC14ALE_002 EHS: ALE (Specifications) data filter and transfer of additional data
EXIT_SAPLC14ALE_003 EHS: ALE (Specifications) data filter and transfer of additional data
IMPORTING Parameters details for C14ALE_SUB_DELETE
I_KEY_DATE -
Data type: RCGADDINF-VALDATOptional: No
Call by Reference: No ( called with pass by value option)
I_CHANGE_NUMBER -
Data type: RCGADDINF-AENNROptional: No
Call by Reference: No ( called with pass by value option)
I_SENDER -
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)
TABLES Parameters details for C14ALE_SUB_DELETE
X_SUB_HEADER_TAB -
Data type: BAPI1077RHOptional: No
Call by Reference: No ( called with pass by value option)
X_PROP_COMPONENT_TAB -
Data type: BAPI1077VPOptional: No
Call by Reference: No ( called with pass by value option)
X_PROP_USAGE_TAB -
Data type: BAPI1077DUOptional: No
Call by Reference: No ( called with pass by value option)
X_PROP_RELIABILITY_TAB -
Data type: BAPI1077DROptional: No
Call by Reference: No ( called with pass by value option)
X_PROP_SOURCE_TAB -
Data type: BAPI1077DSOptional: No
Call by Reference: No ( called with pass by value option)
X_PROP_FTEXT_TAB -
Data type: BAPI1077DFOptional: No
Call by Reference: No ( called with pass by value option)
X_PROP_TAB07_TAB -
Data type: BAPI107707Optional: No
Call by Reference: No ( called with pass by value option)
X_PROP_TAB0B_TAB -
Data type: BAPI10770BOptional: No
Call by Reference: No ( called with pass by value option)
X_PROP_TAB0D_TAB -
Data type: BAPI10770DOptional: No
Call by Reference: No ( called with pass by value option)
X_PROP_TAB0F_TAB -
Data type: BAPI10770FOptional: No
Call by Reference: No ( called with pass by value option)
X_PROP_PACK_TAB - EHS: BAPI Structure Packaging Data
Data type: BAPI1077PACKOptional: Yes
Call by Reference: Yes
X_REFSUBS_TAB -
Data type: BAPI1077RROptional: No
Call by Reference: No ( called with pass by value option)
X_PROP_SPROV_TAB - EHS: BAPI Structure Special Packing Provisions
Data type: BAPI1077SPROVOptional: Yes
Call by Reference: Yes
X_PROP_CARR_TAB - EHS: BAPI Structure for Provisions for Carriage
Data type: BAPI1077CARROptional: Yes
Call by Reference: Yes
X_EXTENSION1_TAB -
Data type: BAPISUBEX1Optional: No
Call by Reference: No ( called with pass by value option)
X_EXTENSION2_TAB -
Data type: BAPISUBEX2Optional: No
Call by Reference: No ( called with pass by value option)
I_ALEPOINTER_TAB -
Data type: ESTALEOptional: No
Call by Reference: No ( called with pass by value option)
X_RETURN_TAB -
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
X_IDENT_HEADER_TAB -
Data type: BAPI1077RIOptional: No
Call by Reference: No ( called with pass by value option)
X_IDENT_SUBLIST_TAB -
Data type: BAPI1077RLOptional: No
Call by Reference: No ( called with pass by value option)
X_MATJOIN_TAB -
Data type: BAPI1077MJOptional: No
Call by Reference: No ( called with pass by value option)
X_APPLSCP_TAB -
Data type: BAPI1077APPLSCPOptional: No
Call by Reference: No ( called with pass by value option)
X_TPLREL_TAB -
Data type: BAPI1077TPLRELOptional: No
Call by Reference: No ( called with pass by value option)
X_PROP_HEADER_TAB -
Data type: BAPI1077VHOptional: No
Call by Reference: No ( called with pass by value option)
X_PROP_VAL_TAB -
Data type: BAPI1077VAOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for C14ALE_SUB_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_sub_header_tab | TYPE STANDARD TABLE OF BAPI1077RH, " | |||
| lt_x_prop_component_tab | TYPE STANDARD TABLE OF BAPI1077VP, " | |||
| lt_x_prop_usage_tab | TYPE STANDARD TABLE OF BAPI1077DU, " | |||
| lt_x_prop_reliability_tab | TYPE STANDARD TABLE OF BAPI1077DR, " | |||
| lt_x_prop_source_tab | TYPE STANDARD TABLE OF BAPI1077DS, " | |||
| lt_x_prop_ftext_tab | TYPE STANDARD TABLE OF BAPI1077DF, " | |||
| lt_x_prop_tab07_tab | TYPE STANDARD TABLE OF BAPI107707, " | |||
| lt_x_prop_tab0b_tab | TYPE STANDARD TABLE OF BAPI10770B, " | |||
| lt_x_prop_tab0d_tab | TYPE STANDARD TABLE OF BAPI10770D, " | |||
| lt_x_prop_tab0f_tab | TYPE STANDARD TABLE OF BAPI10770F, " | |||
| lt_x_prop_pack_tab | TYPE STANDARD TABLE OF BAPI1077PACK, " | |||
| lt_x_refsubs_tab | TYPE STANDARD TABLE OF BAPI1077RR, " | |||
| lv_i_change_number | TYPE RCGADDINF-AENNR, " | |||
| lt_x_prop_sprov_tab | TYPE STANDARD TABLE OF BAPI1077SPROV, " | |||
| lt_x_prop_carr_tab | TYPE STANDARD TABLE OF BAPI1077CARR, " | |||
| lt_x_extension1_tab | TYPE STANDARD TABLE OF BAPISUBEX1, " | |||
| lt_x_extension2_tab | TYPE STANDARD TABLE OF BAPISUBEX2, " | |||
| lt_i_alepointer_tab | TYPE STANDARD TABLE OF ESTALE, " | |||
| lt_x_return_tab | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_i_sender | TYPE ESTALE-LOGSYS, " | |||
| lt_x_ident_header_tab | TYPE STANDARD TABLE OF BAPI1077RI, " | |||
| lv_i_convert_key | TYPE ESP1_BOOLEAN, " ESP1_TRUE | |||
| lt_x_ident_sublist_tab | TYPE STANDARD TABLE OF BAPI1077RL, " | |||
| lt_x_matjoin_tab | TYPE STANDARD TABLE OF BAPI1077MJ, " | |||
| lt_x_applscp_tab | TYPE STANDARD TABLE OF BAPI1077APPLSCP, " | |||
| lt_x_tplrel_tab | TYPE STANDARD TABLE OF BAPI1077TPLREL, " | |||
| lt_x_prop_header_tab | TYPE STANDARD TABLE OF BAPI1077VH, " | |||
| lt_x_prop_val_tab | TYPE STANDARD TABLE OF BAPI1077VA. " |
|   CALL FUNCTION 'C14ALE_SUB_DELETE' "Delete Specification from 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 | |
| TABLES | ||
| X_SUB_HEADER_TAB | = lt_x_sub_header_tab | |
| X_PROP_COMPONENT_TAB | = lt_x_prop_component_tab | |
| X_PROP_USAGE_TAB | = lt_x_prop_usage_tab | |
| X_PROP_RELIABILITY_TAB | = lt_x_prop_reliability_tab | |
| X_PROP_SOURCE_TAB | = lt_x_prop_source_tab | |
| X_PROP_FTEXT_TAB | = lt_x_prop_ftext_tab | |
| X_PROP_TAB07_TAB | = lt_x_prop_tab07_tab | |
| X_PROP_TAB0B_TAB | = lt_x_prop_tab0b_tab | |
| X_PROP_TAB0D_TAB | = lt_x_prop_tab0d_tab | |
| X_PROP_TAB0F_TAB | = lt_x_prop_tab0f_tab | |
| X_PROP_PACK_TAB | = lt_x_prop_pack_tab | |
| X_REFSUBS_TAB | = lt_x_refsubs_tab | |
| X_PROP_SPROV_TAB | = lt_x_prop_sprov_tab | |
| X_PROP_CARR_TAB | = lt_x_prop_carr_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 | |
| X_IDENT_HEADER_TAB | = lt_x_ident_header_tab | |
| X_IDENT_SUBLIST_TAB | = lt_x_ident_sublist_tab | |
| X_MATJOIN_TAB | = lt_x_matjoin_tab | |
| X_APPLSCP_TAB | = lt_x_applscp_tab | |
| X_TPLREL_TAB | = lt_x_tplrel_tab | |
| X_PROP_HEADER_TAB | = lt_x_prop_header_tab | |
| X_PROP_VAL_TAB | = lt_x_prop_val_tab | |
| . " C14ALE_SUB_DELETE | ||
ABAP code using 7.40 inline data declarations to call FM C14ALE_SUB_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