SAP FDM_MIRR_CLIENT_SETUP Function Module for Set Up Substitute System
FDM_MIRR_CLIENT_SETUP is a standard fdm mirr client setup SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Set Up Substitute System 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 fdm mirr client setup FM, simply by entering the name FDM_MIRR_CLIENT_SETUP into the relevant SAP transaction such as SE37 or SE38.
Function Group: FDM_MIRR_CUSTOMIZING
Program Name: SAPLFDM_MIRR_CUSTOMIZING
Main Program: SAPLFDM_MIRR_CUSTOMIZING
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FDM_MIRR_CLIENT_SETUP 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 'FDM_MIRR_CLIENT_SETUP'"Set Up Substitute System.
EXPORTING
* I_BUKRS_TMPL = 'TMPL' "Company Code
* I_KTOKD_TMPL = 'MIRR' "Customer Account Group
* I_ENQUEUE = "Single-Character Indicator
I_FROMNUMBER = "From Number
I_TONUMBER = "To Number
* I_CHECKPRECOND = 'X' "Single-Character Indicator
CHANGING
C_MIRR_LOG = "Class for Log Handling
EXCEPTIONS
CUSTOMIZING_SETTINGS_FAILED = 1 STAT_LOCKED = 2
IMPORTING Parameters details for FDM_MIRR_CLIENT_SETUP
I_BUKRS_TMPL - Company Code
Data type: BUKRSDefault: 'TMPL'
Optional: Yes
Call by Reference: Yes
I_KTOKD_TMPL - Customer Account Group
Data type: KTOKDDefault: 'MIRR'
Optional: Yes
Call by Reference: Yes
I_ENQUEUE - Single-Character Indicator
Data type: CHAR1Optional: Yes
Call by Reference: Yes
I_FROMNUMBER - From Number
Data type: NRFROMOptional: No
Call by Reference: Yes
I_TONUMBER - To Number
Data type: NRTOOptional: No
Call by Reference: Yes
I_CHECKPRECOND - Single-Character Indicator
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: Yes
CHANGING Parameters details for FDM_MIRR_CLIENT_SETUP
C_MIRR_LOG - Class for Log Handling
Data type: CL_FDM_MIRR_LOGOptional: No
Call by Reference: Yes
EXCEPTIONS details
CUSTOMIZING_SETTINGS_FAILED - Error in Customizing
Data type:Optional: No
Call by Reference: Yes
STAT_LOCKED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FDM_MIRR_CLIENT_SETUP 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_c_mirr_log | TYPE CL_FDM_MIRR_LOG, " | |||
| lv_i_bukrs_tmpl | TYPE BUKRS, " 'TMPL' | |||
| lv_customizing_settings_failed | TYPE BUKRS, " | |||
| lv_stat_locked | TYPE BUKRS, " | |||
| lv_i_ktokd_tmpl | TYPE KTOKD, " 'MIRR' | |||
| lv_i_enqueue | TYPE CHAR1, " | |||
| lv_i_fromnumber | TYPE NRFROM, " | |||
| lv_i_tonumber | TYPE NRTO, " | |||
| lv_i_checkprecond | TYPE CHAR1. " 'X' |
|   CALL FUNCTION 'FDM_MIRR_CLIENT_SETUP' "Set Up Substitute System |
| EXPORTING | ||
| I_BUKRS_TMPL | = lv_i_bukrs_tmpl | |
| I_KTOKD_TMPL | = lv_i_ktokd_tmpl | |
| I_ENQUEUE | = lv_i_enqueue | |
| I_FROMNUMBER | = lv_i_fromnumber | |
| I_TONUMBER | = lv_i_tonumber | |
| I_CHECKPRECOND | = lv_i_checkprecond | |
| CHANGING | ||
| C_MIRR_LOG | = lv_c_mirr_log | |
| EXCEPTIONS | ||
| CUSTOMIZING_SETTINGS_FAILED = 1 | ||
| STAT_LOCKED = 2 | ||
| . " FDM_MIRR_CLIENT_SETUP | ||
ABAP code using 7.40 inline data declarations to call FM FDM_MIRR_CLIENT_SETUP
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.| DATA(ld_i_bukrs_tmpl) | = 'TMPL'. | |||
| DATA(ld_i_ktokd_tmpl) | = 'MIRR'. | |||
| DATA(ld_i_checkprecond) | = 'X'. | |||
Search for further information about these or an SAP related objects