<?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: check box in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892440#M373408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, in the PBO of the table control, use the same logic.&lt;/P&gt;&lt;P&gt;u can get the name of the TC from the layout. in the PBO u can use it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab index &amp;lt;TC Name&amp;gt;-current_line.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;if itab-status = 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;use the same logic here....&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2007 01:33:10 GMT</pubDate>
    <dc:creator>gopi_narendra</dc:creator>
    <dc:date>2007-02-06T01:33:10Z</dc:date>
    <item>
      <title>check box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892436#M373404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;i am using table control which is referring to internal table and working area.&lt;/P&gt;&lt;P&gt;i have 1 field in the chain endchain under PAI is using check box.&lt;/P&gt;&lt;P&gt;may i know where should i do so that when show the data, record that already checked should appear grey out whereas those unchecked should allow user to do check in the check box?&lt;/P&gt;&lt;P&gt;for example, the second record status should grey out. actually material and quantity is read only column in table control. so basically the whole record should grey out if status has 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;material  quantity status&lt;/P&gt;&lt;P&gt;123         5000      &lt;/P&gt;&lt;P&gt;321         2345      X&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 00:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892436#M373404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T00:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: check box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892437#M373405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the LOOP..ENDLOOP of the PBO..You can disable the line..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;  MODULE DISABLE_OUTPUT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE DISABLE_OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF ITAB-STATUS = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 00:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892437#M373405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T00:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: check box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892438#M373406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to do this in the PBO of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write a module in the flow logic&lt;/P&gt;&lt;P&gt;module change_screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in the  module write as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itab-status = 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'screen field name for material' or&lt;/P&gt;&lt;P&gt;   screen-name = 'screen field name for quantity' or&lt;/P&gt;&lt;P&gt;   screen-name = 'screen field name for status'.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&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;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 00:51:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892438#M373406</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-02-06T00:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: check box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892439#M373407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;screen cannot be used as i am modifying the table control.&lt;/P&gt;&lt;P&gt;i do not know what is the component, for example TC-? to disable the line if the status in the line has X.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 01:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892439#M373407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T01:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: check box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892440#M373408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, in the PBO of the table control, use the same logic.&lt;/P&gt;&lt;P&gt;u can get the name of the TC from the layout. in the PBO u can use it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab index &amp;lt;TC Name&amp;gt;-current_line.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;if itab-status = 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;use the same logic here....&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 01:33:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892440#M373408</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-02-06T01:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: check box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892441#M373409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gopi and all,&lt;/P&gt;&lt;P&gt;thanks alot&lt;/P&gt;&lt;P&gt;gopi, your statement can work.&lt;/P&gt;&lt;P&gt;thanks again&lt;/P&gt;&lt;P&gt;i will reward accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 01:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/1892441#M373409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T01:52:13Z</dc:date>
    </item>
  </channel>
</rss>

