<?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: Selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754034#M326858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;WHEN 'BACK'.

  LOOP AT SCREEN.
   IF SCREEN-NAME = 'C1'.   "  C1 is ur checkbox name
      SCREEN-INPUT = '1'.
      MODIFY SCREEN.
   ENDI.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Dec 2006 11:45:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-08T11:45:23Z</dc:date>
    <item>
      <title>Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754033#M326857</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;I am able to disable the check box in the selection screen.The reqiurement is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After entering the selection screen values user has excuted the report.It displays the report.When the user press the Back button (F3) it will display the selection screen again now I want to enable the checkbox dynamically. How?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;KS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 11:40:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754033#M326857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T11:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754034#M326858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;WHEN 'BACK'.

  LOOP AT SCREEN.
   IF SCREEN-NAME = 'C1'.   "  C1 is ur checkbox name
      SCREEN-INPUT = '1'.
      MODIFY SCREEN.
   ENDI.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 11:45:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754034#M326858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T11:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754035#M326859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use one flag for the report execution and check that value when disableing the check box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I means to say... I think you might be written some code in at selection-screen output event to disable the check box, here you jest check whether this flag is initial or not. if initial then disable the checkbox, and if not do not disable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 11:51:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754035#M326859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T11:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754036#M326860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare one global variable flag of type c with default value space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your code somewhere u will check whether the check box is checkec or not. In that place set this variable flag to 'X'. Now in the SELECTION-SCREEN OUTPUT event code like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'CH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if &amp;lt;global_var&amp;gt; eq 'X'. &lt;/P&gt;&lt;P&gt;     screen-input = 1.&lt;/P&gt;&lt;P&gt;   else.&lt;/P&gt;&lt;P&gt;     screen-input = 0.&lt;/P&gt;&lt;P&gt;   endif.&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;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Venkat Ramanan N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 12:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754036#M326860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T12:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754037#M326861</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;parameter P1 as checkbox .&lt;/P&gt;&lt;P&gt;at selection-screen output .&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if P1 eq 'X'. &lt;/P&gt;&lt;P&gt;screen-input = 1.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY 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;if sy-tabix eq 5 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY 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;Message was edited by: &lt;/P&gt;&lt;P&gt;        Lakshminarayanan rohini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 17:03:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754037#M326861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T17:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754038#M326862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You want to have a switch, which you can query after execution has ended. For that you will have to either use memory, or a static in a function call.&lt;/P&gt;&lt;P&gt;In this example, I used memory.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;DATA: ATFIRST TYPE BOOLE_D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;IMPORT ATFIRST FROM MEMORY ID ANYID.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    CHECK SCREEN-GROUP1 = '999'.&lt;/P&gt;&lt;P&gt;    IF ATFIRST IS INITIAL.&lt;/P&gt;&lt;P&gt;      SCREEN-INPUT = '0'.&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;    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;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  ATFIRST = 'X'.&lt;/P&gt;&lt;P&gt;  EXPORT ATFIRST TO MEMORY ID ANYID.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be aware, that after first execution, the switch will remain set for as long as you stay in the same session. If this is not what you want, be sure to put something like:&lt;/P&gt;&lt;P&gt;DELETE FROM MEMORY ID ANYID.&lt;/P&gt;&lt;P&gt;after second execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 18:41:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1754038#M326862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T18:41:45Z</dc:date>
    </item>
  </channel>
</rss>

