This application was a report and as such, made heavy use of select options (WDR_SELECT_OPTIONS) in order to help filter the results. I was excited to find most all of my standard SAP selection screen features replicated in Web Dynpro. Still, I found one thing lacking: there is no concept of the selection screen variant. It’ll take me a while to get this all out, but I intend to provide specific details to recreate my response to this issue.
Disclaimer: This implementation was built in SAP NetWeaver 7.0 EHP 1 SP3. I expect change and at some point (maybe already) this will become obsolete. So far as I can tell, there is no SAP-provided solution to what I perceive as a big miss.
To complete this task, I referenced two other posts here and here. Both helped a lot. However neither had everything we expected from our selection screen variant.
Functional Requirements
There are a number of expectations from this Web Dynpro Component. Over the next few posts, I’ll be describing my implementation of the following functional requirements:
- Allow multiple uses of a selection screen variant within the same application.
- Allow for multiple “screens” (or instances of IF_WD_SELECT_OPTIONS) to be assigned to a single variant.
- Save selection screen fields into a variant with a specific name, created/modified information.
- Protect a variant for modification only be one user.
- Retrieve existing selection screen variant to repopulate field values.
- Ability to use dynamic date feature found in standard SAP selection screen variants.
- Delete a selected selection screen variant.
- DDIC Changes
- Assistance Class
- WD Component
- Main View
- Get Variant view
- Save Variant view
- Dynamic Dates
- Component Usage in your WD Application
The End Result
The result of this effort is an unobtrusive triplet of buttons that can be located in your Web Dynpro application. This small little feature lends tremendous power to your web reports. And in some cases, it is what your users have come to expect from quality ABAP development.
Enjoy.
Hello, sir i would like to ask that what is the scope of SAP webdynpro ABAP training what all topics
ReplyDeleteshould be covered and has anyone studies from this course
http://www.wiziq.com/course/8153-sap-web-dynpro-pro-abap-training of SAP webdynpro ABAP training ??
or tell me any other guidance…
would really appreciate help… and Also i would like to thank for all the information you are
providing on SAP Webdynpro ABAP training.
Sukaniya - training has been through blogs, examples, and my own research, mostly at SDN. If you're interested, I recently created an SCN project for this development here... https://cw.sdn.sap.com/cw/groups/wd-selection-variant
DeleteHi, the proyect was removed. Could you send me in an email or pass new link?
ReplyDeletethanks
Hi Jeff, the SCN project link doesn't exists anymore.
ReplyDeletehttps://cw.sdn.sap.com/cw/groups/wd-selection-variant
i have tried to develop the Re-usable component and then to, use it in my Web Dynpro report. But in you blog series, you have not shown many steps like few methods, Context elements so on. It is giving error while activating. If you can share the detail development, it will help a lot...