<?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: How to edit Select-option text? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-select-option-text/m-p/7322399#M1537033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ronny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please test the following Sample Code hope this is what you required.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS sodate FOR sy-datum.

AT SELECTION-SCREEN OUTPUT.
  %_sodate_%_app_%-to_text = 'XYZ'." Here I have Replaced to with XYZ&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please reply if any Issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Oct 2010 06:27:59 GMT</pubDate>
    <dc:creator>faisalatsap</dc:creator>
    <dc:date>2010-10-05T06:27:59Z</dc:date>
    <item>
      <title>How to edit Select-option text?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-select-option-text/m-p/7322397#M1537031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to change 'to' word in select option.&lt;/P&gt;&lt;P&gt;Generally, it displays as...&lt;/P&gt;&lt;P&gt;Material :      _________    to _________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we change the word 'to'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 06:17:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-select-option-text/m-p/7322397#M1537031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T06:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit Select-option text?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-select-option-text/m-p/7322398#M1537032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronny Hanks,&lt;/P&gt;&lt;P&gt;As far as my knowledge, you cannot achieve that directly. Rather you can declare 2 parameters as Low &amp;amp; high and using Selection-Screen Comment you can chive what client wants. For example :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (15) TEXT-003.

SELECTION-SCREEN POSITION 33.

PARAMETERS : P_PERIOL(2) TYPE N OBLIGATORY.

SELECTION-SCREEN COMMENT 52(6) TEXT-004.

SELECTION-SCREEN POSITION 58.

PARAMETERS : P_PERIOH(2) TYPE N OBLIGATORY.

SELECTION-SCREEN END OF LINE.
"Here you can write TEXT-004 as required
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 06:20:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-select-option-text/m-p/7322398#M1537032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T06:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit Select-option text?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-select-option-text/m-p/7322399#M1537033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ronny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please test the following Sample Code hope this is what you required.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS sodate FOR sy-datum.

AT SELECTION-SCREEN OUTPUT.
  %_sodate_%_app_%-to_text = 'XYZ'." Here I have Replaced to with XYZ&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please reply if any Issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 06:27:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-select-option-text/m-p/7322399#M1537033</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2010-10-05T06:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit Select-option text?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-select-option-text/m-p/7322400#M1537034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Altaf,&lt;/P&gt;&lt;P&gt;your answer is good but it fails as soon as i reactive the screen so it won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Ronny,&lt;/P&gt;&lt;P&gt;The solution for your requirement  is difficult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but you can try the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection Text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_MATNR1	   _                         &lt;/P&gt;&lt;P&gt;S_MATNR2	   _                 &lt;/P&gt;&lt;P&gt;________	______________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text symbol&lt;/P&gt;&lt;P&gt;003	HI&lt;/P&gt;&lt;P&gt;004	BYE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : BEGIN OF BLOCK B1 with frame.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT (15) TEXT-003.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_matnr1 FOR mara-matnr NO INTERVALS .&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 52(6) TEXT-004.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 58.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_matnr2 FOR mara-matnr NO INTERVALS .&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then create a range i.e R_matnr&lt;/P&gt;&lt;P&gt;and then pass the value of s_matnr1 and s_matnr into it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 07:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-select-option-text/m-p/7322400#M1537034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T07:01:50Z</dc:date>
    </item>
  </channel>
</rss>

