EVS in OVS
Hi All,
I have a requirement to use OVS search help in Web Dynpro and provide EVS/OVS search help within it on search fields.
I have followed the method provided by Valery Silaev
URL:/people/valery.silaev/blog/2006/07/18/ovs-rfc but it only give me a dropdown list.
I need to know how to setup EVS/OVS within OVS advanced search fields.
Thanks for your help.
Regards,
Lam
Lam,
If I understand you correctly you want to use EVS for input fields (query parameters) inside OVS window.
This is not possible.
OVS implementation supplied with WD Java creates UI controls automatically.
- For attributes of type boolean it creates CheckBoxes.
- For attributes of type string without value help (simple type without enumeration) it creates InputFields.
- For attributes of type string with value help (simple type with enumeration) it creates DropDownByKey (this is what you see).
There is no way to alter this behavior.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net
Similar Messages
-
SVS, EVS, and OVS, Value Help and Search Help
what and how to use SVS, EVS, and OVS, Value Help and Search Help in abap webdynpro...Can anyone please give example link or document...As i am able to get on ovs but unable to get rest of other
SVS and EVS are Web Dynpro Java specific types of value help. They do not exist in Web Dynpro ABAP. In Web Dynpro ABAP we have Data Dictionary based Search Help, OVS, and Freely Programmed Value Help. In WDA 7.02 we have the slight variant on DDic Search Help called Suggest Values. It doesn't change the development model, just the runtime user experience.
You can read more about each of the types of WDA based value help in the online help:
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/47/9b298c66eb3376e10000000a421937/frameset.htm -
Hi,
My requirement is to implement EVS or OVS selection in Adobe Interactive Form.The EVS or OVS data should be populated with RFC Calls.
Please let me know is there any workaround to implement this functionality in WD Java.
Regards
Madhan MohanHello Madan Mohan,
Why workaround when you have a solution. But, you have the EVS and OVS facility with NW04s, ZCI style forms. Minimun requirerment for AIF to support this is NW04s SP09 + Latest WD runtime patch release.
How about your landscape ? Providing such information (NW04/NW04s/ACF/ZCI/Reader version etc) in the message helps.
Best Regards,
Krish -
Display Tree structure using EVS or OVS
Hi All,
Here we have a requirement like display tree structure when I press F4. currently the sample application (using Object Value Selector or Extended Value Selector) is displaying the values in table, instead of table here we have to display it in tree.
If it is not possible using either OVS or EVS please tell me what is the other way to solve the problem.
Please give me any suggestion.
Regards
SureshSuresh,
You can emulate the behaviour by having a separate view for the tree structure.
1.) Create a new view and put your tree structure UI + related logic in that view.
2.) Create an input field and a linkToAction / button (with the text "Search".) aligned side by side.
3.) On click of the search button, show the view containing tree as pop-up.
You may develop upon this hint to meet your requirement.
~ Bala -
EVS - how to get selected values back into model?
Hi all!
I am new to WebDynpro but Ive got a closer look to the tutorials but since I didnt found a hint for my problem I try it this way! The situation is the following:
I am using selector fields to support the user with some constants to choose from but it is still possible to enter the data directly into the input field.
I followed the tutorial for this purpose with the difference that I initialized the selector fields with data coming from the model. This happens in the wdDoInit() of the view controller.
The problem is how to get the selected value back into the model without forcing the user to use the F4-Help or trigger a onEnter event on the input field.
Due to the modification of the data type at runtime I cant bind the attribute of the view context holding the selected value to another one of a custom controller context.
I hope there is a simple solution because I am just asking for a common functionality on a web site.
Thanks in advance!
FrankReiner,
I cannot fully understand your requirements, but probably my solution described in blog post <a href="/people/valery.silaev/blog/2006/03/10/minus-evs-plus-ovs-value-help-smart-input">Minus EVS, Plus OVS == value help + "smart" input</a> will help you.
My idea was to use OVS instead of EVS with pair of calculated "proxy" attribute and real attribute. Real attribute has enumeration, proxy attribute used for input. In my solution real attribute is always synchronized with proxy attribute...
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com -
Hi,
I've implemented OVS but I need to use it as a value help instead of an object selector. Therefore to be perfect OVS should directly print out results since there is no need to do a search before. So is there a way to directly jump to the onQuery hook method? Apparently the OVS output node seems to be initialized after applyInputValues(...) is called. I can't add something to the output node until onQuery(...) is called. Which means you have to click on the "Go" button just to see some static result values. Which is quite annoying for this use case. Has anyone already solved this problem?
Regards,
RobertRobert,
In WD ABAP it is possible to replace standard OVS component, but in WD Java -- no way. I played a lot with OVS -- there are numerous enchantments possible (see /people/valery.silaev/blog/2006/07/18/ovs-rfc , /people/valery.silaev/blog/2006/03/10/minus-evs-plus-ovs-value-help-smart-input , /people/valery.silaev/blog/2005/08/15/ovs-reloaded), almost anything but removal of that "GO" button and pre-populated query
By the way, why did you say that EVS is not an option for you? It seems applicable in your case (fixed set of key->value mappings)... Or you must show several columns in value help?
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
Hi all,
I had gone through the pdf given fir OVS Search(F4)and i downloded the ready to use project.I deployed successfully and runned the project.But the problem is After giving AirlineId,a special window is comming with table ,but no data is there in that table.
How to solve this problem??Can anyone please check this by downloading their project in theit NetWeaverDeveloperStudio
Regards
PadmaHi Padma,
Actually it depends on ur requirement whether u want to use EVS or OVS .If u have huge data to show in f4 ,u should go for OVS
check these links:
<a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/web%20dynpro%20valuehelp%20using%20object%20value%20selector.pdf">OVS</a>
<a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/value%20help%20in%20web%20dynpro%20applications.pdf">value help</a>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#51 [original link is broken] [original link is broken]
regards
Sumit -
EVS , change some default properties
Hi ,
I am using EVS for input filed .
I want to change some default properties , like :
1. The EVS arrange the results in 6 values every page , i want to decide how many results each page .
2. The EVS display 2 columns , the setFieldLabel () method, set the lable of the "key" column.
Which method change the lable of the description field ( I already tried : setDescription && setColumnLabel ) ?
Thanks ,
F.FHi FF
Please go through these links
Re: Extended Value Selector
/people/valery.silaev/blog/2006/03/10/minus-evs-plus-ovs-value-help-smart-input
Re: Extended Value Selector
regards
kalyan -
R/3 search helps in java web dynpro
Hello,
A customer of ours has some Z transactions in its R/3 system, which basically present a very simplyfied version of MIGO. This Z transaction makes extencive use of Search Helps, which in some cases have been extended.
A ABAP developer with some Web Dynpro experience showed me that it was easy to integrate these search helps into his web dynpro application.
I cannot find how to do this in java web dynpro with the developer studio. Is this possible and if yes, how?
Greetings, Walter.Hi Walter,
You can use search helps in Web Dynpro for Java also. The feilds with check table in R/3 automatically give search helps. To provide explicit search help you need use EVS or OVS.
These are the tutorials
OVS https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/web%20dynpro%20valuehelp%20using%20object%20value%20selector.pdf
Value help
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/value%20help%20in%20web%20dynpro%20applications.pdf
EVS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0e57440-ec1c-2a10-36b1-fe92341f98c4
regards,
Siva -
Hi
I have a custom development which consumes a custom RFC from R/3 system. Now this View has got plenty of fields that have an Search Help(F4) option. They are mapped to the Standard structures and Tables present in the RFC. I am not able to get a Search Help for these fields(Though search help is available in R/3 screen for the same fields).
I have read about SVS, EVS and OVS methods in WebDynpro. Now if I have to enable these search helps, am i left only with the option of using these alone. Since I am talking about Standard Tables & Structures in RFC, I have no option of modifying them.
I would like someone to share their views on this. If suppose I have to to use OVS methods, then what should be done in my custom RFC level to incorporate these search helps. I repeat, I have got about 15 fields that need search help option.
Good suggestions will be rewarded.
Regards,
Murali.Hi
Try This Thread
Re: Search Help in Web Dynpro
Re: Attaching Search helps dynamically to an attribute
Kind Regards
Mukesh -
Creating EVS , OVS with RFC in WebDynpro Java (F4)
Hello All,
I am struggling with EVS creation through aRFC. I followed all the tutorials given on the SDN, but of no use till now.
I have two DC's <b>rmmodel</b> and <b>rmcomponents</b>
I have created <b>Model</b> in the rmmodel DC through aRFC and added it in the public part. further I added the rmmodel DC in rmcomponent DC's <b>used DC</b> list. Finally i added rmmodel in the <b>used models</b> list of rmcomponent DC.
Then i created a component in rmcomponent DC.
I have already done model binding and context binding (XYZ_XYZ_XYX_Input -->Output)
Now I want to create an EVS with InputField , in my case i want to populate EVS from R/3 Table dynamically. Till now am getting a simple InputField with the first record selected on running my application.
Please Help.
Please avoid posting links to other similar threads, as i have already checked most of the popular threads, blogs and tried my hands on tutorials given on sdn library.
Regards,
AmolHi Biswal,
I am trying to do the above but having some problem with the "<attributeName>"
I created a custom controller and a view then i did the model binding and context binding.
In my custom controller <b>EvsController</b> I have the following context.
= Context
===Test_xyz_xyz_Input
=====Output
=======Lt_xyz_xyz
<b>Short</b>
here my attributename is <b>Short</b> so i am writing the following code in the <b>EvsController's</b> wdDoInit()
IModifiableSimpleValueSet valueset =
wdContext.nodeLt_xyz_xyz().getNodeInfo().getAttribute(Short).getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet();
The problem is, it's not able to identify "Short" and giving me an error "Short can not be resolved"
Please suggest something..
Regards,
Amol -
Hi all,
I have to implement a search-help pop-up for an input field in my application. But the RFC which is used doesnt accept any import parameters. The result should get prepopulated on opening the window. So, is it possible to use OVS in this case? If this is not possible, is there any alternative available??
Since the result is too big, its not possible to use EVS.
Thanks n regards,
Shyam.Shyam,
Please go through these,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/391ee590-0201-0010-1c89-f1193a886421
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e038cf90-0201-0010-0a9a-ec69262a1564
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2833ce90-0201-0010-f1af-d3cfe1155b16
/people/vikram.singh6/blog/2007/01/10/generic-value-help-services-in-web-dynpro--a-birds-eye-view
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/58a7e390-0201-0010-abb1-8eec7eb7a2ec
Regards,
<b>Ramganesan K</b> -
How to Implement the OVS in a table
Hai
I want to implement a table with one column with OVS. But if I want to enable OVS, I can not create a table because of the cardinality of the node-element of the context.
My table Node cardinality is 0..n because we have many rows in a table.
i have introduced EVS in one column.it works fine.
Because We can not set our own inputfield or button in EVS Pop Up.
If we select the cardinality "1..1" the OVS works but the table only can have one row. If we select the cardinality "0..n" the table can have "n" rows but the OVS is disabled.
Did anybody implements a similar application? Please help
i got the following error
When i call WDValueServices.addOVSExtension with ovsStartupAttributes, do this error: MappedAttributeInfo ViewName): must not modify the datatype of a mapped attribute
Message was edited by:
Dhinakaran JeyachandranHi,
If you think it's cardinality issue thenchange it to 1:n.
Otherwise do like this.
Create a custom controller first say OVSCustomController
and do following things for a column:-
Add this controller in your view.
IPublicOVSCustomController.IContextNode ovsContext = wdThis.wdGetOVSCustomControllerController().wdGetContext();
Create input and output nodes for ovs.
IWDNodeInfo ovsInputNodeInfo = ovsNodeInfo.addChild(columnName+"Input",null,true, CMICardinality.ONE,CMICardinality.ONE_TO_MANY, true, null);
IWDNodeInfo ovsOutputNodeInfo = ovsNodeInfo.addChild(columnName+"OutPut",null,true, CMICardinality.ONE_TO_MANY,CMICardinality.ONE_TO_MANY, true, null);
Create Attributes for this field in the input and output nodes.
IWDAttributeInfo attrInputInfo = ovsInputNodeInfo.addAttribute(field,datatype of field);
IWDAttributeInfo attrOutputInfo = ovsOutputNodeInfo.addAttribute((relatedfield,datatype of field);
set the attribute Info array:-
IWDAttributeInfo[] attrInfoArray = new IWDAttributeInfo[1];
attrInfoArray[0] = attribute info of the column
Now call the ovs service :-
WDValueServices.addOVSExtension("",attrInfoArray,ovsInputNode,ovsOutputNode,listener);
Your ivs window will be opened by this.
Feel free for any queries regarding this.
Regards,
Praveen
Message was edited by:
Praveen Kumar Pandey
Message was edited by:
Praveen Kumar Pandey -
Hello Experts,
I have the following situation, im trying to use a OVS in a test application that i'm built in. The thing is, that i only want that the search popup appear, i'm using nodes that doesnt have anything (data) just the structure for my test, but my problem is after follow the tutorial (without implementing the RFC execute part), the app shows me the value help but when i click it, dont show me the advanced search window (OVS). Why is that? am i missing something? i know that my nodes doesnt have to be full at first because, when i choose my value help (as the tutorial said), i dont have anything in my nodes until i put some search values and execute the query... please help me. Im not using a customer controller, and i did exactly what the tutorial explain...its urgent i wil wait for your answer!!!
thanx
MCHello,
You can find very cool info (weblog, threads, tutorials, etc) looking for OVS in the forum, also this links are very helpfull and made my day when i was trying to implement OVS (awsome!! by the way!!).
Hi,
Pl go through this links
/docs/DOC-8061#51 [original link is broken]
OVS
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/web%20dynpro%20valuehelp%20using%20object%20value%20selector.pdf
EVS
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/value%20help%20in%20web%20dynpro%20applications.pdf
I hope that this works for you...also if you have any question you can ask me
Regards
Mariana -
How tp populate EVS from a Model node attribute
Hi All,
i have some records in the model table mapped to a node in the view. i wanna to use the OVS to select the particular attribute but don't know how to do it.
i have bounded that particular column to the inputField but when i write this code
IWDAttributeInfo atInfo =
wdContext.nodeActivity().getNodeInfo().getAttribute( IPrivateEVSView.IActivityElement.SYNC__KEY);
ISimpleType synckeyType = atInfo.getSimpleType();
<b>ISimpleValueSet valueset = synckeyType.getSVServices().getValues();</b>
i get the NUllPointerException at the last line.
How to get the ValueSet in this case and populate the OVS.
Plz help
Rgds.
Vilish
I have studied EVS tutorial at SDN.Hi Vilish,
OVS is quite different thing, what you are trying to do here is to create modifiable value set (SVS), right?
Then you have to use:
ISimpleTypeModifiable type =
atInfo.getModifiableSimpleType();
IModifiableSimpleValueSet msvs =
type.getSVServices().getModifiableSimpleValueSet();
msvs.put(<key>, <value>);
Also check that type of attribute is simple type (string, integer etc) or derivate thereof.
Valery Silaev
EPAM Systems
http://www.netweaverteam.com/
P.S. If you really need to use OVS then corresponding tutorial is https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/5dcbe990-0201-0010-2c99-a2bc9e61acfc
Maybe you are looking for
-
I am sorta new to Mac. On my old Windows PC I could Print to a PDF in addition to a normal printer. How do I set it up to do the same thing on a Mac? It only allows me to save as instead of printing to. Thanks in advance.
-
HTTPService + SimpleEmailForm - Problem with character
Problem with swedish character å, ä och ö in a simple form mail with flex, php and mySQL. Have tried to change this in flex - mySimpleFormMail.mxml: <?xml version="1.0" encoding="utf-8"?> to <?xml version="1.0" encoding="Latin1"?> and to <?xml versio
-
Hey my iphone 4 just suddenly turned off and wont turn on
I have an iphone 4 and it suddenly turned off & wont turn back on , the problem is that my Sleep/mode button does not work. i cant restore it so what can i do
-
SAP -ISU-DEVICE MANAGEMENT-ABAP LINK METER
Hi, Basically i am a ABAP Consultant,recently i have been assinged to IS-Utilities Project,i wanted to know the what are the things i have to know/study for the understanding of the ISU and ABAP and where i will get the material for IS-Utilities spec
-
Can you match the workspace color from Bridge CS4 to Photoshop CS4?
When working between Bridge and Photoshop it becomes frustrating trying to switch between my setting in Bridge which are a darker gray to that in Photoshop which is the standard ligher gray. I notice CS6 has a darker interface but I am not upgrading