SAP DGEXC_ALE_SAVEREPMUL Function Module for NOTRANSL: Gefahrgutrechtliche Ausnahmen: Replizierte Instanzen sichern
DGEXC_ALE_SAVEREPMUL is a standard dgexc ale saverepmul 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: Gefahrgutrechtliche Ausnahmen: Replizierte Instanzen sichern 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 dgexc ale saverepmul FM, simply by entering the name DGEXC_ALE_SAVEREPMUL into the relevant SAP transaction such as SE37 or SE38.
Function Group: DGEXC_ALE
Program Name: SAPLDGEXC_ALE
Main Program: SAPLDGEXC_ALE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DGEXC_ALE_SAVEREPMUL 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 'DGEXC_ALE_SAVEREPMUL'"NOTRANSL: Gefahrgutrechtliche Ausnahmen: Replizierte Instanzen sichern.
EXPORTING
* I_KEY_DATE = SY-DATUM "Date of Last Change
I_SENDER = "Logical system of sender
* I_DELETE_DATA = "Delete Exception to DG Regulations in Target System
TABLES
X_DGEXCEPT_HEADER = "DG: Parameters for Exceptions to DG Regulations (Header)
* X_DGEXC_CHECKMETHODSX = "Exceptions to DG Reg. (Check Methods): Checkbox Structure
* X_EXTENSIONIN = "Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
* X_UPSLINK = "BAPI Ref. Structure for Ref. Object to Superord. UPS - ADDON
* X_RETURN = "Return Parameter
X_DGEXCEPT_HEADERX = "DG: Exceptions to DG Regulations (Hdr): Checkbox Structure
* X_DGEXC_TEXTS = "DG: Parameters for Exceptions to DG Reg. (Texts and Docs)
* X_DGEXC_TEXTSX = "DG: Excptns to DG Reg. (Texts and Docs): Checkbox Structure
* X_DGEXC_UN_NUMBERS = "DG: Parameter(s) for Excptns to DG Regulations (UN Number)
* X_DGEXC_UN_NUMBERSX = "DG: Excptns to DG Reg. (UN Number): Checkbox Structure
* X_DGEXC_COUNTRIES = "DG: Parameters for Exceptions to DG Regulations (Country)
* X_DGEXC_COUNTRIESX = "DG: Excptns to DG Regulations (Country): Checkbox Structure
* X_DGEXC_CHECKMETHODS = "DG: Parameters for Excptns to DG Regulations (Check Methods)
IMPORTING Parameters details for DGEXC_ALE_SAVEREPMUL
I_KEY_DATE - Date of Last Change
Data type: BAPI_1279_IMPORT_PARAM-KEY_DATEDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SENDER - Logical system of sender
Data type: BAPI_1279_IMPORT_PARAM-SENDEROptional: No
Call by Reference: No ( called with pass by value option)
I_DELETE_DATA - Delete Exception to DG Regulations in Target System
Data type: BAPI_1279_IMPORT_PARAM-DELETE_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for DGEXC_ALE_SAVEREPMUL
X_DGEXCEPT_HEADER - DG: Parameters for Exceptions to DG Regulations (Header)
Data type: BAPI1279_DGEXCEPTOptional: No
Call by Reference: Yes
X_DGEXC_CHECKMETHODSX - Exceptions to DG Reg. (Check Methods): Checkbox Structure
Data type: BAPI1279_DGEXCCHKMETHXOptional: Yes
Call by Reference: Yes
X_EXTENSIONIN - Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
Data type: BAPIPAREXOptional: Yes
Call by Reference: Yes
X_UPSLINK - BAPI Ref. Structure for Ref. Object to Superord. UPS - ADDON
Data type: BAPI_UPSLINK_ADDONOptional: Yes
Call by Reference: Yes
X_RETURN - Return Parameter
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
X_DGEXCEPT_HEADERX - DG: Exceptions to DG Regulations (Hdr): Checkbox Structure
Data type: BAPI1279_DGEXCEPTXOptional: No
Call by Reference: Yes
X_DGEXC_TEXTS - DG: Parameters for Exceptions to DG Reg. (Texts and Docs)
Data type: BAPI1279_DGEXCTEXTSOptional: Yes
Call by Reference: Yes
X_DGEXC_TEXTSX - DG: Excptns to DG Reg. (Texts and Docs): Checkbox Structure
Data type: BAPI1279_DGEXCTEXTSXOptional: Yes
Call by Reference: Yes
X_DGEXC_UN_NUMBERS - DG: Parameter(s) for Excptns to DG Regulations (UN Number)
Data type: BAPI1279_DGEXCUNNOOptional: Yes
Call by Reference: Yes
X_DGEXC_UN_NUMBERSX - DG: Excptns to DG Reg. (UN Number): Checkbox Structure
Data type: BAPI1279_DGEXCUNNOXOptional: Yes
Call by Reference: Yes
X_DGEXC_COUNTRIES - DG: Parameters for Exceptions to DG Regulations (Country)
Data type: BAPI1279_DGEXCCNTRIESOptional: Yes
Call by Reference: Yes
X_DGEXC_COUNTRIESX - DG: Excptns to DG Regulations (Country): Checkbox Structure
Data type: BAPI1279_DGEXCCNTRIESXOptional: Yes
Call by Reference: Yes
X_DGEXC_CHECKMETHODS - DG: Parameters for Excptns to DG Regulations (Check Methods)
Data type: BAPI1279_DGEXCCHKMETHOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for DGEXC_ALE_SAVEREPMUL 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 BAPI_1279_IMPORT_PARAM-KEY_DATE, " SY-DATUM | |||
| lt_x_dgexcept_header | TYPE STANDARD TABLE OF BAPI1279_DGEXCEPT, " | |||
| lt_x_dgexc_checkmethodsx | TYPE STANDARD TABLE OF BAPI1279_DGEXCCHKMETHX, " | |||
| lt_x_extensionin | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lt_x_upslink | TYPE STANDARD TABLE OF BAPI_UPSLINK_ADDON, " | |||
| lt_x_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_i_sender | TYPE BAPI_1279_IMPORT_PARAM-SENDER, " | |||
| lt_x_dgexcept_headerx | TYPE STANDARD TABLE OF BAPI1279_DGEXCEPTX, " | |||
| lv_i_delete_data | TYPE BAPI_1279_IMPORT_PARAM-DELETE_DATA, " | |||
| lt_x_dgexc_texts | TYPE STANDARD TABLE OF BAPI1279_DGEXCTEXTS, " | |||
| lt_x_dgexc_textsx | TYPE STANDARD TABLE OF BAPI1279_DGEXCTEXTSX, " | |||
| lt_x_dgexc_un_numbers | TYPE STANDARD TABLE OF BAPI1279_DGEXCUNNO, " | |||
| lt_x_dgexc_un_numbersx | TYPE STANDARD TABLE OF BAPI1279_DGEXCUNNOX, " | |||
| lt_x_dgexc_countries | TYPE STANDARD TABLE OF BAPI1279_DGEXCCNTRIES, " | |||
| lt_x_dgexc_countriesx | TYPE STANDARD TABLE OF BAPI1279_DGEXCCNTRIESX, " | |||
| lt_x_dgexc_checkmethods | TYPE STANDARD TABLE OF BAPI1279_DGEXCCHKMETH. " |
|   CALL FUNCTION 'DGEXC_ALE_SAVEREPMUL' "NOTRANSL: Gefahrgutrechtliche Ausnahmen: Replizierte Instanzen sichern |
| EXPORTING | ||
| I_KEY_DATE | = lv_i_key_date | |
| I_SENDER | = lv_i_sender | |
| I_DELETE_DATA | = lv_i_delete_data | |
| TABLES | ||
| X_DGEXCEPT_HEADER | = lt_x_dgexcept_header | |
| X_DGEXC_CHECKMETHODSX | = lt_x_dgexc_checkmethodsx | |
| X_EXTENSIONIN | = lt_x_extensionin | |
| X_UPSLINK | = lt_x_upslink | |
| X_RETURN | = lt_x_return | |
| X_DGEXCEPT_HEADERX | = lt_x_dgexcept_headerx | |
| X_DGEXC_TEXTS | = lt_x_dgexc_texts | |
| X_DGEXC_TEXTSX | = lt_x_dgexc_textsx | |
| X_DGEXC_UN_NUMBERS | = lt_x_dgexc_un_numbers | |
| X_DGEXC_UN_NUMBERSX | = lt_x_dgexc_un_numbersx | |
| X_DGEXC_COUNTRIES | = lt_x_dgexc_countries | |
| X_DGEXC_COUNTRIESX | = lt_x_dgexc_countriesx | |
| X_DGEXC_CHECKMETHODS | = lt_x_dgexc_checkmethods | |
| . " DGEXC_ALE_SAVEREPMUL | ||
ABAP code using 7.40 inline data declarations to call FM DGEXC_ALE_SAVEREPMUL
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 KEY_DATE FROM BAPI_1279_IMPORT_PARAM INTO @DATA(ld_i_key_date). | ||||
| DATA(ld_i_key_date) | = SY-DATUM. | |||
| "SELECT single SENDER FROM BAPI_1279_IMPORT_PARAM INTO @DATA(ld_i_sender). | ||||
| "SELECT single DELETE_DATA FROM BAPI_1279_IMPORT_PARAM INTO @DATA(ld_i_delete_data). | ||||
Search for further information about these or an SAP related objects