<?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: Initialize SELECT-OPTIONS values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011831#M1166515</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;Here in you program you have given both the low and high i.e you are initialising a range..So , the option BT will be used..the option EQ is used only when you are giving single value.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vasavi Kotha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2009 09:48:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-07T09:48:52Z</dc:date>
    <item>
      <title>Initialize SELECT-OPTIONS values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011827#M1166511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to initialize a parameter of my SELECT-OPTIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_date FOR sy-datum,&lt;/P&gt;&lt;P&gt;                              ptype  FOR l_bkpf-blart,&lt;/P&gt;&lt;P&gt;                              pexo   FOR l_bkpf-gjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  pexo-sign = 'I'.&lt;/P&gt;&lt;P&gt;  pexo-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  pexo-high = sy-datum(4).&lt;/P&gt;&lt;P&gt;  pexo-low  = sy-datum(4) - 1.&lt;/P&gt;&lt;P&gt; APPEND pexo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, my problem is that in my START-OF-SELECTION the pexo variable have not the values of INITIALIZATION, the system write in option 'BT'. Any ideas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 09:33:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011827#M1166511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T09:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize SELECT-OPTIONS values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011828#M1166512</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;when you passing the low value and High value you need to use the BT option not the EQ. as system considers the value need to check between low and high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: s_date FOR sy-datum,
ptype FOR l_bkpf-blart,
pexo FOR l_bkpf-gjahr.

INITIALIZATION.
pexo-sign = 'I'.
pexo-option = 'BT'.
pexo-high = sy-datum(4).
pexo-low = sy-datum(4) - 1.
APPEND pexo.

START-OF-SELECTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 09:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011828#M1166512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T09:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize SELECT-OPTIONS values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011829#M1166513</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;try below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
INITIALIZATION.
pexo-sign = 'I'.
pexo-option = 'EQ'.
pexo-high = sy-datum(4).
pexo-low = sy-datum(4) - 1.
Modify pexo.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 09:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011829#M1166513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T09:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize SELECT-OPTIONS values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011830#M1166514</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;   Try the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_date FOR sy-datum,&lt;/P&gt;&lt;P&gt;ptype FOR l_bkpf-blart,&lt;/P&gt;&lt;P&gt;pexo FOR l_bkpf-gjahr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;pexo-sign = 'I'.&lt;/P&gt;&lt;P&gt;pexo-option = 'BT'.&lt;/P&gt;&lt;P&gt;pexo-high = sy-datum(4).&lt;/P&gt;&lt;P&gt;pexo-low = sy-datum(4) - 1.&lt;/P&gt;&lt;P&gt;APPEND pexo.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 09:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011830#M1166514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T09:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize SELECT-OPTIONS values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011831#M1166515</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;Here in you program you have given both the low and high i.e you are initialising a range..So , the option BT will be used..the option EQ is used only when you are giving single value.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vasavi Kotha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 09:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011831#M1166515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T09:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize SELECT-OPTIONS values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011832#M1166516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the INITIALIZATION.below you are providing both low and high values so it has to option BT .System doing is write .change ur INITIALIZATION event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;pexo-sign = 'I'.&lt;/P&gt;&lt;P&gt;pexo-option = 'EQ'.&lt;/P&gt;&lt;P&gt;pexo-high = sy-datum(4).&lt;/P&gt;&lt;P&gt;pexo-low = sy-datum(4) - 1.&lt;/P&gt;&lt;P&gt;APPEND pexo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 09:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011832#M1166516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T09:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize SELECT-OPTIONS values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011833#M1166517</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 had assigned the values in initialization , tht is correct , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as this selection option will act like an internal table and it has structure like &lt;/P&gt;&lt;P&gt;SIGN , OPTION , LOW ,HIGH .&lt;/P&gt;&lt;P&gt;it will store  all the values provided by you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so after the code you mentioned , if in START-OF-SELECTION.&lt;/P&gt;&lt;P&gt; if you write a statement like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write pexo.               " Output is IBT20082009 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take the values separetely like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: pexo-low , pexo-high.      " output is  2008 2009 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 09:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011833#M1166517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T09:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize SELECT-OPTIONS values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011834#M1166518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_date FOR sy-datum,&lt;/P&gt;&lt;P&gt;ptype FOR l_bkpf-blart,&lt;/P&gt;&lt;P&gt;pexo FOR l_bkpf-gjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;pexo-sign = 'I'.&lt;/P&gt;&lt;P&gt;pexo-option = 'BT'.&lt;/P&gt;&lt;P&gt;pexo-high = sy-datum(4).&lt;/P&gt;&lt;P&gt;pexo-low = sy-datum(4) - 1.&lt;/P&gt;&lt;P&gt;APPEND pexo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 09:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011834#M1166518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T09:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Initialize SELECT-OPTIONS values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011835#M1166519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 11:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initialize-select-options-values/m-p/5011835#M1166519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T11:56:30Z</dc:date>
    </item>
  </channel>
</rss>

