cancel
Showing results for 
Search instead for 
Did you mean: 

Reg : F4 help in webdynpro

Former Member
0 Kudos

Hi,

Am developing Webdynpro Application to Connect R/3 by using Bapi's.

My question is :

Is it possible to bring field contents(f4 help contents) in webdynpro ?.

Thankyou,

Ramganesh.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Go through <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/5dcbe990-0201-0010-2c99-a2bc9e61acfc">this</a>.

Regards,

Satyajit.

Answers (4)

Answers (4)

Former Member
0 Kudos

hi

Currently f4 help is not possible but you can have EVS on a input field:

IWDAttributeInfo attributeInfo =

wdContext.nodeYourNode().getNodeInfo().getAttribute(

IView.INodeElement.Field);

ISimpleTypeModifiable fieldType =

attributeInfo.getModifiableSimpleType();

IModifiableSimpleValueSet valueSet =

fieldType.getSVServices().getModifiableSimpleValueSet();

Regards

Nidhideep

for (int i = 0; i < wdContext.nodeBAPIOutputNode().size(); i++) {

wdContext.nodeBAPIOutputNode().setLeadSelection(i);

valueSet.put(

wdContext.currentBAPIOutputNodeElement().getKey(),

wdContext.currentBAPIOutputNodeElement().getValue());

}

lajitha_menon
Contributor
0 Kudos

Hi Nihideep,

couldnt help pointing out that the code snippet in your reply is taken from my reply in the same thread!

cheers

LM

lajitha_menon
Contributor
0 Kudos

Hi Ramganesh,

Depends what exactly you require in the value help. If all you need is a simple input field with value help in key-value format, you can make use of the EVS searchhelp. You get the output of the Bapi and fill the valueset. You can use it for input fields and dropdowns. Please see link below

http://help.sap.com/saphelp_nw04/helpdata/en/95/93fe1e71a2e44691b1f041e67f71aa/frameset.htm

if you use EVS, you have to insert code that looks like this in your init method of the view.

IWDAttributeInfo attributeInfo =
			wdContext.nodeYourNode().getNodeInfo().getAttribute(
				yourView.IYourNodeElement.YOUR_FIELD);
		ISimpleTypeModifiable fieldType =
			attributeInfo.getModifiableSimpleType();
		IModifiableSimpleValueSet valueSet =
			fieldType.getSVServices().getModifiableSimpleValueSet();
		for (int i = 0; i < wdContext.nodeYourBAPIOutputNode().size(); i++) {
			wdContext.nodeYourBAPIOutputNode().setLeadSelection(i);
			valueSet.put(
				wdContext.currentBAPIOutputNodeElement().getKey(),
				wdContext.currentBAPIOutputNodeElement().getValue());
		}

If you need to filter the search criteria before you display values, and need multiple columns in the search, you can use the OVS search helps. This is slightly complicated than the EVS because you have to implement the OVS custom controller etc. But once you have done it, it works beautifully..Have a look at the link below for OVS

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial...

Hope that helps,

Regards,

L Menon

roberto_tagliento
Active Contributor
0 Kudos

/people/valery.silaev/blog/2006/07/18/ovs-rfc

/people/valery.silaev/blog/2006/03/10/minus-evs-plus-ovs-value-help-smart-input

Message was edited by:

Roberto Tagliento

roberto_tagliento
Active Contributor
0 Kudos

At the moment doesn´t exist a facilities TOOL, have to develop yourself something like that.

Must exist a blog about it.