Skip to Content

FPM: Invalid date in input field prevents cancel event

Hey all

I'm using a standard GAF with an inputfield (type DATS). If I do enter a wrong value like '05.05.20yy', I should be able to close the GAF with the cancel event. Instead the error message "Error Cannot read 05.05.20yy as date; enter the date in the format DD.MM.YYYY" is displayed. The cancel event does not work until I enter a correct value.

Some more information:

- With a proper entered value, the cancel event works fine

- The cancel button is marked as validation independend

- This is a 7.31 SPS14 system

How do I manage to still carry out the cancel event in the GAF if the user types in a wrong date?

Thanks for your help!

Silvan
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on May 11, 2015 at 03:20 PM

    Hi Silvan,

    the cancel event should be configured with action type "validation-independent" and then it should go through despite of invalid values. Please check if Note 2128120 solves your issue.

    Best regards

    Jens

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 05, 2015 at 09:09 AM

    Dear Silvan,

    In screen dynpro, we have AT Exit command that allow user to back on screen without entering the Mandatory values,

    Please check the same at FPM level if possible. but i don't think so it is possible or you can do one thing define the date field into character variable and validate the date in your code it's is just temporary solution.

    Thanks

    Nishant

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 11, 2015 at 01:36 PM

    Maybe anyone does know if this is the standard behavior of the cancel event when an inputfield of type date (DATS) has an invalide value?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.