on 06-09-2009 5:36 PM
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
Developed my own simulated SAP help that mimics F4 functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
And article can be accessed throught this link:
Regards,
Kartikaye
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
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.