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

By Kiruthika P, L & T Infotech

Introduction

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, which in turn reduces the complexity of using OVS in Webdynpro Component. In this way, it is possible to improve the performance and execution speed of the application.

Objective

To populate value (F4) help for an input field in Webdynpro ABAP based on value selected from value help of another field.

Steps

In this application, User has to get possible values of Item Number of purchase Document (EBELP) field in F4 help based on the selected value of Purchase Document Number(EBELN) .

1. Create one Webdynpro Component

Go to SE80 -> Create Webdynpro component.

 Give name of Webdynpro component and click Display Icon.

Then it will show one pop up message to create the component.

Click Yes.

2.Create the component with view and window.

Give the description for Webdynpro component.

3. Save the component in local object or package.

4. Create a custom Dictionary search help which should be binded to input fields.

Go to SE11 -> Select Search help -> Give name ->Create

Select Elementary Search help

 Click Continue to proceed the creation of custom search help.

 Give description of Search help.

 Give required fields for which F4 help is needed in Webdynpro Application.

We have to create a custom search help for Item Number of purchase Document (EBELP) field   and Purchase Document Number (EBELN) field.

Then Enter fields EBELN, EBELP, TXZ01 and enter the table name EKPO.

  Then Save and Activate it.

5.Create a custom Structure and add all required fields for which F4 help  shoulb be needed in Webdynpro Screen

Go to SE11 -> Select Datatype->Enter name of structure->Create

Click here to continue...

 

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