SAP DD_DB_IMIG_SYST_REMOTE Function Module for Get Target System Informations
DD_DB_IMIG_SYST_REMOTE is a standard dd db imig syst remote SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get Target System Informations 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 dd db imig syst remote FM, simply by entering the name DD_DB_IMIG_SYST_REMOTE into the relevant SAP transaction such as SE37 or SE38.
Function Group: SDBM
Program Name: SAPLSDBM
Main Program: SAPLSDBM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function DD_DB_IMIG_SYST_REMOTE 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 'DD_DB_IMIG_SYST_REMOTE'"Get Target System Informations.
IMPORTING
DEST_DBSYS = "R/3 System, Name of Central Database System
DEST_CP = "
DEST_SAPRL = "R/3 System, system release
DEST_KERN_REL = "Line with 80 characters
DIR_IMIG = "File Including Path
DIR_EXPO = "File Including Path
DIR_BAS = "File Including Path
MIGDEST = "Logical Destination (Specified in Function Call)
SYSTEM_IS_UNICODE = "DD: truth value
DEST_OPSYS = "R/3 System, Operating System of Application Server
EXCEPTIONS
RELEASE_CHECK_ERROR = 1
EXPORTING Parameters details for DD_DB_IMIG_SYST_REMOTE
DEST_DBSYS - R/3 System, Name of Central Database System
Data type: SY-DBSYSOptional: No
Call by Reference: No ( called with pass by value option)
DEST_CP -
Data type: NUMC4Optional: No
Call by Reference: No ( called with pass by value option)
DEST_SAPRL - R/3 System, system release
Data type: SY-SAPRLOptional: No
Call by Reference: No ( called with pass by value option)
DEST_KERN_REL - Line with 80 characters
Data type: THLINES-THLINEOptional: No
Call by Reference: No ( called with pass by value option)
DIR_IMIG - File Including Path
Data type: TSTRF01-FILEOptional: No
Call by Reference: No ( called with pass by value option)
DIR_EXPO - File Including Path
Data type: TSTRF01-FILEOptional: No
Call by Reference: No ( called with pass by value option)
DIR_BAS - File Including Path
Data type: TSTRF01-FILEOptional: No
Call by Reference: No ( called with pass by value option)
MIGDEST - Logical Destination (Specified in Function Call)
Data type: RFCDES-RFCDESTOptional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_IS_UNICODE - DD: truth value
Data type: DDREFSTRUC-BOOLOptional: No
Call by Reference: No ( called with pass by value option)
DEST_OPSYS - R/3 System, Operating System of Application Server
Data type: SY-OPSYSOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
RELEASE_CHECK_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for DD_DB_IMIG_SYST_REMOTE 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_dest_dbsys | TYPE SY-DBSYS, " | |||
| lv_release_check_error | TYPE SY, " | |||
| lv_dest_cp | TYPE NUMC4, " | |||
| lv_dest_saprl | TYPE SY-SAPRL, " | |||
| lv_dest_kern_rel | TYPE THLINES-THLINE, " | |||
| lv_dir_imig | TYPE TSTRF01-FILE, " | |||
| lv_dir_expo | TYPE TSTRF01-FILE, " | |||
| lv_dir_bas | TYPE TSTRF01-FILE, " | |||
| lv_migdest | TYPE RFCDES-RFCDEST, " | |||
| lv_system_is_unicode | TYPE DDREFSTRUC-BOOL, " | |||
| lv_dest_opsys | TYPE SY-OPSYS. " |
|   CALL FUNCTION 'DD_DB_IMIG_SYST_REMOTE' "Get Target System Informations |
| IMPORTING | ||
| DEST_DBSYS | = lv_dest_dbsys | |
| DEST_CP | = lv_dest_cp | |
| DEST_SAPRL | = lv_dest_saprl | |
| DEST_KERN_REL | = lv_dest_kern_rel | |
| DIR_IMIG | = lv_dir_imig | |
| DIR_EXPO | = lv_dir_expo | |
| DIR_BAS | = lv_dir_bas | |
| MIGDEST | = lv_migdest | |
| SYSTEM_IS_UNICODE | = lv_system_is_unicode | |
| DEST_OPSYS | = lv_dest_opsys | |
| EXCEPTIONS | ||
| RELEASE_CHECK_ERROR = 1 | ||
| . " DD_DB_IMIG_SYST_REMOTE | ||
ABAP code using 7.40 inline data declarations to call FM DD_DB_IMIG_SYST_REMOTE
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 DBSYS FROM SY INTO @DATA(ld_dest_dbsys). | ||||
| "SELECT single SAPRL FROM SY INTO @DATA(ld_dest_saprl). | ||||
| "SELECT single THLINE FROM THLINES INTO @DATA(ld_dest_kern_rel). | ||||
| "SELECT single FILE FROM TSTRF01 INTO @DATA(ld_dir_imig). | ||||
| "SELECT single FILE FROM TSTRF01 INTO @DATA(ld_dir_expo). | ||||
| "SELECT single FILE FROM TSTRF01 INTO @DATA(ld_dir_bas). | ||||
| "SELECT single RFCDEST FROM RFCDES INTO @DATA(ld_migdest). | ||||
| "SELECT single BOOL FROM DDREFSTRUC INTO @DATA(ld_system_is_unicode). | ||||
| "SELECT single OPSYS FROM SY INTO @DATA(ld_dest_opsys). | ||||
Search for further information about these or an SAP related objects