SAP IUUC_IMIG_SYST_REMOTE Function Module for get system data from remote system









IUUC_IMIG_SYST_REMOTE is a standard iuuc 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 system data from remote 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 iuuc imig syst remote FM, simply by entering the name IUUC_IMIG_SYST_REMOTE into the relevant SAP transaction such as SE37 or SE38.

Function Group: IUUC_IMIG
Program Name: SAPLIUUC_IMIG
Main Program: SAPLIUUC_IMIG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function IUUC_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 'IUUC_IMIG_SYST_REMOTE'"get system data from remote system
IMPORTING
DEST_DBSYS = "R/3 System, Name of Central Database System
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 IUUC_IMIG_SYST_REMOTE

DEST_DBSYS - R/3 System, Name of Central Database System

Data type: SY-DBSYS
Optional: No
Call by Reference: No ( called with pass by value option)

DEST_SAPRL - R/3 System, system release

Data type: SY-SAPRL
Optional: No
Call by Reference: No ( called with pass by value option)

DEST_KERN_REL - Line with 80 characters

Data type: THLINES-THLINE
Optional: No
Call by Reference: No ( called with pass by value option)

DIR_IMIG - File including path

Data type: TSTRF01-FILE
Optional: No
Call by Reference: No ( called with pass by value option)

DIR_EXPO - File including path

Data type: TSTRF01-FILE
Optional: No
Call by Reference: No ( called with pass by value option)

DIR_BAS - File including path

Data type: TSTRF01-FILE
Optional: No
Call by Reference: No ( called with pass by value option)

MIGDEST - Logical Destination (Specified in Function Call)

Data type: RFCDES-RFCDEST
Optional: No
Call by Reference: No ( called with pass by value option)

SYSTEM_IS_UNICODE - DD: truth value

Data type: DDREFSTRUC-BOOL
Optional: No
Call by Reference: No ( called with pass by value option)

DEST_OPSYS - R/3 System, Operating System of Application Server

Data type: SY-OPSYS
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

RELEASE_CHECK_ERROR - RELEASE_CHECK_ERROR

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for IUUC_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_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 'IUUC_IMIG_SYST_REMOTE'  "get system data from remote system
    IMPORTING
         DEST_DBSYS = lv_dest_dbsys
         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
. " IUUC_IMIG_SYST_REMOTE




ABAP code using 7.40 inline data declarations to call FM IUUC_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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!