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

Uneditable Table Control

Hello people.

I have a table control, wherein the fields included came from my internal table. It accepts input from the user, validates, then passes it to a customized table. Everything seems to be working well with the validation and passing, but the problem is, everytime the user inputs a wrong value (error message appears), the entire <b>table control grays out, and can no longer be edited</b>.

I really need help on this one. Thanks in advance :-D

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 02, 2004 at 03:31 AM

    You will have to do the validations inside the

    CHAIN ... ENDCHAIN statement. Then these fields would be enabled.

    And this CHAIN ... ENDCHAIN should be inside the LOOP...ENDLOOP in the PAI.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Vanessa the code looks fine.

      I am not sure what the problem is, but the flow logic you have placed should work for all rows that exist on the screen.

      Maybe I will not be able to help much unless i have a look at the program.

      But if it might help you, make use of the following concepts.

      CHAIN...ENDCHAIN is used to group processing statements.

      FIELD specifies the field list the belongs to this chain.

      MODULE, when a module is used in the chain it means to say that you are processing these fields in the module and in case of an error message make all the fields between chain...endchain editable.

      Now when processing tablecontrols, we need to have this functionality inside the loop...endloop, so that we might process the rows independently.

      Hope this info helps.


  • Posted on Jun 02, 2004 at 11:38 AM

    Once the user is able to correct the fields in error the table should "Un grey" itself. If this is not good enough you could always try to issue an "Information" message instead of an error message but not let the user continue with the processing.

    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.