You can manage related data records which are valid in different time periods, in a time-dependent table/view.
You have generated a maintenance dialog for your table/view.
Generate Time-Dependence
Choose the transaction Generate Table Maintenance Dialog (SE54).
Enter the table name.
Set the Generated Objects flag.
Choose Create/Change.
Choose
in the next screen.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:
Choose the transaction Maintain Table View (SM30)
Enter the table name.
Set the No Restrictions flag.
Choose Display or Maintain.
Select one or more rows in the following screen.
Choose Expand <-> Collapse.
The system shows the validity ranges of the selected records.
Restrict time range
To add a time range to a selected data record:
Choose the transaction Maintain Table View (SM30)
Enter the table name.
Set the No Restrictions flag.
Choose Maintain.
Select one or more rows in the following screen.
Choose Restrict.
Enter a limit date in the following Restrict Validity: Input Screen, and choose Confirm.
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.
This procedure replaced the report RPVIEWGN.
The function is not yet available in older customer development systems. For more information, see SAP Note 92394.