<?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 options in module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759640#M1304579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a screen with fields which apprears twice on the screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field1 -- bkpf-belnr_low &lt;/P&gt;&lt;P&gt;field2 -- bkpf-belnr_high&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PBO &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; chain.&lt;/P&gt;&lt;P&gt;field bkpf-belnr_low &lt;/P&gt;&lt;P&gt;field bkpf-belnr_high.&lt;/P&gt;&lt;P&gt;module bkpf-belnr.---&amp;gt;do validations on low &amp;amp; high values.&lt;/P&gt;&lt;P&gt; endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adn create range table based on the low &amp;amp; high values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look at FM COMPLEX_SELECTIONS_DIALOG for F4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2009 07:37:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-17T07:37:42Z</dc:date>
    <item>
      <title>Select options in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759637#M1304576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Please suggest me a method to input range for a field through select options in module pool selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Also i want to display to paramaters or any two selection screen obejcts on one horizontal line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I want to display one more parameter on 15th line in selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Digvijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 06:59:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759637#M1304576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T06:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Select options in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759638#M1304577</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;In order to provide the select-option u need to use Ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use PBO with Loop at Screen for the selection option and the parameter with using a check box or Radio Button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can display on them horizontal Line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 07:04:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759638#M1304577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T07:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select options in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759639#M1304578</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;You can design the selection screen using and call this screen in the module pool..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection-screen begin of screen 0010 as subscreen.
" Design your screen here
selection-screen end of screen 0010.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Check this link..&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3760480"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 07:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759639#M1304578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T07:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Select options in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759640#M1304579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a screen with fields which apprears twice on the screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field1 -- bkpf-belnr_low &lt;/P&gt;&lt;P&gt;field2 -- bkpf-belnr_high&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PBO &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; chain.&lt;/P&gt;&lt;P&gt;field bkpf-belnr_low &lt;/P&gt;&lt;P&gt;field bkpf-belnr_high.&lt;/P&gt;&lt;P&gt;module bkpf-belnr.---&amp;gt;do validations on low &amp;amp; high values.&lt;/P&gt;&lt;P&gt; endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adn create range table based on the low &amp;amp; high values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look at FM COMPLEX_SELECTIONS_DIALOG for F4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 07:37:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759640#M1304579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T07:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select options in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759641#M1304580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks all but is n't thr a way tht i can do it with out calling subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for displaying two parameters in horizontal line i m talking about screen design for screen 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Digvijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 07:41:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759641#M1304580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T07:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Select options in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759642#M1304581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks all but is n't thr a way tht i can do it with out calling subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for displaying two parameters in horizontal line i m talking about screen design for screen 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Digvijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 07:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759642#M1304581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T07:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select options in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759643#M1304582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello DS , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
screeen elements.

PAYR-CHECT--&amp;gt;text
R_CHECK-LOW--&amp;gt;i/0
%#AUTOTEXT007---&amp;gt;text
R_CHECK-HIGH--&amp;gt;i/o
CHECK_VALU_PUSH---&amp;gt;push button
%#AUTOTEXT006---&amp;gt;push button


PAI.


  chain.
   field r_check-low.
   field r_check-high.
   module r_check.
  endchain.


module r_check input.
  clear ok_code.
  ok_code = sy-ucomm.
* clear value high if it is 00000000
  if ( r_check-high eq 0 ) .
    clear r_check-high.
  endif.
  if ( r_check-low eq 0 ).
    clear r_check-low.
  endif.
  if not r_check-low eq space .
    if not r_check-high eq space .
      if  r_check-low le r_check-high.
        message e339(ehs_oh).
      else.
        if ( r_check-sign is initial ).
          r_check-sign   = 'I'.
        endif.
        r_check-option = 'BT'.
        append r_check.
      endif.
    else.
      if (  r_check-sign is initial ).
        r_check-sign   = 'I'.
        r_check-option = 'EQ'.
      elseif (   r_check-high is initial
             and r_check-option &amp;lt;&amp;gt; 'EQ' ).
        r_check-option = 'EQ'.
      endif.
      append r_check.
    endif.
  else.
    if r_check-high eq space .
      clear r_check.
    else.
      r_check-sign   = 'I'.
      r_check-option = 'BT'.
      append r_check.
    endif.
  endif.
  sort r_check by low high.
  delete adjacent duplicates from r_check comparing all fields.
  case ok_code.
    when 'CHECK'.
      perform complex_hcent_selection
                                tables r_check
                                using  'Select Check No'
                                     'PAYR-CHECT'.
  endcase.
endmodule.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 07:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759643#M1304582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T07:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Select options in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759644#M1304583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have to get field from dictionary not from program. when i fetch field from dictionary it gets locked.&lt;/P&gt;&lt;P&gt;unable 2 specify ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and hw can i place parameters in screen 1000 at desired position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Digvijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 08:03:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759644#M1304583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T08:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select options in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759645#M1304584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my code will look like standard SAP selections....only diff is i'm putting it in a simple way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can also cross check with screen no 1000 of any screen...... u have to maintain ranges for the field.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 08:33:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-module-pool/m-p/5759645#M1304584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T08:33:38Z</dc:date>
    </item>
  </channel>
</rss>

