on 05-23-2011 8:18 AM
Hello Experts,
My requirement : I need to have default value assigned everytime a user logs in on the EP.
Field country default value INDIA.
We have used standard iviews provided by sap for master data creation.
regards,
Abhishek
Hi,
As per my understanding, u want to set a default value to a drop-down list. If it is so, then this can be done through client side eventing. What you need to do is set the default value of the field to the index number of the value INDIA.
countriesList.options<i>.selected = true; // where i= index value for INDIA
Add the above lines in the function which is fetching the values from the database.
Hope this is helpful.
Regards,
Nishant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are creating through ITS? Or standart Web Dynpro ABAP iViews?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhishek,
Where do you create master data? If it is Java application, you can set users country to India and then you can get users country using APIs. If you can provide more detail we can help.
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.