cancel
Showing results for 
Search instead for 
Did you mean: 

Avoiding automatic vallidation when pushing a Cancel button

Former Member
0 Kudos

Hi All,

assuming you have a screen (view) built with Web Dynpro for ABAP, which have some input fields and two buttons: Ok and Cancel. Some of the input fields are fields where the Web Dynpro framework does some automatic input validations like for dates and amounts.

What I have seen so far is that the Web Dynpro framework always issues an error message like invalid format if a user enters, let's say, 'abc' into a date field. Of course this is correct in principle.

However, when clicking on a button "Cancel" then no input validation is expected. In classics SAP programs I can use the attribute "Exit function" assigned to an ok code, but I haven't found any similar in WD4A. Any ideas?

Best regards

Lars

Accepted Solutions (1)

Accepted Solutions (1)

SergioFerrari
Active Contributor
0 Kudos

Have a look to the Post:

Sergio

Answers (0)