Skip to Content

Which event in SE54 (table maintenance) to validate new entries

I just created a table maintenance view (se54) for my table. Now I'd like to use one of the events to check if the fields of a new entry were filled correctly by the user. For example, I have one field "user_id" where the user can enter a user-id.

Now, if the user presses ENTER or "save", i have to check if the user id is correct. Which event can I use and how do I dertermine which lines in the global tables (e.g. "total","extract") were just inserted?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Feb 03, 2005 at 12:50 PM

    Hi Daniel,

    as long as your checks are simple, you should use SE11-approach:

    Define foreign keys for your fields! SAP provides excellent default (meaning for field MANDT check table T000 is found automatically and field assignments are correct).

    In addition, mark under screen check 'check required' and fill in message class and message number, which should be raised in case of errors.

    By this way you have F4-value-lists and error messages in case of wrong maintenance.

    For more complex tests, you have to extend table maintenance, that's true.

    Regards,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2005 at 01:40 PM

    Hi Daniel,

    Event '05' will suit your requirements.

    Regards,

    John.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 08, 2005 at 12:38 PM

    Hi Daniel,

    you should find the new entry in field symbol <table1>

    I am trying to enhance a table maintenance at the moment too. But I have problems accessing the TOTAL and EXTRACT tables. During run-time i can see the tables. But i can not activate code, which accesses these tables ("table TOTAL unknown"). What did you do, to write code that accesses these tables?

    Thanks in advance,

    regards

    Frank

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Daniel,

      thanks! It works!

      There must be something in the background going on, when creating form and include via SE54. I looked at the function group frame afterwards: The new include is placed in the same context as my manually created include. Strange. Many thanks for your help!

      Regards,

      Frank

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.