2011-05-31

WD Screen Variants – DDIC Changes

overview

<< previous | next >>

The concept of a selection screen variant is something that most SAP users have come to expect, yet this feature is unavailable in standard Web Dynpro.  Below is the next in a series of posts detailing how to bring this necessary feature back to Web Dynpro.  Start here to see the full requirements.

Data Dictionary Changes
First we need a data store. In SE11, create a new table ZES_WDVARI. This table conforms to the specifications of the IMPORT/EXPORT database ABAP command.
ZES_WDVARI

We’ll also need a few additional data dictionary objects:
This structure will be used to hold the content of the data stored into ZES_WDVARI-CLUSTD (raw data) field). 
ZES_VUVVALUES 
This structure includes some additional fields used to display data to the user in the Web Dynpro ALV. 
ZES_VUVVALUES_ALV 
Table type used for class method parameters.
ZES_T_VUVVALUES 
Table of Web Dynpro Select Options will contain a list to all select option screens being considered as part of this variant.
ZES_T_WD_SELECT_OPTIONS

Now that we have the dictionary objects in place, let’s take a look at the development.

overview

<< previous | next >>

No comments:

Post a Comment