on 09-17-2011 7:35 AM
Hi ,
Scenario is like , I am having a table and in that two input field are there say Kilometers and Rate .
Rate field is a read only field .
User will enter data in Kilometer field and the value should reflect in Rate field according to the kilometer entered.
I have used ONENTER event on kilometer field and it is working fine and changing the value of Rate accordingly.
But , Now user is asking that can it be possible without pressing enter the value should change like by clicking on other field or by anything other than pressing enter.
thanks.
hi,
have you tried coding in WDDOMODIFYVIEW ...if not then please try this it will work for sure in your case
Regards,
Sahai.s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Nikhilarya
Have you tried using Cell Variants ?
Kind Regards
/Ricardo Quintas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil,
for your scenario, there must be an action triggered .
otherwise if you have fixed values of kilometers, then use the dropdown by key and write your code in onselect action. then it would be much easier then enter action. but it wil work if you have some fixed values of kilometers. Otherwise you have to use on enter action.
Or else place one more button Say CALCULATE write that code in calculate button action, so that user will understand he have to press on calculate .
Regards
Srinivas
Dear Srinivas ,
Thanks for the Answer .
Ya i know there has to be a action to change the value of the field .
I saw one application that was web dynpro Java and in that the same thing was running , they dont have to press enter to change the value. They were clicking any where on the screen and the value changes according to the kilometer entered . So thats why i thought the same thing can be done in web dynpro ABAP without ONENTER.
Thanks.
Nikhil.
Hi Nikil,
As suggested by srinivas without any action it is not possible to perform changes.
As u told that u seen some where in WD JAVA that for some action or enter it changes for this u can write ur code in WDDOBEFOREACTION method so that it will trigger for every action in ur view.
Regards,
Farooq
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.