Skip to Content
author's profile photo Former Member
Former Member

validating non key fields in table maintenance generator

Hi,

I ma using events for table maintenance generator event 05 ,there i want to validate non key fields ......i am throwing error message ....all the non key fields are getting in display mode ...i need them to enable to enter values ....

please suggest

Thanks,

Shailaja Ainala.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 13, 2009 at 06:17 AM

    Hi,

    Write a code between chain and endchain. as follows

    chain

    for validation of field ,select the data from check table of particular fields based on entered value.

    and check the sy-subrc value , if it give 4 then raise a error message.

    endchain

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Shailaja,

      Its property of error message, which makes it as non-editable.

      You can display either status or info message after validation check.

      And finally before saving (before save event) display error message, so that it invalid entries doesnt get saved.

      Thanks,

      Nisha Vengal.

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.