Skip to Content

How to highlight a wrong raw in SM30 event 01 before save?

Hi experts!

I'm wondering if it possible in SM30 table maintenance generator, in event 01 before save, to highlight a wrong raw (by my own custom condition, for example salary > 1000 USD)? How to position the cursor into the wrong row to allow user to fix it?

For now I can show an error message in the bottom and abort saving, but it is not clear which row exactly should be fixed. So I have to show an key value in error massage.

Is possible to make the same behavior like when the date cell contains wrong value? (in that case system by default navigate user to exact row).

Example: 01 event contains the check to prevent saving rows with salary > 1000 usd.

<Surname> <Salary>

Johnson 100

Jones 200

Smith 1,500 <- How to highlight this row?

Williams 300

pic2.png (93.0 kB)
pic1.png (60.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Aug 23, 2018 at 03:19 PM

    You can change the TMG's screen PAI and handle this. Added MODULE after the FIELD to handle the logic.

    FIELD zsn_emp1-extid MODULE check_extid.<br>

    sm30.jpg


    sm30.jpg (34.1 kB)
    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.