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

Table control

Hi,

I am having a problem in the table control of the Module pool program. When any mandatory field is not entered then while saving the record, i am raising an error message and that particular field/row should be enabled to enter the value. but this is not happening in my case. I am getting the error and all the fields are disabled. How to handle this situation.

Fast response is awaited.

Regards,

Amit Jain

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2005 at 06:21 AM

    Hi,

    Use

    CHAIN.

    ........

    ........

    ENDCHAIN.

    Within this specify the fields you want to be enabled.

    Please reward points if this explanation useful.

    Regards,

    Siva

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      LOOP AT ITAB.

      CHAIN.

      FIELD : field1,

      field2,

      field3.

      MODULE CHECK_ENTRY .

      ENDCHAIN.

      ENDLOOP.

      in MODULE CHECK_ENTRY .

      if field is initial.

      message EXXX 'plz enter this'..

      endif.

      if u did somthing like this then it shd work . if not then post the code

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2005 at 06:16 AM

    what type of error message you are using E or W

    regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2005 at 06:26 AM

    you should write the foolowing code below PAI event

    chain.

    field: <field-name> module <modulename>

    endchain.

    in the module <modulename>

    you can check for the condition you are trying to do.

    so this will enable once agin your field to accept input

    cheers

    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.