The QPPD standard generation class /SCT/QP_CL_GEN_HDR for the object type HEADER has 2 public methods.

  • SET_VNAME: Generation of the specification name

  • SET_VTEXT: Generation of the specification description in the logon language.

For simple name generation, there are Customizing settings for each specification type and item type for how the name of the specification can be composed (from element values from the node or constants).

In that case, this class can be used directly.

If the Customizing is not sufficient, the SET_VNAME must be redefined.

To be able to generate the specification description, a redefinition is necessary.

The signature of these two method is fixed:

Method SET_VNAME:
VNAME    EXPORTING TYPE /SCT/QP_S_GENER_HDR

Method SET_VTEXT:
VTEXT     EXPORTING TYPE /SCT/QP_S_GENER_HDR

2 fields may be manipulated:

  • VALUE: The specification name or description

  • ORIGIN: A field to indicate the origin of the data content (e.g. manual change, generation method...)

See /SCT/ZQP_CL_DEMO_GEN_HDR