<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758914#M1115964</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;This code is used to modify the screen fields ie make it invisible or visible during run time as it is  a dynamic selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if r_local = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the parameter 'P_LOCAL' will be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'P_SERVER'  will be displayed.&lt;/P&gt;&lt;P&gt;'P_LOCAL'  will be invisible&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Oct 2008 06:08:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-30T06:08:07Z</dc:date>
    <item>
      <title>Dynamic selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758913#M1115963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was going through dynamic selection screen and have come across following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain the role the following coding will do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF r_local = 'X'.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF "screen-name = 'P_LOCAL'.  "OR&lt;/P&gt;&lt;P&gt;         screen-name = '%_P_LOCAL_%_APP_%-TEXT'.&lt;/P&gt;&lt;P&gt;        screen-invisible = '0'.&lt;/P&gt;&lt;P&gt;        screen-input = '1'.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ELSEIF screen-name = 'P_SERVER'. " OR&lt;/P&gt;&lt;P&gt;             screen-name = '%_P_SERVER_%_APP_%-TEXT'.&lt;/P&gt;&lt;P&gt;        screen-invisible = '1'.&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;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Server&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-name = 'P_SERVER' OR&lt;/P&gt;&lt;P&gt;         screen-name = '%_P_SERVER_%_APP_%-TEXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        screen-invisible = '0'.&lt;/P&gt;&lt;P&gt;        screen-input = '0'.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ELSEIF screen-name = 'P_LOCAL' OR&lt;/P&gt;&lt;P&gt;             screen-name = '%_P_LOCAL_%_APP_%-TEXT' OR&lt;/P&gt;&lt;P&gt;             screen-name = '%_S_KUNNR_%_APP_%-TEXT' OR&lt;/P&gt;&lt;P&gt;             screen-name = '%_S_KUNNR_%_APP_%-OPTI_PUSH' OR&lt;/P&gt;&lt;P&gt;             screen-name = 'S_KUNNR-LOW' OR&lt;/P&gt;&lt;P&gt;             screen-name = '%_S_KUNNR_%_APP_%-TO_TEXT' OR&lt;/P&gt;&lt;P&gt;             screen-name = 'S_KUNNR-HIGH' OR&lt;/P&gt;&lt;P&gt;             screen-name = '%_S_KUNNR_%_APP_%-VALU_PUSH'.             .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        screen-invisible = '1'.&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;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 06:04:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758913#M1115963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-30T06:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758914#M1115964</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;This code is used to modify the screen fields ie make it invisible or visible during run time as it is  a dynamic selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if r_local = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the parameter 'P_LOCAL' will be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'P_SERVER'  will be displayed.&lt;/P&gt;&lt;P&gt;'P_LOCAL'  will be invisible&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 06:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758914#M1115964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-30T06:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758915#M1115965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the information, what role this statements play in coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"screen-name = 'P_LOCAL'. "OR&lt;/P&gt;&lt;P&gt;screen-name = '%_P_LOCAL_%_APP_%-TEXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;screen-name = 'P_SERVER'. " OR&lt;/P&gt;&lt;P&gt;screen-name = '%_P_SERVER_%_APP_%-TEXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 06:22:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758915#M1115965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-30T06:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758916#M1115966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Please check the link below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1084384"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you,&lt;/P&gt;&lt;P&gt;Murthy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 06:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758916#M1115966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-30T06:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758917#M1115967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;screen-name = 'P_LOCAL'. "OR&lt;/P&gt;&lt;P&gt;screen-name = '%_P_LOCAL_%_APP_%-TEXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  in module pool when creating i/o field ..u will be giving name to the i/o field..&lt;/P&gt;&lt;P&gt;    that name and above mentioned are same ..&lt;/P&gt;&lt;P&gt;     goto se51 put ur program name and put screen no 1000..&lt;/P&gt;&lt;P&gt;       there u goto layout and click the i/o fiald and see the attributes ur screen name will be like this screen-name = '%_P_LOCAL_%_APP_%-TEXT'   it is generated by system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 06:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758917#M1115967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-30T06:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758918#M1115968</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;.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
screen-name = 'P_LOCAL'. "-------------------------&amp;gt; name of the label in    selection screen
OR screen-name = '%_P_LOCAL_%_APP_%-TEXT'.---------------------&amp;gt; name of the text field next to the label.....


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just put a break-point under LOOP AT SCREEN..it will be clear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 06:33:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758918#M1115968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-30T06:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758919#M1115969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at Screen Statement is basically used to putting aloop on the screen fields whichare present on the screen ( It can be a selection screen for your case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While using the Loop at screen you are assigning the value to the screen fields to execute further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 06:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758919#M1115969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-30T06:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758920#M1115970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 09:57:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection/m-p/4758920#M1115970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-26T09:57:36Z</dc:date>
    </item>
  </channel>
</rss>

