Show TOC

 Assigning Conversion Classes to Screen Structures

Definition

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.

Use

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.

Structure

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).

V_T588UICONVCLAS Fields

Field

Short Description

SNAME

Name of Screen Structure

INFTY

Infotype

STYPE

Type of Screen Structure

VERSIONID

ID for Infotype Versions

CLSNAME

Name of Specific Conversion Class

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 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

End of the example.

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.

Example

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).

Sample V_T588UICONVCLAS Entries

SNAME

INFTY

STYPE

VERSIONID

CLSNAME

HCMT_BSP_PA_XX_R0001

0001

MAIN

99

CL_HRPA_UI_CONVERT_0001_XX

HCMT_BSP_PA_XX_R0002

0002

MAIN

99

CL_HRPA_UI_CONVERT_0002_XX

HCMT_BSP_PA_US_R0002

0002

MAIN

10

CL_HRPA_UI_CONVERT_0002_US

HCMT_BSP_PA_XX_R0006

0006

MAIN

99

CL_HRPA_UI_CONVERT_BASIC

ZHCMT_BSP_PA_XX_R9001

9001

MAIN

99

ZCL_HRPA_UI_CONVERT_9001_XX

ZHCMT_BSP_PA_XX_R9002

9002

MAIN

99

CL_HRPA_UI_CONVERT_BASIC

HCMT_BSP_PA_XX_R0008_LIN_A

0008

LINE

99

CL_HRPA_UI_CONVERT_0008_XX

HCMT_BSP_PA_US_R0008_LIN_A

0008

LINE

10

CL_HRPA_UI_CONVERT_0008_US