<?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: Icon_enter_more in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-enter-more/m-p/7863352#M1593159</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;Why dont you design a screen and call it as a subscreen in your module pool screen. Why are you making things complicated ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyways check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES: sscrfields.

DATA: var TYPE prctr.
RANGES range FOR var.

SELECTION-SCREEN BEGIN OF line.
PARAMETERS:pa TYPE prctr.
SELECTION-SCREEN PUSHBUTTON  15(4) but1 USER-COMMAND but1.
SELECTION-SCREEN end OF line.

AT SELECTION-SCREEN.
  CHECK sscrfields-ucomm EQ 'BUT1'.

  CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
    EXPORTING
      title             = 'Select'
    TABLES
      range             = range
    EXCEPTIONS
      no_range_tab      = 1
      cancelled         = 2
      internal_error    = 3
      invalid_fieldname = 4
      OTHERS            = 5.

  if pa is not initial.
    range-option = 'EQ'.
    range-sign = 'I'.
    range-low = pa.
    append range.
  endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keshav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 May 2011 08:08:48 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2011-05-19T08:08:48Z</dc:date>
    <item>
      <title>Icon_enter_more</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-enter-more/m-p/7863349#M1593156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All The ABAP Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing a module pool in which I have displayed a pushbutton for entering more values and having ICON_ENTER_MORE&lt;/P&gt;&lt;P&gt;as icon. Now I want that when user clicks the pushbutton then the Pop up should get open as we get in Select-options or Parameters with no interval in Reports. I dont want to write a report and use call screen. The field in which I want is Profit center so that user can enter multuple values in it. it is not used as from-to .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get the pop up and read the entered values in internal table so that data can be brought based on the multiple profit centers entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In Advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bharti Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 11:55:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-enter-more/m-p/7863349#M1593156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-18T11:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Icon_enter_more</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-enter-more/m-p/7863350#M1593157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Please use a descriptive subject&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to check the function COMPLEX_SELECTIONS_DIALOG &amp;amp; SELECT_OPTIONS_RESTRICT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using SELECT_OPTIONS_RESTRICT you can restrict the multipel,range values etc options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: var type PRCTR.
RANGES range FOR var.

CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
  EXPORTING
    title             = 'Select'
  TABLES
    range             = range
  EXCEPTIONS
    no_range_tab      = 1
    cancelled         = 2
    internal_error    = 3
    invalid_fieldname = 4
    OTHERS            = 5.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 12:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-enter-more/m-p/7863350#M1593157</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-05-18T12:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Icon_enter_more</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-enter-more/m-p/7863351#M1593158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;It is working but how to capture all the values in an internal table. eg i have entered 1101 in text field then I clicked on Push button and from the F4 help i have selected another value say 1102. &lt;/P&gt;&lt;P&gt;Now I want that all the 2 selected values should cone in an internal table like this:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I  EQ  1101&lt;/P&gt;&lt;P&gt;I  EQ  1102&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can it come directlr or else I have to write some logic . In which event the code for Push button should work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bharti Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 04:03:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-enter-more/m-p/7863351#M1593158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-19T04:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Icon_enter_more</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/icon-enter-more/m-p/7863352#M1593159</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;Why dont you design a screen and call it as a subscreen in your module pool screen. Why are you making things complicated ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyways check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES: sscrfields.

DATA: var TYPE prctr.
RANGES range FOR var.

SELECTION-SCREEN BEGIN OF line.
PARAMETERS:pa TYPE prctr.
SELECTION-SCREEN PUSHBUTTON  15(4) but1 USER-COMMAND but1.
SELECTION-SCREEN end OF line.

AT SELECTION-SCREEN.
  CHECK sscrfields-ucomm EQ 'BUT1'.

  CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
    EXPORTING
      title             = 'Select'
    TABLES
      range             = range
    EXCEPTIONS
      no_range_tab      = 1
      cancelled         = 2
      internal_error    = 3
      invalid_fieldname = 4
      OTHERS            = 5.

  if pa is not initial.
    range-option = 'EQ'.
    range-sign = 'I'.
    range-low = pa.
    append range.
  endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keshav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 08:08:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/icon-enter-more/m-p/7863352#M1593159</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-05-19T08:08:48Z</dc:date>
    </item>
  </channel>
</rss>

