on 07-07-2008 2:02 PM
Hi ,
I Created a webdynpro application with component usage WD_SELECT_OPTIONS. I hide the global field for button check,reset,cancel .Now I Want to perform a validation on one of the input field that is of type date field.I know there is method called CHECK_ALL_SELECTION_FIELDS but how I can use this.Code sample will be a great help.
Thanks ...
Regards,
Amar
Hello,
Take a look on the web dynpro component WDR_SELECT_OPTIONS in the view SELECTION_SCREEN, method ONACTIONON_CHECK.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Thanks for u r quick response.
I check the code in WDR_SELECT_OPTIONS.But there is method call fire_on_check_evt .
How I can use that method in my application.
After using the method CHECK_ALL_SELECTION_FIELDS I m getting the error on screen but my processing logic does not stop after getting this validation error.It Still process the logic after that validation.
Regards,
Amar
Hi amar,
i think u need not do something complex to stop the processing.
As the CHECK_ALL_SELECTION_FIELDS method doesnt provides any cancel_navigation etc. parameters.
You can do this:
if <chk ur field> using CHECK_ALL_SELECTION_FIELDS.
-
else.
do processing and naviagation etc.
endif.
Put all processing in else part ;this will only show message in case of error.
I hope it helps.
Regards,
Sumit
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.