Ansicht
Dokumentation

OHAVECM113 - Delete entries that overlap in time

OHAVECM113 - Delete entries that overlap in time

Vendor Master (General Section)   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Due to input errors that may occur when editing time-dependent tables directly, some data records may overlap in time.

During the currency changeover, these overlapping entries may trigger short dumps because two new records are created in an existing record.

If there is already another data record with an end-date identical to the end-date of the new, automatically created record, a short dump will occur when the converted data records are maintained.

Given that the ARRAY-INSERT technique is used for performance reasons, it is difficult to locate the data record containing errors in the short dump.

Conversion for 01.01.2002
Overlapping record in table T511K

MANDT MOLGA KONST ENDDA BEGDA KWERT
------------------------------------------------------
000 17 Z0001 31.12.2001 01.01.1800 100,00
000 17 Z0001 31.12.9999 01.01.1800 110,00

Conversion programs don't take into account the first data record, because it is not affected by the conversion due to its validity period.

The program divides the second record and converts the second part period. It deletes the second original record and attempts to overwrite the two lower data records with the new part periods:

MANDT MOLGA KONST ENDDA BEGDA KWERT
------------------------------------------------------
000 17 Z0001 31.12.2001 01.01.1800 100,00 <- Id. key
000 17 Z0001 31.12.2001 01.01.1800 110,00 <- Id. key
000 17 Z0001 31.12.9999 01.01.2002 56,24

But given there is already a record with an identical key, a short dump will occur.

The report RPUOVRLP (Test program to search for entries overlapping in time) lists these entries that overlap in time, grouped by table. Delete these entries.






General Data in Customer Master   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2042 Date: 20240523 Time: 165515     sap01-206 ( 29 ms )