<?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 Table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2089618#M434289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have included a push button in the tab strip and the requirement is such that the button is displayed only under certain condition and has to be grayed out otherwise. I am making the screen modification inside the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the loop in the PBO and PAI is on the internal table (LOOP AT ITAB WITH CONTROL TABCON) and not the table control (LOOP WITH CONTROL TABCON). Hence the modify screen statement is not working as expected. The status of the button now depends on the last record in the tab strip. I cannot change the loop statement now. Can anyone let me know if there is a method to modify the button status ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Usha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2007 06:13:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-16T06:13:38Z</dc:date>
    <item>
      <title>Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2089618#M434289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have included a push button in the tab strip and the requirement is such that the button is displayed only under certain condition and has to be grayed out otherwise. I am making the screen modification inside the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the loop in the PBO and PAI is on the internal table (LOOP AT ITAB WITH CONTROL TABCON) and not the table control (LOOP WITH CONTROL TABCON). Hence the modify screen statement is not working as expected. The status of the button now depends on the last record in the tab strip. I cannot change the loop statement now. Can anyone let me know if there is a method to modify the button status ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Usha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 06:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2089618#M434289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T06:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2089619#M434290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;u create a module in the PBO. and inside that module write the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = &amp;lt;button name&amp;gt;&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.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 06:18:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2089619#M434290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T06:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2089620#M434291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Usha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Include the following logic in PBO of your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at screen.
   if screen-name = 'BUTTON1'.
"    if your condition is not satisfied...put a check statement here
           screen-input = 0.
           modify screen.
   endif.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Sajan Joseph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 06:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2089620#M434291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T06:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2089621#M434292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi usha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try out this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;loop at screen.&lt;/P&gt;&lt;P&gt;   if screen-name = 'push_button'.&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.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this is useful to u...&lt;/P&gt;&lt;P&gt;reward points if helpful...&lt;/P&gt;&lt;P&gt;Ginni..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 06:37:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2089621#M434292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T06:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2089622#M434293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI USHA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can also try out this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  IF  it_tab is not initial .&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-name = 'push_button'.&lt;/P&gt;&lt;P&gt;        screen-input = '0'.&lt;/P&gt;&lt;P&gt;        SCREEN-INVISIBLE = '1'.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        screen-input = '1'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&amp;lt;/b&amp;gt;                            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this is useful to u...&lt;/P&gt;&lt;P&gt;reward points if helpful...&lt;/P&gt;&lt;P&gt;Ginni..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ginni Makkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 06:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/2089622#M434293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T06:41:04Z</dc:date>
    </item>
  </channel>
</rss>

