on 10-13-2009 5:53 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.