/SAPSLL/CL_CORE_DATE_INTACT - SLL: Date-Dependent Tables - User IA

General Material Data   ABAP Short Reference  
This documentation is copyright by SAP AG.

Functionality

Class /sapsll/cl_core_date_intact helps simplify the handling of records from date-dependent tables.

It has an impact on application data with

  • Time intervals
  • Disjunctive entries for key combinations
  • Maximum of 9 key fields + date
  • Valid-to date as key field, valid-from date in data part

This reusable function ensures that

  • No overlapping entries exist in the database or are created
  • When old and new records are compared, the new records always have priority
  • Old entries can be modified or deleted as necessary
  • The following consistency checks can be performed:
  1. Inbound/outbound data: ,,Does the validity start date lie before the end date?
  2. Inbound data: ,,,,,,Is the date format valid?
  • A log is output
  • Entries are aggregated in case of
  1. Identical key combination
  2. Identical data part
  3. Directly adjacent
  4. Constructors:
  • IV_TABLENAME
  • Name of the table to process

  • IV_MANDT
  • Field name of the client field in the table

  • IV_FIELDNAME_DATEKEY
  • Field name of the date field in the key

  • IV_FIELDNAME_DATEDAT
  • Field name of the "Valid-from" date

Relationships

Example

Notes

Further information



SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.


Length: 1974 Date: 20120526 Time: 072233     triton ( 42 ms )