on 03-27-2007 6:31 AM
hi all
i have a scenario which i have to drop down one feild, could you please send me some information(codes) regarding this, i am very new to webdynpro and have only little knowledge about it.
regards
Pradeep P N
Here is the link which will guide you for all the UI related issues
Please do give reward points if any response to your mail solves or helps you
mark it as answered if your problem is solved
regards
Pradeep B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi prasy,
you can refer tuturial number 8 in webdynpro tutorials .
Thanks &Regards ,
Aruna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
chk out these links
for dropdownbykey:
for dropdownbyindex
/people/thomas.szcs/blog/2006/07/24/basic-concepts--selection-vs-leadselection
regards,
prasy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
go thru this link u find the all the related examples do u need to display ur field based on key or index.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/86/16e13d82fcfb34e10000000a114084/frameset.htm
Thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
One helpful suggestion:
If you want some help on a UI element usage just right click it to open the help on that UI element. Believe me it helps a lot.
Regards
Sid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
DropDownByKey provides static data in DropDown and DropDownByIndex makes it dynamic.
<b>DropDownByKey</b> : Is used when we want to use data dictionary type.For this create a dictionary of simple type in the dictionary.
Creating the Simple Type:
project>dictionaries>Data Types-->Simple Types right click and select Create Simple Type.
After entering the name and package, open and click on "enumeration" tab . Add the Value and Description to be listed in dropdown.The created simple type can be used for DropDownByKey.
Binding it to the UI element:
Create a valueattribute and change the type to the dictionary type created simple type . Finally bind the DropDownByKey UI element to the value attribute.
<b>DropDownByIndex:</b> Is used when we get the data from the back end database. Here we directly bind the DropDownByIndex UI element to the context model node attribute.
Sunitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
pradeep p,
Check the Webdyno programming examples in SDN.
check the link below for reference.
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/91c5e990-0201-0010-4981-9b2075751d... [original link is broken]
regards
Anil Dichpally
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
Have a look to this Tutorial:
In General If you want to add a Dropdown then you can simple make a dictionary object. Go to <b>Dictionaries-> Local Dictionary-> Data Types-> Simple Types -></b> [<i>Create Simple type</i>].
Now name this simple type (say: <i>dropdownkey</i>), go to the enumeration tab, add the <b>Value</b> and <b>Descriptions</b>.
In the UI elements create a <b>DropDownByKey</b>, In the context of the view add a attribute and map the datatype of this object with the newly created dictionory object (<i>dropdownkey</i>).
In the view designer go to the <b>Properties Tab</b> of the DropDownByKey UI element. There map the "<b>selectedKey</b>" property with the attribute created in the context.
Just deploy it and try to check this, you will get a drop down in the UI.
I hope this helps you.
Regards,
Pravesh
PS: Consider rewarding points if helpful or solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.