on 03-02-2009 11:17 AM
Hi developers,
I am about to create valuehelps on WDJ for AS 7.1: can anyone tell me if improvements have been made towards simplifying valuehelp creation (I remember OVS were a bit tricky) or whether dedicated wizards have been included in NWDS7.1?
Thanks and kind regards
Vincenzo
Hi,
I am about to create valuehelps on WDJ for AS 7.1: can anyone tell me if improvements have been made towards simplifying valuehelp creation (I remember OVS were a bit tricky) or whether dedicated wizards have been included in NWDS7.1?
There is no dedicated wizards available for OVS Creation. and in EHP1 we can customize the value help UI .
Have a look to this links :
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c6132f-4ea3-2b10-4d8f-e68d2e96113d]
[http://help.sap.com/saphelp_nwce711/helpdata/en/47/f8738ffdb84aa8e10000000a421937/content.htm]
Thanks and Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Each value help has its own significance depends on the uses, OVS is bit difficult but in most of the scenario where SVS or EVS is not applicable we use this type
Well according to your question Simplest possibility is
1. Create one input field.
2 .Bind its value to a SimpleType of String
3. Populate the value during run time as given here
IPublicAdminComp.IReturnGetAllDistrictElement district;
//Node info
IWDNodeInfo nodeinfo_dist = wdContext.nodeRegionDetails().getNodeInfo();
//Attribute where data need to populate
IWDAttributeInfo attributeInfo = nodeinfo_dist
.getAttribute(IPublicAdminComp.IRegionDetailsElement.DISTRICTCODE);
ISimpleTypeModifiable districtYype = attributeInfo.getModifiableSimpleType();
IModifiableSimpleValueSet valueSet_dist districtYype.getSVServices().getModifiableSimpleValueSet();
valueSet_dist.clear();
// One by one retrieving the values
for (int i = 0; i < wdContext.nodeReturnGetAllDistrict().size(); i++)
{
district = wdContext.nodeReturnGetAllDistrict().getReturnGetAllDistrictElementAt(i);
valueSet_dist.put(district.getSalesOrgCode(), district.getSalesOrgName());
}
4. I said this it is the simplest type because up to step three u have done your job ,now Webdynpro run time will take care about opening the pop-up with predefined table along with table filter option,once u selected the value will come in your input field(This is for EVS)
5 .Same code and procedure will valid for SVS also ,only changes is instead of using Input field use Dropdown by Key
Hope it help You
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.