<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: regarding error message at table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982573#M72271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HEY MAX,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Yes i understood the things happening in loop.&lt;/P&gt;&lt;P&gt;One more doubt.&lt;/P&gt;&lt;P&gt;Actually if a particular record is error then i really want to highlight the record and should not allow user to&lt;/P&gt;&lt;P&gt;give input to another fields unless untill he corrects the error.&lt;/P&gt;&lt;P&gt;How to do this..&lt;/P&gt;&lt;P&gt;I actually tried..like this in PBO LOOP&lt;/P&gt;&lt;P&gt;IF TTAB-FIELD1 = 'Error'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;SCREEN-INTENSIFIED = 1.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;But how we can avoid user to make enter to other fields..&lt;/P&gt;&lt;P&gt;I remember, in standard case, if error appears then status message will be appear and other rows will be disabled mode.&lt;/P&gt;&lt;P&gt;how to do here..in this case&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2005 14:13:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-25T14:13:11Z</dc:date>
    <item>
      <title>regarding error message at table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982568#M72266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;In table control(created by wizard)attached with to display records. i have one STATUS column to show error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to check if STATUS &amp;lt;&amp;gt; SPACE, ie if error exists.&lt;/P&gt;&lt;P&gt;all the error rows should be highlighted with red color and give common error message at status bar.&lt;/P&gt;&lt;P&gt;how to do this..where should i write this code.&lt;/P&gt;&lt;P&gt;idea please.&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 07:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982568#M72266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T07:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: regarding error message at table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982569#M72267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You change the fields attribute of table control cells, I believe you change INTENSIFIED attribute:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF STATUS &amp;lt;&amp;gt; SPACE.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;   SCREEN-INTENSIFIED = 1.&lt;/P&gt;&lt;P&gt;   MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You put this code into LOOP/ENDLOOP of PBO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 08:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982569#M72267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T08:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: regarding error message at table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982570#M72268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope making redcolor is not possible.&lt;/P&gt;&lt;P&gt;But u can make blue colour using screen attributes&lt;/P&gt;&lt;P&gt;SCREEN-INTENSIFIED = 1&lt;/P&gt;&lt;P&gt;modify screen in PBO&lt;/P&gt;&lt;P&gt;  LOOP AT  &amp;lt;itab&amp;gt;&lt;/P&gt;&lt;P&gt;        WITH CONTROL &amp;lt;table ctrl&amp;gt;&lt;/P&gt;&lt;P&gt;        CURSOR table ctrl-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MODULE CHANGE_FIELD_ATTR.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CHANGE_FIELD_ATTR.&lt;/P&gt;&lt;P&gt;check whether current row is error row...&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      SCREEN-INTENSIFIED = 1.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 08:20:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982570#M72268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T08:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: regarding error message at table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982571#M72269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey venkatesh,&lt;/P&gt;&lt;P&gt;Thanks for your reply..i solved this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Small doubt.&lt;/P&gt;&lt;P&gt;In PBO LOOP section,To make column Non editable or Editable mode, I am able to do below setting.&lt;/P&gt;&lt;P&gt; screen-enable = 0 or 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But To make Row editable, its not working.&lt;/P&gt;&lt;P&gt;any other alternative  is there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop screen check each field or column and can make changes. but to do row mask where should i do coding in table control?&lt;/P&gt;&lt;P&gt;advise please.&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 11:15:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982571#M72269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T11:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: regarding error message at table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982572#M72270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You put code into LOOP/ENDLOOP of table contro in PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MODULE CHANGE_SCREEN.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CHANGE_SCREEN.&lt;/P&gt;&lt;P&gt; If you want to change only some fields, check field name:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  IF SCREEN-NAME = 'MY_FIELD'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to change only some rows, check, for example, the step of loop:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF SY-STEPL = 1.&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;   SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;   SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt; ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can check the values of your internal table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF MY_FIELD = ....&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;   SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;   SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 11:32:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982572#M72270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T11:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: regarding error message at table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982573#M72271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HEY MAX,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Yes i understood the things happening in loop.&lt;/P&gt;&lt;P&gt;One more doubt.&lt;/P&gt;&lt;P&gt;Actually if a particular record is error then i really want to highlight the record and should not allow user to&lt;/P&gt;&lt;P&gt;give input to another fields unless untill he corrects the error.&lt;/P&gt;&lt;P&gt;How to do this..&lt;/P&gt;&lt;P&gt;I actually tried..like this in PBO LOOP&lt;/P&gt;&lt;P&gt;IF TTAB-FIELD1 = 'Error'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;SCREEN-INTENSIFIED = 1.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;But how we can avoid user to make enter to other fields..&lt;/P&gt;&lt;P&gt;I remember, in standard case, if error appears then status message will be appear and other rows will be disabled mode.&lt;/P&gt;&lt;P&gt;how to do here..in this case&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 14:13:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982573#M72271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T14:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: regarding error message at table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982574#M72272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to check the value of your field in PAI, and, if an error occurs, show an error message (type e), it will block user until he'll correct the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI use comand FIELD, it allows to update only field where error occurs while all other field will be disabled. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT...&lt;/P&gt;&lt;P&gt;  FIELD MY_FIELD MODULE CHECK_VALUE.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CHECK_VALUE.&lt;/P&gt;&lt;P&gt;IF MY_FIELD = 'Error'.&lt;/P&gt;&lt;P&gt;  message e208(00) with 'Value is wrong'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if an error occurs and you want to allow to update several fields, you can use CHAIN/ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT...&lt;/P&gt;&lt;P&gt;  CHAIN.&lt;/P&gt;&lt;P&gt;    FIELD: MY_FIELD,&lt;/P&gt;&lt;P&gt;           MY_FIELD2,&lt;/P&gt;&lt;P&gt;           MY_FIELDN MODULE CHECK_VALUE.&lt;/P&gt;&lt;P&gt;  ENDCHAIN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 14:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-error-message-at-table-control/m-p/982574#M72272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T14:30:22Z</dc:date>
    </item>
  </channel>
</rss>

