SAP ABAP Data Element AFX_DTE_ANALYZE_MODE (Mode for Analysis Run)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-TS-GMA (Application Component) Generating, Monitoring for Mass Data Archiving Solutions
     AFX_GLOBAL (Package) Archiving Framework: Global Objects
Basic Data
Data Element AFX_DTE_ANALYZE_MODE
Short Description Mode for Analysis Run  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type AFX_ANALYZE_MODE    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Analys.Mod 
Medium 15 Analysis Mode 
Long 20 Analysis Run Mode 
Heading 18 Analysis Run Mode 
Documentation

Definition

You use the analysis mode to control the scope of the data to be processed by the analysis program. The following settings are available:

  • Standard (Selected Acc. To Archive Status and Resubmission Date)

    This mode assumes that meaningful values were entered for the archive status and resubmission date when the new record was created. Consequently, the analysis program only processes the data records for which the following conditions apply:

    1. Archive status = 1 "Cannot Be Archived"

    2. Resubmission date <= Current system date

    If the data record cannot be archived, the system calculates the resubmission date by adding the resubmission period defined in the global archiving control settings to the current date.

    This is the most efficient mode, and therefore the one you should use for productive systems.

  • All (No Restrictions to Selection)

    Your Customizing settings may change over time. You use this mode to update the archive status and resubmission date in all the records in the relevant main table. This also applies for data records with archive status 2 - "Can be Archived".

    The resubmission date is set as follows:

    • The base date for the retention period depends on the specific archiving object. For the archiving object PAYMITEM "Payment Items", for example, this would be the posting date or the release date. If the release date is later than the posting date, the system uses the release date. Otherwise, it uses the posting date.
    • The retention period defined in the Customizing settings for the specific archiving object is then added to this base date.
    • If the resulting date is later than or the same as the current posting date, it is used as the resubmission date.
    • If the resulting date is earlier than the current posting date, the system calculates the resubmission date by adding the resubmission period defined in the global archiving control settings to the current system date.
  • Initial (Only Initial Archive Status and Resubmission Date)

    This mode assumes that the no meaningful values were entered for the archive status and resubmission date when the new record was created. This is always the case if the main table for the object contains fields for the archive status and resubmission date, but these fields were not filled when the new record was created. This happens when the archiving functions have not been delivered or implemented.

    If the archiving functions are being delivered for the first time, you can use this mode to perform a one-time analysis of all the objects and assign them the correct archive status.

    The resubmission date is set as follows:

    • The base date for the retention period depends on the specific archiving object. For the archiving object PAYMITEM 'Payment Items', for example, this would be the posting date or the release date. If the release date is later than the posting date, the system uses the release date. Otherwise, it uses the posting date.
    • The retention period defined in the Customizing settings for the specific archiving object is then added to this base date.
    • If the resulting date is later than or the same as the current posting date, it is used as the resubmission date.
    • If the resulting date is earlier than the current posting date, the system calculates the resubmission date by adding the resubmission period defined in the global archiving control settings to the current system date.
  • Internal Program Logic

If you select this mode, data selection is determined by the logic defined in the corresponding analysis program.

History
Last changed by/on SAP  20110908 
SAP Release Created in 30