<?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 texts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249266#M144540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Dynamic Dictionary Reference&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the data type of a parameter to refer dynamically to a data type from the ABAP Dictionary, use the following syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS &amp;lt;p&amp;gt; LIKE (&amp;lt;name&amp;gt;) ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the time the selection screen is called, field &amp;lt;name&amp;gt; must contain the name from a data type of the ABAP Dictionary. Currently, parameters can only refer to fields of database tables, views and structures. The parameter dynamically adopts the attributes of the Dictionary type, that is, technical properties and help texts. If you do not create a selection text for the parameter in the program, the field label from the Dictionary appears as the description on the selection screen. Otherwise, the selection text is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The contents of field &amp;lt;name&amp;gt; are taken from the program in which the selection screen is defined. If the selection screen is defined in the selection part of a logical database, then field &amp;lt;name&amp;gt; of the associated database program is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT DEMO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA NAME(20) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 500.&lt;/P&gt;&lt;P&gt;  PARAMETERS P_CARR LIKE (NAME).&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME = 'SPFLI-CARRID'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Apr 2006 12:05:25 GMT</pubDate>
    <dc:creator>vinod_gunaware2</dc:creator>
    <dc:date>2006-04-12T12:05:25Z</dc:date>
    <item>
      <title>Selection texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249261#M144535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please help me to set the selection texts dynamically in a report ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 11:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249261#M144535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T11:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Selection texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249262#M144536</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;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN COMMENT 1(10) AAA FOR FIELD P1.&lt;/P&gt;&lt;P&gt;  PARAMETERS: P1 LIKE SAPLANE-PLANETYPE, P2(5), P3(1).&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initilization.&lt;/P&gt;&lt;P&gt;AAA = 'Selection'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 11:11:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249262#M144536</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-04-12T11:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Selection texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249263#M144537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to set the name of P1 dynamically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 11:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249263#M144537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T11:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Selection texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249264#M144538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sabyasachi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. simple.&lt;/P&gt;&lt;P&gt;2. suppose your field name is MYFIELD,&lt;/P&gt;&lt;P&gt;   then the label/text can be changed/accessed &lt;/P&gt;&lt;P&gt;   like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%_&amp;lt;b&amp;gt;MYFIELD&amp;lt;/b&amp;gt;_%_APP_%-TEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. just copy paste this small program.&lt;/P&gt;&lt;P&gt;  Enter any thing in the text box,   &lt;/P&gt;&lt;P&gt;  and it will dynanmially change the text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTRN_SCREEN_ELEMENTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt; Block&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-001.&lt;/P&gt;&lt;P&gt;parameters : myfield(25) type c default 'Type and press Enter'.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;%_MYFIELD_%_APP_%-TEXT = myfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 11:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249264#M144538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T11:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Selection texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249265#M144539</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;Try...&lt;/P&gt;&lt;P&gt;INSERT TEXTPOOL PROGRAM FROM TAB LANGUAGE SY-LANGU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 11:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249265#M144539</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-04-12T11:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Selection texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249266#M144540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Dynamic Dictionary Reference&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the data type of a parameter to refer dynamically to a data type from the ABAP Dictionary, use the following syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS &amp;lt;p&amp;gt; LIKE (&amp;lt;name&amp;gt;) ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the time the selection screen is called, field &amp;lt;name&amp;gt; must contain the name from a data type of the ABAP Dictionary. Currently, parameters can only refer to fields of database tables, views and structures. The parameter dynamically adopts the attributes of the Dictionary type, that is, technical properties and help texts. If you do not create a selection text for the parameter in the program, the field label from the Dictionary appears as the description on the selection screen. Otherwise, the selection text is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The contents of field &amp;lt;name&amp;gt; are taken from the program in which the selection screen is defined. If the selection screen is defined in the selection part of a logical database, then field &amp;lt;name&amp;gt; of the associated database program is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT DEMO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA NAME(20) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 500.&lt;/P&gt;&lt;P&gt;  PARAMETERS P_CARR LIKE (NAME).&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME = 'SPFLI-CARRID'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 12:05:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-texts/m-p/1249266#M144540</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-04-12T12:05:25Z</dc:date>
    </item>
  </channel>
</rss>

