Function documentation Deleting Default Values with Procedures Locate the document in its SAP Library structure

Use

You cannot manually delete default values that were set by a procedure. However, you can use another procedure to delete a default value.

Use the following language element to delete default values:

$DEL_DEFAULT ($SELF, <characteristic>, <string>)

Example

Deleting a default value for a numeric characteristic:

Characteristic HEIGHT has a default value that was set by a procedure (refer to Setting Default Values with Procedures).

  1. If characteristic DEL_DEFAULTVALUE has the value 01, this default value is deleted.
  2. You define a procedure with the following source code:
  3. $DEL_DEFAULT ($SELF, HEIGHT, 1.5 * $SELF.WIDTH)

  4. You allocate the procedure to characteristic value 01 of characteristic DEL_DEFAULTVALUE.
  5. If you select value 01 for characteristic DEL_DEFAULTVALUE, the default value for characteristic HEIGHT is deleted.

Prerequisites

The default value you want to delete was set by a procedure.

If the value set by the procedure is not a default value, $DEL_DEFAULT is ignored.

Features

When the default value is deleted, this does not automatically delete other values that were inferred from the default value.

Leaving content frame