This How To describes the Customizing steps for creating an object type for displaying data in HTML form.

Prerequisite: Technical object "HTML" is defined

/SCT/QP_CUST → Basic settings → Technical objects for object types

Field

Field content

Tech Obj.

HTML

Object Designation.

Texte

Object types Classes

/SCT/QP_CL_HTML

ViewKlasse

/SCT/QP_CL_HTML_VIEW

View Report

/SCT/SAPLQP_OBJTYP_VIEW

View Dynpro

5000

Define object type

/SCT/QP_CUST → Object types

Field

Field content

Object type

<arbitrary>

Object type Text

<arbitrary>

Use object type

as a tab

Technical type

PRN

Tech Obj

HTML

In the standard system, an image and a predefined text are output using constants.

image-20240606-062846.png

To adapt the output according to your ideas, the coding in the method get_html must be adapted accordingly.

image-20240606-062902.png

You can then assign this object category to a specification type or item type.