SAP DDIC DEPRECATION ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_DDIC - Flagging of Deprecated Data in Check Tables
This example demonstrates how deprecated data is flagged in check tables.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
This example uses the check table DEMO_DEPR_CHECK for the flagging of deprecated entries. The ABAP program flags the first three table entries as deprecated. The next three table entries are flagged as invalid.
When the ABAP program is executed, the consumer can enable or disable the deprecated data check via the checkbox Check deprecated data. This affects the input check and input help.
If checks on deprecated data are enabled, the following takes place:
A warning occurs if one of the deprecated values is entered. If one of the invalid values is entered, an error message occurs and the entered value is not accepted.
The input help displays valid values and deprecated values only and no invalid values.
If the checkbox Check deprecated data is not selected, no warnings or error messages are produced and the input help displays all entries from the check table DEMO_DEPR_CHECK.