<?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: Dynamic Selection Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/5266951#M1216109</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;PRE&gt;&lt;CODE&gt;Report mydemo.

DATA: PLANT(20) type C.

SELECTION-SCREEN BEGIN OF SCREEN 500.
  SELECTION-SCREEN COMMENT 10(20) TEXT-001
                   FOR FIELD PARM.
PARAMETERS plnt LIKE (PLANT).
SELECTION-SCREEN END OF SCREEN 500.

PLANT = 'MARC-WERK'.

CALL SELECTION-SCREEN 500.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can keep flag value in at selection-screen output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;at selection-screen output.
if radio1 = 'X'.
flag = 1.
else.
flag = 0.
endif.

at selection-screen.
if w_flag = 1.
loop at screen.
if screen-name = 'FIELD1'.
screen-active = 1.
endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if u understood the  the process  behind it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Feb 2009 12:42:57 GMT</pubDate>
    <dc:creator>rejish_balakrishnan</dc:creator>
    <dc:date>2009-02-28T12:42:57Z</dc:date>
    <item>
      <title>Dynamic Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/5266950#M1216108</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;&lt;/P&gt;&lt;P&gt;How can create a dynamic selection screen by using Comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Smita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2009 11:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/5266950#M1216108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-28T11:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/5266951#M1216109</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;PRE&gt;&lt;CODE&gt;Report mydemo.

DATA: PLANT(20) type C.

SELECTION-SCREEN BEGIN OF SCREEN 500.
  SELECTION-SCREEN COMMENT 10(20) TEXT-001
                   FOR FIELD PARM.
PARAMETERS plnt LIKE (PLANT).
SELECTION-SCREEN END OF SCREEN 500.

PLANT = 'MARC-WERK'.

CALL SELECTION-SCREEN 500.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can keep flag value in at selection-screen output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;at selection-screen output.
if radio1 = 'X'.
flag = 1.
else.
flag = 0.
endif.

at selection-screen.
if w_flag = 1.
loop at screen.
if screen-name = 'FIELD1'.
screen-active = 1.
endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if u understood the  the process  behind it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2009 12:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/5266951#M1216109</guid>
      <dc:creator>rejish_balakrishnan</dc:creator>
      <dc:date>2009-02-28T12:42:57Z</dc:date>
    </item>
  </channel>
</rss>

