on 02-15-2013 8:20 AM
Hello Experts,
I'm new to Webdynpro.
My requirement is :
After selecting two dates in two different i/o fields the total hours(i/o-read only) should automatically get set with days between 2 dates * 8.
This can be done without using any button.Just after selection of date it gets populate into total_hours.
I did this by using onAction event but I dont want to use extra button for this.
Regard,
Prajyot.
you can create your custom OVS and only allow user to select date from OVS search help.
in oVS search you can implement your logic for calculating hours and bind calculated value with attribute
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for reply gurus.
Can you please tell me how to create OVS specifically for "DATE" input.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
go through below link
http://wiki.sdn.sap.com/wiki/display/WDABAP/OVS+on+a+specific+field+in+webdynpro
in attribute property of date fields instead of dictionary search help use ovs and assign OVS.
Hi,
Unfortunately this is not possible as there are no onKeyup or onBlur events in Web Dynpro ABAP like in java script. You have to press Enter or click any button to trigger an Action.
Or
for your specific requirement, instead of standard date search help, use OVS search help and in OVS event you can calculate and set the hours.
hope this helps u.,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.