on 11-27-2006 11:45 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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());
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hope that helps,
Regards,
L Menon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
At the moment doesn´t exist a facilities TOOL, have to develop yourself something like that.
Must exist a blog about it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.