Skip to Content

This post is part of the series, Web Dynpro Selection Screen Variants.

Part 1: Dictionary Objects

We start by creating the dictionary objects needed by our Web Dynpro Component.

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.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply