on 10-24-2009 11:54 AM
Hello All,
In one requirement I hvae to display the list of years form say 1950 to current i.e. 2009 in a dropdown
kindly suggest is there any data type for it or how can this be possible ?
Thank you,
Regards,
Gunja
solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pay attention to what Armin said, display too many values in a DropDown UI element is not very useful. If there are more than 25 or 30 elements in your collection switch to a InputField UI element for using an extended value help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this
1.create "Dropdownbyindexby" UI
2. create context attribute like this
value node-->Vn_year
value Attribute--va_year --data type is integer
bind this attribute to dropdownbyIndex
int year = 1950;
for (int i = 0; i < 60; i++) {
IPrivate<view name>.IVn_yearElement ele =wdContext.createVn_yearElement();
ele.setVa_year(year);
wdContext.nodeVn_year().addElement(ele);
year = year + 1;
}
Regards,
Manivannan P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A drop-down list with >30 entries is not very usable.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
You could review these links :
http://help.sap.com/saphelp_nw70/helpdata/EN/08/13dbfb6e779743bb2ca641ebcb3411/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/74/450e8af57065468e88e4b86de47e4b/frameset.htm
May be you want to read this thread :
Thread: differnce between drop down by key and index.:
Good luck
Hi Armin,
Sorry for replying in another topic. I have a doubt regarding the security of destinations for WSIL, WSDL and RFC.
Whenever we create the destinations for WSIL, WSDL and RFC, in the security part we select the "User ID / Password" mechanism and enter the user ID and password (Administrator in case of SAP WebAS and for ECC <superadmin> ID)
Can we use a different ID for both these systems while creating the Logical Destinations?
If Yes, please let me know the minimum Authorizations required for the User ID and the steps.
Regards,
Poojith MV
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.