<?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: about select-option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878331#M51165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to Poornanand Mandalika.&lt;/P&gt;&lt;P&gt;But I had try this way, but it looks like the select-option screen can be include as a subscreen. So the system throw a error to me.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Durairaj Athavan Raja,  as you mentioned the function  COMPLEX_SELECTIONS_DIALOG. Can you give me a more detail explain on it, and how to use it?  Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Apr 2005 06:27:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-04-25T06:27:09Z</dc:date>
    <item>
      <title>about select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878326#M51160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, eveybody. &lt;/P&gt;&lt;P&gt;I want to create a input box has the function like select-option in dynpro screen. How I can do it?&lt;/P&gt;&lt;P&gt;As the SAP automatically offer many code for select-optons. How can I realize the same function in the screen. &lt;/P&gt;&lt;P&gt;Hope you can give me any suggestion, or sample.&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 02:26:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878326#M51160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-25T02:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: about select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878327#M51161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi zhenglin gu ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl go thro' the SAP demo program, &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;demo_dynpro_module&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;. It will help to solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Elini.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 03:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878327#M51161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-25T03:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: about select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878328#M51162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you reply. &lt;/P&gt;&lt;P&gt;But in the Demo, it just a search help, not a select-options. &lt;/P&gt;&lt;P&gt;What I want is the mutiple select and sign select like select-option offer.&lt;/P&gt;&lt;P&gt;How can I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I can define a select-option screen, and call subscreen in the main screen, will it sucessful?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 04:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878328#M51162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-25T04:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: about select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878329#M51163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the following function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPLEX_SELECTIONS_DIALOG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to know how to use this function do let us know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 05:30:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878329#M51163</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-04-25T05:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: about select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878330#M51164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Zhengln,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend using the subscreen area and calling a user-defined selection-screen in that subscreen. I think that's the best approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 05:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878330#M51164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-25T05:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: about select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878331#M51165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to Poornanand Mandalika.&lt;/P&gt;&lt;P&gt;But I had try this way, but it looks like the select-option screen can be include as a subscreen. So the system throw a error to me.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Durairaj Athavan Raja,  as you mentioned the function  COMPLEX_SELECTIONS_DIALOG. Can you give me a more detail explain on it, and how to use it?  Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 06:27:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878331#M51165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-25T06:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: about select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878332#M51166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhenglin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not undertsand what error you're getting when you include the selection screen as the subscreen. could you please elaborate what exactly you're trying to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function Module in question has got a very detailed documentation. Did you read that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 06:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878332#M51166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-25T06:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: about select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878333#M51167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Anand had said the FM has a detailed documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;How to use it:&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say you have a field(e.g cost center) in the screen and you just want to have multiple selection for the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;place an input field in the screen and place an icon next to it. on clicking the icon call this FM like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
data: wf_tab_field like rstabfield occurs 0 with header line ,
      wf_exl_opt like rsoptions .
ranges: r_kostl for csks-kostl .
move: 'KOSTL' to wf_tab_field-fieldname ,
          'CSKS' to wf_tab_field-tablename .
    append wf_tab_field .
    clear wf_tab_field .
   
move: 'X' to wf_exl_opt-bt ,
          'X' to wf_exl_opt-cp ,
          'X' to wf_exl_opt-ge ,
          'X' to wf_exl_opt-gt ,
          'X' to wf_exl_opt-le ,
          'X' to wf_exl_opt-lt ,
          'X' to wf_exl_opt-nb ,
          'X' to wf_exl_opt-np .

 call function 'COMPLEX_SELECTIONS_DIALOG'
     exporting
       title                   = 'Select Cost Centers'
       text                    = 'Cost Center'
*         SIGNED                  = 'X'
*         LOWER_CASE              = ' '
*         NO_INTERVAL_CHECK       = ' '
*         JUST_DISPLAY            = ' '
*         JUST_INCL               = ' '
        excluded_options        = wf_exl_opt
*         DESCRIPTION             =
        help_field              = 'CSKS-KOSTL'
*          SEARCH_HELP             = 'KOST'
        tab_and_field           = wf_tab_field
      tables
        range                   = r_kostl
     exceptions
       no_range_tab            = 1
       cancelled               = 2
       internal_error          = 3
       invalid_fieldname       = 4
       others                  = 5
              .
    if sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entered values will be returned in r_kostl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 07:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878333#M51167</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-04-25T07:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: about select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878334#M51168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I defined a select-option screen like following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 0123 AS WINDOW TITLE TEXT-456.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK BL2 WITH FRAME TITLE TEXT-BL1 NO INTERVALS.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_BUKRS2 FOR T001-BUKRS.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK BL2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 0123.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and draw a subscreen control named 'AREA1' in the main screen, and &lt;/P&gt;&lt;P&gt;CALL SUBSCREEN: AREA1 INCLUDING SY-REPID '0123'.&lt;/P&gt;&lt;P&gt;in the PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But system throw me a errormessage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And about the COMPLEX_SELECTIONS_DIALOG, where I can find the detail document about how to call it? &lt;/P&gt;&lt;P&gt;Thanks to all response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 07:04:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878334#M51168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-25T07:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: about select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878335#M51169</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;I think I get what your problem is. Your selection screen is not defined as a subscreen. Consider the following declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF SCREEN 0123 AS SUBSCREEN.
  SELECTION-SCREEN BEGIN OF BLOCK BL2 WITH FRAME 
                                      TITLE TEXT-BL1 NO INTERVALS.
    SELECT-OPTIONS S_BUKRS2 FOR T001-BUKRS.
  SELECTION-SCREEN END OF BLOCK BL2.
SELECTION-SCREEN END OF SCREEN 0123.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 07:16:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-option/m-p/878335#M51169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-25T07:16:38Z</dc:date>
    </item>
  </channel>
</rss>

