cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent type validation on abort-action

Former Member
0 Kudos

Hello everybody,

I have a view to edit some data. Some fields are of the type numb and therefore get automatically checked regarding type-correct input. This behavior is wanted in the case the user hits the save button, but NOT in the case the user hits the Abort button.

Note: this input check occurs automatically, since the fields are representing a table type.

Is there any way to prevent web-dynpro doing this check in the abort-case?

Best regards

Philipp

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Make the action created for Abort button as validation independent.

Go to Actions Tab and select the action linked to abort button as validation independent ( action type ).

Former Member
0 Kudos

Good hint!

As i do so, the validation is ignored and the view is correctly left. This is a great improve.

Thanks!

But there is one thing left:

Even if the view is left and the validation is ignored, the validation takes place in the backgroud.

Therefore, the error message regarding the type-mismatch apears anyway an no further user-actions have effect... means the user can click any buttons, but nothing happens.

That i actually need is not only the ignoring, but even the prevention of validation.

Couldn't figure it out jet.

Former Member
0 Kudos

Played around but cound't get a solution jet.

Can you please provide me with tipps/ideas regarding my last problem?

I need this to be solved until tuesday evening. 😕

Hopefully

Philipp

Answers (0)