Dynamic population of F4 help in Webdynpro ABAP based on user's selection

...Previous

9. Create a Webdynpro application for the Webdynpro component.

10.  Give name and description for the application.

     

11. Then Save and Activate the entire component.

12. Go to web Dynpro application and then test the application.

Output

      

When user clicks F4 for Purchase Document No field, it shows all possible values

When user selects one particular Purchase Document No e.g.  300000006 and press Ok.

 

Then item corresponding to selected Purchase Document No 300000006 only displays in Item Search help.

Then from this user can select any Item value.

Summary

This article is to populate value (F4) help for an input field in Webdynpro ABAP screen based on value selected from value help of another field. This objective can be achieved without creating any action or event in Webdynpro ABAP by simply using Custom Dictionary Search help and create a custom structure (Zdyn_F4_help_struct) with all required fields. Then attach dictionary search help to the fields in custom structure. Create a Webdynpro component; create a node in the context of type Zdyn_F4_help_struct as per requirement. In this way, it is possible to achieve dynamic F4 help which in turn improve the performance and execution speed of the application.

 

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image