cancel
Showing results for 
Search instead for 
Did you mean: 

How can I click to hande OVS and Search help for Web Dynpro

0 Kudos

Once the F4 help is clicked, the event OVS of IF_WD_VALUE_HELP_FORWARD is triggered.

Here I would like to change the value list of F4 help list, I implemented a class and a method that handle that event.

Since event only has importing parameter, how can I change the exporting paramter?

Thanks

Xin.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

when you click on F4 help, Event OVS is triggered.

now you can define an Event handler for OVS event.

Inside this Event handler , you can change the Value help list.

Inside the event handler there are three different phases to achieve this :

Phase 0 :configuration phase.

Phase 1 :Read values of the original context entered by user in Search Criteria.

Phase 2 : call business logic for a table of possible values.

Phase 3 : apply result.

Refer the SAP Standard Component : Demo_Value_help.

0 Kudos

Hi:

Many thanks to your answer.Here comes some clarification and more question.

What I do is to implement a class to handle the event, because I am not able to change the Web Dynpro Application.

What is the event name and what is the class that defines the event?

Former Member
0 Kudos

Hi,

Is this the standard application. If it so, you can go for enhancement right.

Regards,

Lekha.

0 Kudos

Hi,

it is a GUIBB wd application. Is it possible to enhance it?

if not, I am thinking it to regeister the event OVS of web dynpro WDR_OVS.

But how can i find the class? is it possible?

Former Member
0 Kudos

hi,

1. Go to Methods Tab.

2. Give one name , Method Type : Event handler.

3. In Event , click on F4 and select OVS Event.

Now your event handler is ready and you can code here as per your requriement.

If you are working on Standard Application , Then you can use the Concept of Enhancement Framework and enhance the standard component by making Post-Exit , Pre-Exit and OVerwrite Methods.

-> Click on spiral shaped button which is to the left of Check button in toolbar.

->Give your enhancement name and thus enhance the component.

Former Member
0 Kudos

Hi,

I donot know wether that application can be enhanced or not.....

Have you tried to click on Enhance option or not..

It is not the class that you need to look into. Standard interface - IWCI_WDR_OVS is required.

Regards,

Lekha.

0 Kudos

Hi, Lekha:

I checked in the system, the interface IWCI_WDR_OVS doesn't have an event OVS, it is not visible.

Is there any way to catch the event in general codes?

Former Member
0 Kudos

Is there any way to catch the event in general codes?

to catch the event , you can create event handler in standard application also using Enhancement Framework or you can even enahce the already created event handler.