cancel
Showing results for 
Search instead for 
Did you mean: 

How to use method check_all_selection_fields from WDR_SELECT_OPTIONS .

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Take a look on the web dynpro component WDR_SELECT_OPTIONS in the view SELECTION_SCREEN, method ONACTIONON_CHECK.

Regards.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Answers (0)