Technical Articles
Web Dynpro Selection Screen Variants
Overview
A frequent request from our business users is to simplify selection screen input on often-used reports with a feature similar to the selection screen variants available to SAPgui users.
Though Web Dynpro component WDR_SELECT_OPTIONS doesn’t offer such a feature as standard**, it’s possible to develop not only a custom solution but a reusable one. This multi-part blog series will detail the steps to develop a reusable Web Dynpro component for selection screen variants that can be plugged into any report with little effort.
The component we develop will offer users three familiar options: Get, Delete and Save as Variant.
Let’s get started.
- Part 1: Dictionary Objects
- Part 2: Assistance Class
- Part 3: Component and Controller
- Part 4: Views and Windows
- Part 5: Variants in Action
** Newer component WD_SELECT_OPTIONS_20 does include functionality to save and retrieve select-options values for applications using UI Guidelines 2.0 and above.
Hi Amy,
The blog is amazing.Thank you for such valuable information.I am trying to implement the same code.But facing one issue. In the method mentioned in ONACTION_MENU_ACTION in Part 4 of the series, below piece of code to the open the value help on the VARIANT attribute. Here the method OPEN_VALUE_HELP is not available in the WINDOW_MANAGER. Am i missing something on this? Can you please help with alternate solution to this.
Thanks
Ishita
Hi Ishita,
You must be at a lower release where IF_WD_WINDOW_MANAGER doesn't yet have that method available. Does your system have web dynpro component DEMO_VALUE_HELP_API? Maybe that component can show you alternatives to programmatically opening a search help. You can also create a separate popup window that provides custom behavior to mimic the search help.
Good luck!
Amy
Thanks Amy for the quick reply.The component DEMO_VALUE_HELP_API is not available in my release. Can you help if any SAP Note can be applied to get the required methods.
Thanks
Ishita
Hi Ishita,
The objects missing from your system will require an upgrade. I wasn't able to find in what release the open_value_help method was introduced, but SAP should be able to advise you if you reach out to your SAP contact.
Cheers,
Amy
Thank you Amy, will try to get in touch with the SAP contact.
Thanks Again
Ishita