Skip to Content

Web Dynpro Selection Screen Variants Part 1: Dictionary Objects

The series Web Dynpro Selection Screen Variants continues with creation of the dictionary objects needed by our Web Dynpro Component.

Part 1: Dictionary Objects

Database Tables

ZWDVARI

Create new transparent table ZWDVARI to store the variant definitions.

Delivery Class A
Data Browser/Table View Editing Display/Maintenance Allowed with Restrictions
Data Class APPL2
Size Category 1

 

Assign search help WD_COMPONENT to field COMPONENT and search help WD_APPL to field APPLICATION. We’ll come back later to assign a new search help to field VARIANT.

ZWDVARICON

Create new transparent table ZWDVARICON to store the content of each variant.

Delivery Class A
Data Browser/Table View Editing Display/Maintenance Allowed with Restrictions
Data Class APPL2
Size Category 1

 

Assign search help WD_COMPONENT to field COMPONENT and search help WD_APPL to field APPLICATION. We’ll come back later to assign a new search help to field VARIANT.

Help View

ZWDVARI_V

Create new read-only help view ZWDVARI_V with the following fields from table ZWDVARI.

Search Help

ZWD_SELOPT_VARIANT_SHLP

Create new elementary search help ZWD_SELOPT_VARIANT_SHLP using help view ZWDVARI_V as its selection method.

Now return to tables ZWDVARI and ZWDVARICON and assign the newly created search help ZWD_SELOPT_VARIANT_SHLP to both these tables’ field VARIANT.

Table Types

ZWDVARI_T

Create new table type ZWDVARI_T using database table ZWDVARI as its line type.

ZWDR_SELECT_OPTIONS_SET

Create new table type ZWDR_SELECT_OPTIONS_SET using interface IF_WD_SELECT_OPTIONS as its referenced type.

Up Next

In Part 2, the series continues with creation of the assistance class.

Be the first to leave a comment
You must be Logged on to comment or reply to a post.