SAP SVRS_REMOTE_MANAGER Function Module for









SVRS_REMOTE_MANAGER is a standard svrs remote manager SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 svrs remote manager FM, simply by entering the name SVRS_REMOTE_MANAGER into the relevant SAP transaction such as SE37 or SE38.

Function Group: SVRX
Program Name: SAPLSVRX
Main Program: SAPLSVRX
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SVRS_REMOTE_MANAGER 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 'SVRS_REMOTE_MANAGER'"
EXPORTING
IV_COMMAND = "
* DATUM = 19930231 "
* SELECT_ALL = "
* VERSNO = '00000' "
* F2_REPORT = ' ' "
* F5_REPORT = ' ' "
* F7_REPORT = ' ' "
* F9_REPORT = ' ' "
* OBJECT_NAME = "
* OBJECT_TYPE = "
* REMOTE = "
IV_TARSYSTEM = "
* SKIP_SCREEN = 'X' "
* DESTINATION = "
* MODE = "
* KORRNUM = "
* LANGU = "
* OBJNAME = "
* OBJTYPE = "
* AUTHOR = "

IMPORTING
E07T_ENTRY = "
OBJECT_NOT_FOUND = "
AUTHOR = "
DATUM = "
KORRNUM = "
ZEIT = "
SYSTEM_NAME = "
VRSD_ENTRY = "
FUNCTION_CODE = "
MOD_DD_EXISTS = "

TABLES
* E07T_OBJ = "
* E07T_VRS = "
* OBJECT_LIST = "
* VERSION_LIST = "
* LVERSNO_LIST = "

EXCEPTIONS
COMMUNICATION_FAILURE = 1 NO_DIRECTORY = 2 NO_ENTRY = 3 NO_ENTRY_FOUND = 4 SYSTEM_FAILURE = 5
.



IMPORTING Parameters details for SVRS_REMOTE_MANAGER

IV_COMMAND -

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

DATUM -

Data type: VRSD-DATUM
Default: 19930231
Optional: Yes
Call by Reference: No ( called with pass by value option)

SELECT_ALL -

Data type: VRSD-VERSMODE
Optional: Yes
Call by Reference: No ( called with pass by value option)

VERSNO -

Data type: VRSD-VERSNO
Default: '00000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

F2_REPORT -

Data type: TRDIR-NAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

F5_REPORT -

Data type: TRDIR-NAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

F7_REPORT -

Data type: TRDIR-NAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

F9_REPORT -

Data type: TRDIR-NAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECT_NAME -

Data type: VRSD-OBJNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECT_TYPE -

Data type: VRSD-OBJTYPE
Optional: Yes
Call by Reference: No ( called with pass by value option)

REMOTE -

Data type: VRSD-VERSMODE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_TARSYSTEM -

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

SKIP_SCREEN -

Data type: VRSD-VERSMODE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

DESTINATION -

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

MODE -

Data type: VRSD-VERSMODE
Optional: Yes
Call by Reference: No ( called with pass by value option)

KORRNUM -

Data type: VRSD-KORRNUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

LANGU -

Data type: E07T-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJNAME -

Data type: VRSD-OBJNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJTYPE -

Data type: VRSD-OBJTYPE
Optional: Yes
Call by Reference: No ( called with pass by value option)

AUTHOR -

Data type: VRSD-AUTHOR
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for SVRS_REMOTE_MANAGER

E07T_ENTRY -

Data type: E07T
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECT_NOT_FOUND -

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

AUTHOR -

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

DATUM -

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

KORRNUM -

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

ZEIT -

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

SYSTEM_NAME -

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

VRSD_ENTRY -

Data type: VRSD
Optional: No
Call by Reference: No ( called with pass by value option)

FUNCTION_CODE -

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

MOD_DD_EXISTS -

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

TABLES Parameters details for SVRS_REMOTE_MANAGER

E07T_OBJ -

Data type: E07T
Optional: Yes
Call by Reference: No ( called with pass by value option)

E07T_VRS -

Data type: E07T
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJECT_LIST -

Data type: VRSD
Optional: Yes
Call by Reference: No ( called with pass by value option)

VERSION_LIST -

Data type: VRSD
Optional: Yes
Call by Reference: No ( called with pass by value option)

LVERSNO_LIST -

Data type: VRSN
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

COMMUNICATION_FAILURE -

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

NO_DIRECTORY -

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

NO_ENTRY -

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

NO_ENTRY_FOUND -

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

SYSTEM_FAILURE -

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

Copy and paste ABAP code example for SVRS_REMOTE_MANAGER 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:
lt_e07t_obj  TYPE STANDARD TABLE OF E07T, "   
lv_e07t_entry  TYPE E07T, "   
lv_iv_command  TYPE STMSC-COMMAND, "   
lv_communication_failure  TYPE STMSC, "   
lv_datum  TYPE VRSD-DATUM, "   19930231
lv_object_not_found  TYPE VRSD-VERSMODE, "   
lv_select_all  TYPE VRSD-VERSMODE, "   
lv_versno  TYPE VRSD-VERSNO, "   '00000'
lv_f2_report  TYPE TRDIR-NAME, "   SPACE
lv_f5_report  TYPE TRDIR-NAME, "   SPACE
lv_f7_report  TYPE TRDIR-NAME, "   SPACE
lv_f9_report  TYPE TRDIR-NAME, "   SPACE
lv_object_name  TYPE VRSD-OBJNAME, "   
lv_object_type  TYPE VRSD-OBJTYPE, "   
lv_remote  TYPE VRSD-VERSMODE, "   
lv_author  TYPE VRSD-AUTHOR, "   
lt_e07t_vrs  TYPE STANDARD TABLE OF E07T, "   
lv_iv_tarsystem  TYPE TMSCSYS-SYSNAM, "   
lv_no_directory  TYPE TMSCSYS, "   
lv_skip_screen  TYPE VRSD-VERSMODE, "   'X'
lv_datum  TYPE VRSD-DATUM, "   
lv_no_entry  TYPE VRSD, "   
lv_destination  TYPE RFCDES-RFCDEST, "   
lt_object_list  TYPE STANDARD TABLE OF VRSD, "   
lv_mode  TYPE VRSD-VERSMODE, "   
lv_korrnum  TYPE VRSD-KORRNUM, "   
lt_version_list  TYPE STANDARD TABLE OF VRSD, "   
lv_no_entry_found  TYPE VRSD, "   
lv_zeit  TYPE VRSD-ZEIT, "   
lv_korrnum  TYPE VRSD-KORRNUM, "   
lt_lversno_list  TYPE STANDARD TABLE OF VRSN, "   
lv_system_failure  TYPE VRSN, "   
lv_langu  TYPE E07T-LANGU, "   
lv_system_name  TYPE TADIR-SRCSYSTEM, "   
lv_objname  TYPE VRSD-OBJNAME, "   
lv_vrsd_entry  TYPE VRSD, "   
lv_objtype  TYPE VRSD-OBJTYPE, "   
lv_function_code  TYPE VRSDYNPRO-FCODE, "   
lv_author  TYPE VRSD-AUTHOR, "   
lv_mod_dd_exists  TYPE VRSD-VERSMODE. "   

  CALL FUNCTION 'SVRS_REMOTE_MANAGER'  "
    EXPORTING
         IV_COMMAND = lv_iv_command
         DATUM = lv_datum
         SELECT_ALL = lv_select_all
         VERSNO = lv_versno
         F2_REPORT = lv_f2_report
         F5_REPORT = lv_f5_report
         F7_REPORT = lv_f7_report
         F9_REPORT = lv_f9_report
         OBJECT_NAME = lv_object_name
         OBJECT_TYPE = lv_object_type
         REMOTE = lv_remote
         IV_TARSYSTEM = lv_iv_tarsystem
         SKIP_SCREEN = lv_skip_screen
         DESTINATION = lv_destination
         MODE = lv_mode
         KORRNUM = lv_korrnum
         LANGU = lv_langu
         OBJNAME = lv_objname
         OBJTYPE = lv_objtype
         AUTHOR = lv_author
    IMPORTING
         E07T_ENTRY = lv_e07t_entry
         OBJECT_NOT_FOUND = lv_object_not_found
         AUTHOR = lv_author
         DATUM = lv_datum
         KORRNUM = lv_korrnum
         ZEIT = lv_zeit
         SYSTEM_NAME = lv_system_name
         VRSD_ENTRY = lv_vrsd_entry
         FUNCTION_CODE = lv_function_code
         MOD_DD_EXISTS = lv_mod_dd_exists
    TABLES
         E07T_OBJ = lt_e07t_obj
         E07T_VRS = lt_e07t_vrs
         OBJECT_LIST = lt_object_list
         VERSION_LIST = lt_version_list
         LVERSNO_LIST = lt_ltersno_list
    EXCEPTIONS
        COMMUNICATION_FAILURE = 1
        NO_DIRECTORY = 2
        NO_ENTRY = 3
        NO_ENTRY_FOUND = 4
        SYSTEM_FAILURE = 5
. " SVRS_REMOTE_MANAGER




ABAP code using 7.40 inline data declarations to call FM SVRS_REMOTE_MANAGER

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 COMMAND FROM STMSC INTO @DATA(ld_iv_command).
 
 
"SELECT single DATUM FROM VRSD INTO @DATA(ld_datum).
DATA(ld_datum) = 19930231.
 
"SELECT single VERSMODE FROM VRSD INTO @DATA(ld_object_not_found).
 
"SELECT single VERSMODE FROM VRSD INTO @DATA(ld_select_all).
 
"SELECT single VERSNO FROM VRSD INTO @DATA(ld_versno).
DATA(ld_versno) = '00000'.
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_f2_report).
DATA(ld_f2_report) = ' '.
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_f5_report).
DATA(ld_f5_report) = ' '.
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_f7_report).
DATA(ld_f7_report) = ' '.
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_f9_report).
DATA(ld_f9_report) = ' '.
 
"SELECT single OBJNAME FROM VRSD INTO @DATA(ld_object_name).
 
"SELECT single OBJTYPE FROM VRSD INTO @DATA(ld_object_type).
 
"SELECT single VERSMODE FROM VRSD INTO @DATA(ld_remote).
 
"SELECT single AUTHOR FROM VRSD INTO @DATA(ld_author).
 
 
"SELECT single SYSNAM FROM TMSCSYS INTO @DATA(ld_iv_tarsystem).
 
 
"SELECT single VERSMODE FROM VRSD INTO @DATA(ld_skip_screen).
DATA(ld_skip_screen) = 'X'.
 
"SELECT single DATUM FROM VRSD INTO @DATA(ld_datum).
 
 
"SELECT single RFCDEST FROM RFCDES INTO @DATA(ld_destination).
 
 
"SELECT single VERSMODE FROM VRSD INTO @DATA(ld_mode).
 
"SELECT single KORRNUM FROM VRSD INTO @DATA(ld_korrnum).
 
 
 
"SELECT single ZEIT FROM VRSD INTO @DATA(ld_zeit).
 
"SELECT single KORRNUM FROM VRSD INTO @DATA(ld_korrnum).
 
 
 
"SELECT single LANGU FROM E07T INTO @DATA(ld_langu).
 
"SELECT single SRCSYSTEM FROM TADIR INTO @DATA(ld_system_name).
 
"SELECT single OBJNAME FROM VRSD INTO @DATA(ld_objname).
 
 
"SELECT single OBJTYPE FROM VRSD INTO @DATA(ld_objtype).
 
"SELECT single FCODE FROM VRSDYNPRO INTO @DATA(ld_function_code).
 
"SELECT single AUTHOR FROM VRSD INTO @DATA(ld_author).
 
"SELECT single VERSMODE FROM VRSD INTO @DATA(ld_mod_dd_exists).
 


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!