on 09-19-2011 7:37 PM
Hi,
I need to have custom search help for field2 based on selected value of field1. Here field1 is parameter and field2 is select-options. here field one is material and field2 is division. Bydefault we are getting the standard search help for Division but needs to be filtered based on the material which is entered by user.
I found few ways, one of it is creating search help and DD and assign that to the field2, we dont want to do that since this custom help will be needed only for this screen, so wants to write the custom logic to get filtered divisions and need to assign to the select-options.
Thanks
Hi,
You can use OVS to achieve this. Read the Material entered in the Parameter using get_attribute( ) method., then in OVS for that material fetch and set the divisions as p er your requirement.
check this articles for ref: [Using OVS in WDA|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true]
and [Using Ovs in Select Options in WDA|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/707f0d73-94f0-2d10-97a2-a3776e2118d8?quicklink=index&overridelayout=true]
hope this helps u.,
Thanks & Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satya,
Use OVS help as suggested... get your parameter value using get_attribute.
In Phase 2 use your select option to get division.. put where condition with your parameter value.
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.