cancel
Showing results for 
Search instead for 
Did you mean: 

WebDynpro custom search help based on another field value

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member184578
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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.