As explained previously, screen structures contain all of the fields that are related to and required for displaying and editing the infotype in the user interface. For this reason, data from infotype structures requires conversion into a format suitable for screen structures, and vice versa. This conversion is performed by means of conversion classes .
The assignment of an individual conversion class to the corresponding screen structure is stored in the
Assignment UI Structures and UI Conversion Classes
view (V_T588UICONVCLAS). The entries in this view thereby determine which conversion class will be applied to which screen structure(s). Each entry in this view therefore constitutes a link between a screen structure and its corresponding conversion class. Therefore, an entry in this view is mandatory for every screen structure. If no entry exists in this view for the corresponding screen structure, then that screen structure cannot be used.
To determine which conversion class belongs to a given screen structure, the system refers to view V_T588UICONVCLAS. If no special conversions are required, then the default conversion class,
CL_HRPA_UI_CONVERT_BASIC
, is called. However, a corresponding entry must exist in this table for every screen structure, even when the default conversion class
CL_HRPA_UI_CONVERT_BASIC
is called; otherwise, the screen structure cannot be used.
The following chart summarizes the five fields that, taken together, comprise the structure of the
Assignment UI Structures and UI Conversion Classes
view (V_T588UICONVCLAS).
Field |
Short Description |
---|---|
|
|
|
|
|
|
|
|
|
|
Among these five fields, only the
Name of Screen Structure
field (SNAME) is a key field.
The
Infotype
field (INFTY) denotes the four-digit number assigned to the infotype at hand. When maintaining entries in this view, you must specify in this field the infotype number to which the corresponding screen structure is assigned.
The
Type of Screen Structure
field (STYPE) indicates whether the screen structure at hand is of type
MAIN
or type
LINE
. When maintaining entries here, you must specify the type of screen structure at hand. In the majority of cases,
type
MAIN
will be specified in this field. However, if the screen structure in question is designed to process repeat fields, then
type
LINE
must be specified.
The
ID for Infotype Versions
field (VERSIONID) represents the version of the infotype at hand. When maintaining entries, you must specify in this field the infotype version to which the screen structure is assigned.
Example
The following entries demonstrate examples of infotype versions that could be entered in this field:
06 France
10 United States
99 International
FP France Public Sector
UP United States Public Sector
The
Name of Specific Conversion Class
field (CLSNAME) denotes the name of the conversion class that is assigned to the screen structure at hand. Therefore, in this field, you must specify the conversion class to which the screen structure is assigned. In essence, this field will contain either
CL_HRPA_UI_CONVERT_BASIC
– the default conversion class, which enables a variety of generic functionality, as described in the topic
Conversion Classes
– or a dedicated conversion class of your own.
The following example demonstrates certain entries that could theoretically be found in a customer system in the
Assignment UI Structures and UI Conversion Classes
view (V_T588UICONVCLAS).
|
|
|
|
|
---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|