<?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: Select-option length specification (in report program, not module pool) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321938#M1394634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     in select-options u cannot set like that...see extract from std keyword documentation:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Two input fields with the name selcrit-low and selcrit-high are created on the current selection screen using a matching external data type in a new line at positions 35 and 60. The length of the input fields bases upon the length of the data type which is defined after FOR. The maximum length of the input fields is 45. The maximum visible length of the input fields is, depending on the nesting depth, in blocks with frames between 10 and 18. If the length is larger than the maximum visible length, then the content is scrollable. "&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is  use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_x TYPE string VISIBLE LENGTH 40.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Oct 2009 09:20:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-27T09:20:49Z</dc:date>
    <item>
      <title>Select-option length specification (in report program, not module pool)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321933#M1394629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear forumers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to properly customize the length of a select-option in a report program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, the select-option S_ADMAIL is shown in the selection screen at a length of 18 characters. No matter what I've coded, this length does not change. The requirement states for the length to be shown at 40 characters long:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Admin Email (type STRING showing up to 40 char on screen)&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How may I fix the select-option's visible length to 40 characters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: v_admail TYPE string.   " Tried with TYPE CHAR40 too

SELECT-OPTIONS: s_admail FOR (v_admail) NO INTERVALS VISIBLE LENGTH 40.

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF screen-name CS 'S_ADMAIL'.
      screen-length = 40.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps there is an FM that can accomplish this (but I'm not sure what it is)? Please do help. Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 08:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321933#M1394629</guid>
      <dc:creator>former_member367551</dc:creator>
      <dc:date>2009-10-27T08:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option length specification (in report program, not module pool)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321934#M1394630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will allow 40 characters as input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:l_in type char40.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:so_input for l_in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 09:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321934#M1394630</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-10-27T09:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option length specification (in report program, not module pool)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321935#M1394631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to have it &lt;STRONG&gt;displayed&lt;/STRONG&gt; in the selection screen as 40 characters long. How may I do this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no issues about the input length. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 09:10:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321935#M1394631</guid>
      <dc:creator>former_member367551</dc:creator>
      <dc:date>2009-10-27T09:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option length specification (in report program, not module pool)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321936#M1394632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Documentaion for visible length&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This addition defines a visible length of vlen for the input fields, where vlen must be specified directly as a positive number. &lt;STRONG&gt;If vlen is shorter than the length of columns low and high in the selection table and shorter than the maximum visible length, the input field is displayed at a length of vlen&lt;/STRONG&gt; and the entry can be scrolled. &lt;STRONG&gt;Otherwise, the addition is ignored.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 09:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321936#M1394632</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-10-27T09:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option length specification (in report program, not module pool)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321937#M1394633</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;The visible length cannot be changed beyond the maximum allowed as the select options occupy fixed postions predetermined in the selection screen by standard. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 09:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321937#M1394633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-27T09:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option length specification (in report program, not module pool)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321938#M1394634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     in select-options u cannot set like that...see extract from std keyword documentation:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Two input fields with the name selcrit-low and selcrit-high are created on the current selection screen using a matching external data type in a new line at positions 35 and 60. The length of the input fields bases upon the length of the data type which is defined after FOR. The maximum length of the input fields is 45. The maximum visible length of the input fields is, depending on the nesting depth, in blocks with frames between 10 and 18. If the length is larger than the maximum visible length, then the content is scrollable. "&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is  use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_x TYPE string VISIBLE LENGTH 40.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 09:20:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321938#M1394634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-27T09:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option length specification (in report program, not module pool)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321939#M1394635</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;P&gt;You declare the select option as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_admail FOR v_admail VISIBLE LENGTH 40.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be it work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shambhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 09:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321939#M1394635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-27T09:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option length specification (in report program, not module pool)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321940#M1394636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Tan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables : makt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options maknr for makt-maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;now go to the screen painter of your program in change mode and move the Help buttons first to the Right each. now&lt;/STRONG&gt; *increasethe length of the Matnr Field length so that they are equal to 40 Char. in your program you have handle the length &lt;STRONG&gt;now&lt;/STRONG&gt; if you want to restrict to 18 otherwise it will be ok*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if they don't fit you need &lt;STRONG&gt;incease the Size of the Screen Visible area&lt;/STRONG&gt; both in the Screen Painter as well as in the &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screen Attributes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also get an Information Message just ignore that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just open your program in &lt;STRONG&gt;SE80&lt;/STRONG&gt; if you can't go to the screen painter in SE38. the other way just keep this program in Display mode and execute then take F1 help , take Technical Information and double click on the Screen number now go to the Screen Layout and go to Change mode here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is Very Clear to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just did it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramchander Krishnamraju on Oct 27, 2009 10:39 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramchander Krishnamraju on Oct 27, 2009 10:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 09:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321940#M1394636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-27T09:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option length specification (in report program, not module pool)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321941#M1394637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much for all the helpful explanations given. It's clearer now. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement has also been changed as multiple values are needed (if single value - a parameter can be used instead). So I'll be sticking to the select-option and the requirement on the visible length of 40 has been removed as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramchander, I tried out your solution and it works well too! THANKS!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Deborah Tan on Oct 29, 2009 10:07 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 08:18:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-length-specification-in-report-program-not-module-pool/m-p/6321941#M1394637</guid>
      <dc:creator>former_member367551</dc:creator>
      <dc:date>2009-10-29T08:18:53Z</dc:date>
    </item>
  </channel>
</rss>

