cancel
Showing results for 
Search instead for 
Did you mean: 

Input help in NWDS

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

p330068
Active Contributor
0 Kudos

Hi,

Find more details for your requirement. [Click Here|http://www.sdn.sap.com/irj/sdn/nw-wdjava]

Hope this will help you.

Thanks

Arun

Former Member
0 Kudos

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