SAP ABAP Data Element TAGE2 (Residence time 2)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       ME0C (Package) Customizing R/3 Purchasing
Basic Data
Data Element TAGE2
Short Description Residence time 2  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type NUM04    
Data Type NUMC   Character string with only digits 
Length 4    
Decimal Places 0    
Output Length 4    
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 Res.time 2 
Medium 15 Resid. time 2 
Long 20 Residence time 2 
Heading ResTm2 
Documentation

Definition

Value in days, specifying the minimum period after which the archiving program may archive a purchasing document for which the deletion indicator has been set.

Examples

You have entered a period of 15 days. The archiving program runs at the end of the month.
In the process, the system checks to see for which documents the deletion indicator has been set for at least 15 days. These documents are archived.

Supplementary Documentation - TAGE2 0001

Use

Two minimum periods (expressed in days) determine which purchasing document items are to be archived.

In the fields Residence time 1 and 2, enter the number of days to be taken into account for archiving.

  • Residence time 1 for items without deletion indicator
    Before the deletion indicator is set for a document item, the system checks whan the relevant item was last changed.
    Changes taken into account include a change in the order quantity and a goods receipt, for example.
    The date of the last change is compared with the current date.
    If no change has taken place within the specified residence time 1, a deletion indicator is set for the item.

  • Residence time 2 for items with deletion indicators
    For document items for which the deletion indicator has been set manually or during the archiving run, the system checks how many days have elapsed since the deletion indicator was set.
    The complete document is not archived until:
    • The deletion indicator has been set for all the items of a document
    • None of the items have been changed within the specified Residence time 2 (i.e. the last change was the setting of the deletion indicator.

      After this, archived documents can be deleted from the database.

Dependencies

You can choose between a one-step and a two-step archiving procedure.
With the one-step procedure, a deletion indicator is set for the items of the purchasing document. In the process, the Residence time 1 is taken into account.
These documents are then archived in the same archiving run.
Residence time 2 is not taken into account.

In the two-step procedure, the deletion indicator is set in a first archiving run, taking the residence time 1 into account. In a second archiving run, the documents are archived taking into account the residence time 2.

Supplementary Documentation - TAGE2 0002

Use

Two minimum periods (expressed in days) determine which purchasing document items are to be archived.

In the fields Residence time 1 and 2, enter the number of days to be taken into account for archiving.

  • Residence time 1 for items without deletion indicator
    Before the deletion indicator is set for a document item, the system checks whan the relevant item was last changed.
    Changes taken into account include a change in the order quantity and a goods receipt, for example.
    The date of the last change is compared with the current date.
    If no change has taken place within the specified residence time 1, a deletion indicator is set for the item.

  • Residence time 2 for items with deletion indicators
    For document items for which the deletion indicator has been set manually or during the archiving run, the system checks how many days have elapsed since the deletion indicator was set.
    The complete document is not archived until:
    • The deletion indicator has been set for all the items of a document
    • None of the items have been changed within the specified Residence time 2 (i.e. the last change was the setting of the deletion indicator.

      After this, archived documents can be deleted from the database.

Dependencies

You can choose between a one-step and a two-step archiving procedure.
With the one-step procedure, a deletion indicator is set for the items of the purchasing document. In the process, the Residence time 1 is taken into account.
These documents are then archived in the same archiving run.
Residence time 2 is not taken into account.

In the two-step procedure, the deletion indicator is set in a first archiving run, taking the residence time 1 into account. In a second archiving run, the documents are archived taking into account the residence time 2.

Supplementary Documentation - TAGE2 0003

Use

Two minimum periods (expressed in days) determine which purchasing document items are to be archived.

In the fields Residence time 1 and 2, enter the number of days to be taken into account for archiving.

  • Residence time 1 for items without deletion indicator
    Before the deletion indicator is set for a document item, the system checks whan the relevant item was last changed.
    Changes taken into account include a change in the order quantity and a goods receipt, for example.
    The date of the last change is compared with the current date.
    If no change has taken place within the specified residence time 1, a deletion indicator is set for the item.

  • Residence time 2 for items with deletion indicators
    For document items for which the deletion indicator has been set manually or during the archiving run, the system checks how many days have elapsed since the deletion indicator was set.
    The complete document is not archived until:
    • The deletion indicator has been set for all the items of a document
    • None of the items have been changed within the specified Residence time 2 (i.e. the last change was the setting of the deletion indicator.

      After this, archived documents can be deleted from the database.

Dependencies

You can choose between a one-step and a two-step archiving procedure.
With the one-step procedure, a deletion indicator is set for the items of the purchasing document. In the process, the Residence time 1 is taken into account.
These documents are then archived in the same archiving run.
Residence time 2 is not taken into account.

In the two-step procedure, the deletion indicator is set in a first archiving run, taking the residence time 1 into account. In a second archiving run, the documents are archived taking into account the residence time 2.

Supplementary Documentation - TAGE2 0004

Use

Two minimum periods (expressed in days) determine which purchasing document items are to be archived.

In the fields Residence time 1 and 2, enter the number of days to be taken into account for archiving.

  • Residence time 1 for items without deletion indicator
    Before the deletion indicator is set for a document item, the system checks whan the relevant item was last changed.
    Changes taken into account include a change in the order quantity and a goods receipt, for example.
    The date of the last change is compared with the current date.
    If no change has taken place within the specified residence time 1, a deletion indicator is set for the item.

  • Residence time 2 for items with deletion indicators
    For document items for which the deletion indicator has been set manually or during the archiving run, the system checks how many days have elapsed since the deletion indicator was set.
    The complete document is not archived until:
    • The deletion indicator has been set for all the items of a document
    • None of the items have been changed within the specified Residence time 2 (i.e. the last change was the setting of the deletion indicator.

      After this, archived documents can be deleted from the database.

Dependencies

You can choose between a one-step and a two-step archiving procedure.
With the one-step procedure, a deletion indicator is set for the items of the purchasing document. In the process, the Residence time 1 is taken into account.
These documents are then archived in the same archiving run.
Residence time 2 is not taken into account.

In the two-step procedure, the deletion indicator is set in a first archiving run, taking the residence time 1 into account. In a second archiving run, the documents are archived taking into account the residence time 2.

History
Last changed by/on SAP  19980218 
SAP Release Created in