Entering content frameProcedure documentation Generate Time-Dependence Locate the document in its SAP Library structure

Use

You can manage related data records which are valid in different time periods, in a time-dependent table/view.

Prerequisites

You have generated a maintenance dialog for your table/view.

Generate time-dependence

  1. Choose the transaction Generate Table Maintenance Dialog (SE54).
  2. Enter the table name.
  3. Set the Generated Objects flag.
  4. Choose Create/Change.
  5. Choose Environment ® Time-Dep. in the next screen. Generate.

The system adds the functions Expand/Collapse and Restrict to the generated table interface.

Expand/collapse data records

The system displays only the table entries which are valid for the system date. All others are hidden. To display more entries for a data key:

  1. Choose the transaction Maintain Table View (SM30)
  2. Enter the table name.
  3. Set the No Restrictions flag.
  4. Choose Display or Maintain.
  5. Select one or more rows in the following screen.
  6. Choose Expand <-> Collapse.

The system shows the vlidity ranges of the selected records.

Restrict time range

To add a time range to a selected data record:

  1. Choose the transaction Maintain Table View (SM30)
  2. Enter the table name.
  3. Set the No Restrictions flag.
  4. Choose Maintain.
  5. Select one or more rows in the following screen.
  6. Choose Restrict.
  7. Enter a limit date in the following Restrict Validity: Input screen, and choose Confirm.
  8. Enter the data required to create a new data record, in the following screen, and confirm your entries.

The system divides the selected data record according to the limit date.

When you create a new data record which has the same key as an existing data record, the system automatically restricts the validity of the existing data record so that only one entry is valid at a time.

Note

This procedure replaced the report RPVIEWGN.

The function is not yet available in older customer development systems. For further information, see note 92394.

Leaving content frame