Skip to Content
author's profile photo
Former Member

Avoiding automatic vallidation when pushing a Cancel button

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


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Posted on Aug 22, 2007 at 03:59 PM

    Have a look to the Post: Mandatory fields and BACK-Button


    Add comment
    10|10000 characters needed characters exceeded