on 05-21-2008 8:23 AM
Hi All,
in my scenario i have two fields Service_grp,Service_dept.
i have to give F4 help for these two fields.(i.e OVS ).
i am getting the values in the Service_grp.Now based on the value in the service_grp ,i have to give the values for Service Department.these two fields are in the same view only.
Regards,
Ravi
The variable ovs_callback_object->context_attribute will tell you on which attribute the F4 help was clicked. So in your OVS handler, have a case statement as follows:
case ovs_callback_object->context_attribute.
when 'SERVICE_GRP'.
when 'SERVICE_DEPT'.
endcase.
While populating the F4 help for the service dept, if you want the service group, just do
ovs_callback_object->context_element->get_static_attributes( ).
This will return you the data in the row that you have pressed F4. Get the service group value and populate your F4 accordingly.
Regards,
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
I have prepared a blog on OVS help in WDA.
It will give you a clear idea about OVS along with the sample code.Refer it.
[OVS Help|/people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap]
It will definitely help you out.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.