<?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: Complex_Selections_dialog in Module Pool Programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/complex-selections-dialog-in-module-pool-programming/m-p/2186744#M465744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this sample for selecting cost centers with only option of using EQ and NE&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 .
*      ' ' to wf_exl_opt-NE .

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;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2007 06:10:01 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2007-04-24T06:10:01Z</dc:date>
    <item>
      <title>Complex_Selections_dialog in Module Pool Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complex-selections-dialog-in-module-pool-programming/m-p/2186743#M465743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen (say 100) and i have few fields in it ... (field A, B, C) ...&lt;/P&gt;&lt;P&gt;Field B should accept 10 different values like 1,1,23,4,64,32,5,67,3,2 ..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can say the above requirement exactly like .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : b for &amp;lt;tab&amp;gt; no-intervals.      "it should allow only extensions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a PUSH Button Near the Field B ... So on click of the Push Button in the PAI event i should invoke my requirement .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve the same????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope iam clear with my question !! Please revert it iam not  ;( &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;Cheers &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kripa Rangachari.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 06:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complex-selections-dialog-in-module-pool-programming/m-p/2186743#M465743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T06:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Complex_Selections_dialog in Module Pool Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complex-selections-dialog-in-module-pool-programming/m-p/2186744#M465744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this sample for selecting cost centers with only option of using EQ and NE&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 .
*      ' ' to wf_exl_opt-NE .

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;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 06:10:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complex-selections-dialog-in-module-pool-programming/m-p/2186744#M465744</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-04-24T06:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Complex_Selections_dialog in Module Pool Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/complex-selections-dialog-in-module-pool-programming/m-p/2186745#M465745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could take a look at FM COMPLEX_SELECTIONS_DIALOG. The module will show like a SELECTION-SCREEN and return a RANGE type parameter. Use parameter EXCLUDED_OPTIONS to remove the not desired options . (BT, NE, etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 06:13:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/complex-selections-dialog-in-module-pool-programming/m-p/2186745#M465745</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-04-24T06:13:45Z</dc:date>
    </item>
  </channel>
</rss>

