on 02-18-2010 6:11 AM
Hello,
I am new to web dynpros. I am working in NWDS. Can anyone tell me how to give a value help from SAP data dictionary for an input field.
For example. for Material input field all the materials should be displayed from mara table when search help option is clicked.
regards,
ramakanth
Dear Ramakant,
For a Input field UI if you want to show the help then directly bind the input field to the Node in which you have the help data.
For your example, select all materials from the mara table into a table of your RFC, and after importing your RFC and creating the model directly bind this table to your Input field UI.
Hope it clarifies your query.
Warm Regards,
Upendra Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Friend,
The value helps can be used in following ways
One is Using the simple type:
After creating the dictionary simple type that needs to binded to the context element and the same context element needs to binded to Input field.
You can also achieve this by using Dynamic coding: In the following coding, welcome is the context element in my workspace.
IWDAttributeInfo a=wdContext.getNodeInfo().getAttribute(IPrivateEVSView.IContextElement.WELCOME);
ISimpleTypeModifiable stm=a.getModifiableSimpleType();
IModifiableSimpleValueSet svs=stm.getSVServices().getModifiableSimpleValueSet();
svs.put("1","one");
svs.put("2","two");
I hope this will work in multiple views. for more help on value help you can follow these pointers
[Adding value helps to Web Dynpro for Java Applications in|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ab331b-97c6-2a10-f982-c9f972c34e51?quicklink=index&overridelayout=true]
[Yet Another EVS Valuehelp - Showing Display Texts for Keys|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/391ee590-0201-0010-1c89-f1193a886421&overridelayout=true]
[Enabling Value Help|http://www.sdn.sap.com/irj/sdn/nw-wdjava?rid=/webcontent/uuid/503f22f6-b978-2a10-bf97-ddc21267e752#52 [original link is broken]]
[Yet Another EVS Valuehelp - Showing Displaytexts for Keys|http://www.sdn.sap.com/irj/sdn/nw-wdjava?rid=/webcontent/uuid/503f22f6-b978-2a10-bf97-ddc21267e752#54 [original link is broken]]
[Advanced Value Help: Object Value Selector |http://www.sdn.sap.com/irj/sdn/nw-wdjava?rid=/webcontent/uuid/503f22f6-b978-2a10-bf97-ddc21267e752#51 [original link is broken]]
Regards
Jeetendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.