Skip to Content
avatar image
Former Member

Maintenance view event for validation when changing data

Hi All,

I have a maintenance view on a table that should validate some fields during user input.

I am using event 05 'Creating a new entry' to validate fields when user creates new entry in the table. That works fine.

I would like to have the same validations happening when the user changes fields of records already existing in the database. I tried to use event 01 'Before saving the data in the database' but the problem with this is that user can change many fields of many records before clicking 'Save'. I would like to have the error raised for incorrect entry already after the change.

So far I could not find an event to do this but only by changing the code itself. The problem with that is whenever the code is regenerated the custom part is lost.

Is there an event I can use that would help me achieve this?

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 18, 2009 at 05:34 AM

    did u try events 07 - 08.

    check these events .

    see this sap help

    http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm

    кu03B1ятu03B9к

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Kartik,

      I tried those events 07 and 08 as well, they are not triggered when I change a field and hit enter. I`m not sure what they are used for...

  • Jan 19, 2009 at 10:44 AM

    Can you try event 21 ?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Deepti,

      For me event 01 is too late for validations. If user manipulates several records, I don`t want to wait until he/she saves the changes, see my concerns in the trail.

      Regards,

      Krisz