Fonction SAP ARCHIVE_ADMIN_POPUP_DOCUMENTS - Dialog Box for Selecting Existing Arcive Files

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DIALOG_TYPE 0 'READ' X File Selection Type
OBJECT ARCH_OBJ-OBJECT C 10 Archiving Object
RADIO_BUTTONS 0 SPACE X Select One Archiving Session Only
RADIO_FILES 0 SPACE X Select Only One Archive File
SHOW_DELETED_RUN 0 SPACE X Show Hidden Sessions
SHOW_FILES 0 'X' X Allow Files to Be Displayed

Paramètre Reférence Long. Facultatif Description
EXTERNAL_FILES ARCHIV_KEY 20 X Tables Transferred with Logical File Names
EXTERNAL_SESSIONS ARCH_SESSN 6 X Table with the Archiving Sessions to Which the Selection Is to Be Restricted
SELECTED_FILES ADMI_FILES 512 X Table with the Selected Files
SELECTED_SESSIONS ARCH_SESSN 6 X Table with the Selected Archiving Sessions

Exception Description
CANCELLED_BY_USER User Has Terminated Dialog
NO_FILES_SELECTED User Did not Choose any Files
OBJECT_NOT_FOUND Unknown Object
UNKNOWN_DIALOG_TYPE Unknown Contents in Parameter DIALOG_TYPE

Functionality
Function module for selecting archiving sessions and archive files foran archiving object.

Example
DATA:
SELECTED_FILES TYPE STANDARD TABLE OF ADMI_FILES
WITH NON-UNIQUE DEFAULT KEY.
...
CALL FUNCTION 'ARCHIVE_ADMIN_POPUP_DOCUMENTS'
EXPORTING
OBJECT = OBJECT
SHOW_DELETED_RUN = ' '
SHOW_FILES = 'X'
DIALOG_TYPE = 'READ'
TABLES
SELECTED_FILES = SELECTED_FILES
EXCEPTIONS
OBJECT_NOT_FOUND = 01
CANCELLED_BY_USER = 02
NO_FILES_SELECTED = 03.
UNKNOWN_DIALOG_TYPE = 04.

Notes
This function module is used internally by Data Archiving.

Description
In this parameter, you specify the data archiving action for whicharchiving sessions or archive files are to be displayed for selection.

Value range

  • 'READ': Read archived data

  • 'RELOAD': Reload archived data into the database

  • 'REMOTE': Transfer ADK administration data to another SAP system

  • 'CONVER': Convert archived data

  • 'DELETE': Delete archived data from the database

  • 'IDXBUI': Create an archive index

  • 'STORE': Store archive files in a storage system

  • 'RETRIE': Retrieve stored archive files into file system

  • 'INTER': Interrupt archiving sessions in the write phase

  • 'CONT': Continue archiving sessions that were interrupted in the
  • write phase
    • 'ALL': Show all available archiving sessions for selection
    • Description
      This parameter ensures that only one archiving run can be selected withradio buttons.
      No single archive files are offered when using radio buttons.

      Value range
      ' ' = use checkboxes
      'X' = use radio buttons

      Default
      ' ' = use checkboxes

      Description
      This parameter controls whether you can use radio buttons to selectonly one archive file.

      Value range
      ' ' = Use check boxes
      'X' = Use radio buttons

      Default
      ' ' = Use check boxes

      Notes
      This parameter has no meaning for the values 'RELOAD', 'REMOTE','CONVER', 'IDXBUI', 'INTER', and 'CONT' in the parameter
      DIALOG_TYPE, since in these actions, archiving sessions can only beprocessed in their entirety. Also, if the parameter SHOW_FILESis initial or the parameter RADIO_BUTTONS is not initial whenit is transferred, the value of RADIO_FILES is not considered.

      Description
      This parameter controls whether archiving sessions that are marked forarchiving are to be offered for selection. Depending on the valueentered here, the parameter controls the selection of the data that isoffered in the dialog box.

      Default
      SHOW_DELETED_RUN = ' '.

      Description
      This parameter controls whether the archive files can be selected anddisplayed individually.

      Value range

      • SPACE means that only archiving sessions are displayed for selection.

      • 'X' means that individual archive files are displayed for selection.
      • Notes
        This parameter has no meaning for values 'RELOAD', 'REMOTE', 'CONVER','IDXBUI', 'INTER' and 'CONT' in the parameter DIALOG_TYPE,since in these actions, archiving sessions can only be processed intheir entirety. Also, if the parameter RADIO_BUTTONS is notinitial when it is transferred, the value of SHOW_FILES is notconsidered.

        Description
        This table enables you to restrict the number of archiving sessions andarchive files for selection.
        If the table is transferred empty, all archiving sessions and archivingfiles are selected. Otherwise, the display is restricted according tothe archive file key in the table.

        Description
        This table enables you to restrict the number of archiving sessions andarchive files for selection.
        If the table is transferred empty, all archiving sessions and archivefiles are displayed for selection. Otherwise, only archiving sessionsand archive files whose sequential number is contained in the table aredisplayed.

        Description
        This table contains entries from table ADMI_FILES on the archive filesselected by the user.

        Description
        If only archive sessions are offered (and no individual archive files),the numbers of the archiving sessions that are selected by the user arereturned in this table.