on 12-02-2010 10:01 PM
I have an application where there are multiple input fields in the layout. After the user clicks search help for the input field and selects a value, some action has to be performed for each input field. Currently, I am coding the required action in "WDDOMODIFYVIEW" method. This method will be called whenever there is any action on any input field (as its name says), but how can I distinguish on which input field the method is triggered? or How can I know on which field the search help has been triggered?
or I would be happy to implement any other solution if available.
HI Deepak Dakshinadi ,
You can implement OVS in your input field.
In the event ON_OVS you will get the value of the attribute OVS_CONTEXT_ATTRIBUTE which can give you the id of the input field in which OVS is implemented.
I think by using this you can distinguished among your input field and based on which you can do your particular coding.
Check the link for implementing OVS.
http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
and check the forum to get the id of the field of that particular search help triggered.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Deepak Dakshinadi ,
You can implement OVS in your input field.
In the event ON_OVS you will get the value of the attribute OVS_CONTEXT_ATTRIBUTE which can give you the id of the input field in which OVS is implemented.
I think by using this you can distinguished among your input field and based on which you can do your particular coding.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.