SAP ARCHIVE_REMOTE_SELECT_ADMIN Function Module for









ARCHIVE_REMOTE_SELECT_ADMIN is a standard archive remote select admin 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 archive remote select admin FM, simply by entering the name ARCHIVE_REMOTE_SELECT_ADMIN into the relevant SAP transaction such as SE37 or SE38.

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



Function ARCHIVE_REMOTE_SELECT_ADMIN 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 'ARCHIVE_REMOTE_SELECT_ADMIN'"
EXPORTING
* IV_OBJECT = "

IMPORTING
ET_RULES = "
EV_SYSID = "
EV_MANDT = "

TABLES
ET_RUNS = "
ET_FILES = "
* ET_VARIA = "
* ET_SKIP = "
* ET_DAVLNK = "
* ET_TOAV0 = "
* IT_DOC_RANGE = "

EXCEPTIONS
OPEN_ERROR = 1
.



IMPORTING Parameters details for ARCHIVE_REMOTE_SELECT_ADMIN

IV_OBJECT -

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

EXPORTING Parameters details for ARCHIVE_REMOTE_SELECT_ADMIN

ET_RULES -

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

EV_SYSID -

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

EV_MANDT -

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

TABLES Parameters details for ARCHIVE_REMOTE_SELECT_ADMIN

ET_RUNS -

Data type: ADMI_RUN
Optional: No
Call by Reference: Yes

ET_FILES -

Data type: ADMI_FILES
Optional: No
Call by Reference: Yes

ET_VARIA -

Data type: ADMI_VARIA
Optional: Yes
Call by Reference: Yes

ET_SKIP -

Data type: ADMI_SKIP
Optional: Yes
Call by Reference: Yes

ET_DAVLNK -

Data type: ADMI_FILE_DAVLNK
Optional: Yes
Call by Reference: Yes

ET_TOAV0 -

Data type: TOAV0
Optional: Yes
Call by Reference: Yes

IT_DOC_RANGE -

Data type: RNG_RUN
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

OPEN_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ARCHIVE_REMOTE_SELECT_ADMIN 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_et_runs  TYPE STANDARD TABLE OF ADMI_RUN, "   
lv_et_rules  TYPE ADMI_T_FILE_RULES, "   
lv_iv_object  TYPE ARCH_OBJ-OBJECT, "   
lv_open_error  TYPE ARCH_OBJ, "   
lt_et_files  TYPE STANDARD TABLE OF ADMI_FILES, "   
lv_ev_sysid  TYPE RFCDISPLAY-RFCSYSID, "   
lt_et_varia  TYPE STANDARD TABLE OF ADMI_VARIA, "   
lv_ev_mandt  TYPE ADMI_RUN-CLIENT, "   
lt_et_skip  TYPE STANDARD TABLE OF ADMI_SKIP, "   
lt_et_davlnk  TYPE STANDARD TABLE OF ADMI_FILE_DAVLNK, "   
lt_et_toav0  TYPE STANDARD TABLE OF TOAV0, "   
lt_it_doc_range  TYPE STANDARD TABLE OF RNG_RUN. "   

  CALL FUNCTION 'ARCHIVE_REMOTE_SELECT_ADMIN'  "
    EXPORTING
         IV_OBJECT = lv_iv_object
    IMPORTING
         ET_RULES = lv_et_rules
         EV_SYSID = lv_ev_sysid
         EV_MANDT = lv_ev_mandt
    TABLES
         ET_RUNS = lt_et_runs
         ET_FILES = lt_et_files
         ET_VARIA = lt_et_varia
         ET_SKIP = lt_et_skip
         ET_DAVLNK = lt_et_davlnk
         ET_TOAV0 = lt_et_toav0
         IT_DOC_RANGE = lt_it_doc_range
    EXCEPTIONS
        OPEN_ERROR = 1
. " ARCHIVE_REMOTE_SELECT_ADMIN




ABAP code using 7.40 inline data declarations to call FM ARCHIVE_REMOTE_SELECT_ADMIN

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 OBJECT FROM ARCH_OBJ INTO @DATA(ld_iv_object).
 
 
 
"SELECT single RFCSYSID FROM RFCDISPLAY INTO @DATA(ld_ev_sysid).
 
 
"SELECT single CLIENT FROM ADMI_RUN INTO @DATA(ld_ev_mandt).
 
 
 
 
 


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!