cancel
Showing results for 
Search instead for 
Did you mean: 

'I don't always want validation' problem

Former Member
0 Kudos

Hi all,

I have a webdynpro project which exists out of two Development Components. One is for creating records in SAP the other one I use for wizard-buttons (next, previous, finish).

The latter component call plugs to move around the windows (containing viewsets). Problem is that when I press the previous button my screen gets validated while I only want it to be validated in case of the next- and the previous button. More exactly, I don't want any validation except when someone presses on of those buttons, but I do want validation Before exiting through the plug.

To validate I use wdDoBeforeNaviation.

I already tried to set the Action to 'Without validation' but that doesn't seem to help.

Does anyone know a solution to this problem?

Thanks,

Jeschael

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Well I added an event to the button. So when it is pressed the other component handles all checks in an event handler. This way I can also make sure the outbound plug is cancelled.

Jeschael

Former Member
0 Kudos

Jeschael,

don't forget to assign yourself 10 points for solving the problem! Sorry for kidding, thx for sharing the solution...

Regards,

Stefan