cancel
Showing results for 
Search instead for 
Did you mean: 

Mimicking SAP search functionality for Web Dynpro inputfield

Former Member
0 Kudos

Hello Experts,

I am using NWDS 7.0.18. EP 7.00 SPS 18

I want to mimic the standard SAP functionality of an input field search values in web dynpro.

Is it possible to have an inputfield with the little square search values button next to it, so that after I type in a few characters in the input field and click the button, a window will open up and list the values that contains that string? Then the user can double click the value and it will get populated into the inputfield?

Any suggestions?

Regards,

MM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Developed my own simulated SAP help that mimics F4 functionality.

S0019300750
Contributor
0 Kudos

Hello Marshall,

What is the content of search help ? Is it static or dynamic?

As mentioned earlier go with EVS- Extended Value Selector. Its pretty much easy to use.

You can get pdf document related to this here in SDN documentation.

Regards,

Vinod

Former Member
0 Kudos

Hi Marshall,

I think you are refering the OVS (Object Value Selector).

Here is a link to an article in SDN on how to create web dynpro application with a OVS:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401975e3-e2ee-2b10-e191-a8140aab...

The article has been done on CE 7.1 but the same can be implemented on NW 2004s (7.0)

Regards,

Kartikaye

Edited by: Kartikaye Gomber on Jun 9, 2009 6:53 PM

Former Member
0 Kudos

Hi Kartikaye,

Thanks for the speedy response.

I don't think the types IWDOVSDialog or IWDOVSControl exist in 7.0.18.

(part of the com.sap.tc.webdynpro.progmodel.api package)

I only see IWDOVSContextNotificationAdapter and IWDOVSNotificationAdapter.

Are there any workarounds?

regards,

marshall.

Former Member
0 Kudos

Hi Marshall,

I am sorry I wasnt aware of the difference of the OVS component in 7.0 and CE 7.1.1.

I myself havent used any of the value helps like evs or ovs.

You can try evs as well.

Anyways I was going through the Tutorials and there is a OVS tutorial on SAP NW 2004:

[original link is broken]

And article can be accessed throught this link:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-tec...

Regards,

Kartikaye

pravesh_verma
Active Contributor
0 Kudos

This message was moderated.

pravesh_verma
Active Contributor
0 Kudos

Hi Marshall,

You can easily use the IModifiableSimpleValueSet for getting the value help attached to input field. Follow these steps:

1) Create a attribute under somenode in the view context.

2) Bind the atribute with the input field.

3) Use the following code:


IWDAttributeInfo list =wdContext.node<Node_Name>().getNodeInfo().getAttribute("ATTRIBUTE_NAME");
ISimpleTypeModifiable type = list.getModifiableSimpleType();
IModifiableSimpleValueSet valueSet = type.getSVServices().getModifiableSimpleValueSet();
valueSet.put("value1", "value1");
valueSet.put("value2", "value2");
valueSet.put("value3", "value3");
valueSet.put("value4", "value4");
		

Also please note that webdynpro does not support the feature what we have in ABAP when we type in some value and hit enter a pop up comes with the list of values. Such feature is not supported. The maximum what you can do is just hit the F4 button to get the value help and select some values from the value help popup which has come.

I hope this solves your issue. Please revert back in case you need any further information on this.

Thanks and Regards,

Pravesh