<?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 with 2 rows in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-2-rows/m-p/3246556#M774912</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;remove NO-EXTENSION.. then on the selection screen hit on the multiple selection aroow the yellow chingee.. and give your other value also and save the variant.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this way you would be able to send two rows in the vtref_r&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or build a range table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2008 16:25:47 GMT</pubDate>
    <dc:creator>former_member156446</dc:creator>
    <dc:date>2008-01-04T16:25:47Z</dc:date>
    <item>
      <title>select-options with 2 rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-2-rows/m-p/3246555#M774911</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've got to make a report with 2 rows in the select-options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: sel001 FOR stichtag NO INTERVALS NO-EXTENSION,&lt;/P&gt;&lt;P&gt;                sel002 FOR dfkkop-gpart DEFAULT 'M00000' TO 'M99999',&lt;/P&gt;&lt;P&gt;                sel003 FOR dfkkop-vtref DEFAULT 'A00000' TO 'A99999',&lt;/P&gt;&lt;P&gt;                sel004 FOR dimaiobpar-zstatus DEFAULT '1' NO INTERVALS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for sel003 i need another default-row with 'B00000' to 'B99999' so that i can assign both rows to vtref_r &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; APPEND sel002 TO gpart_r.&lt;/P&gt;&lt;P&gt; APPEND sel003 TO vtref_r.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'FKK_OPEN_ITEM_SELECT_WITH_DATE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            i_key_date = stichtag&lt;/P&gt;&lt;P&gt;            i_gpart    = gpart_r&lt;/P&gt;&lt;P&gt;            i_vtref    = vtref_r&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            t_op       = itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need both in this function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 16:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-2-rows/m-p/3246555#M774911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T16:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: select-options with 2 rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-2-rows/m-p/3246556#M774912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;remove NO-EXTENSION.. then on the selection screen hit on the multiple selection aroow the yellow chingee.. and give your other value also and save the variant.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this way you would be able to send two rows in the vtref_r&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or build a range table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 16:25:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-2-rows/m-p/3246556#M774912</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-01-04T16:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: select-options with 2 rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-2-rows/m-p/3246557#M774913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Tobias,&lt;/P&gt;&lt;P&gt;i think that you have to load them in event INITIALIZZATION as it follows&lt;/P&gt;&lt;P&gt;&amp;gt;INITIALIZZATION.&lt;/P&gt;&lt;P&gt;&amp;gt;sel003-sign = 'I'.&lt;/P&gt;&lt;P&gt;&amp;gt;sel003-option = 'BT'.&lt;/P&gt;&lt;P&gt;&amp;gt;sel003-low =  'A00000'.&lt;/P&gt;&lt;P&gt;&amp;gt;sel003-high =  'A99999'.&lt;/P&gt;&lt;P&gt;&amp;gt;append sel003.&lt;/P&gt;&lt;P&gt;&amp;gt;clear sel003.&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;gt;sel003-sign = 'I'.&lt;/P&gt;&lt;P&gt;&amp;gt;sel003-option = 'BT'.&lt;/P&gt;&lt;P&gt;&amp;gt;sel003-low =  'B00000'.&lt;/P&gt;&lt;P&gt;&amp;gt;sel003-high =  'B99999'.&lt;/P&gt;&lt;P&gt;&amp;gt;append sel003.&lt;/P&gt;&lt;P&gt;&amp;gt;clear sel003.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye &lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 16:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-2-rows/m-p/3246557#M774913</guid>
      <dc:creator>mnicolai_77</dc:creator>
      <dc:date>2008-01-04T16:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: select-options with 2 rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-2-rows/m-p/3246558#M774914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the header line of sel003 to append these values to the selection table sel003 (actually sel003 is the name of the header line as well as the table created using SELECT-OPTIONS sel003 for.... statement).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
APPEND sel002 TO gpart_r.
APPEND sel003 TO vtref_r.

"set the header line for sel003 for the second row
sel003-sign = 'I'.
sel003-option = 'BT'. "between for a range
sel003-low = 'B00000'.
sel003-high = 'B99999'.
append sel003.
clear sel003." this will clear the header line sel003

CALL FUNCTION 'FKK_OPEN_ITEM_SELECT_WITH_DATE'
EXPORTING
i_key_date = stichtag
i_gpart = gpart_r
i_vtref = vtref_r
TABLES
t_op = itab2.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using header lines is an obsolete way in ABAP Objects context, try avoiding it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sanjeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 16:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-2-rows/m-p/3246558#M774914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T16:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: select-options with 2 rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-2-rows/m-p/3246559#M774915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If that default row is not to be modified by the user, then simply define a range and fill that range as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES: r_vtref FOR dfkkop-vtref DEFAULT 'B00000' TO 'B99999'.&lt;/P&gt;&lt;P&gt;APPEND r_vtref TO vtref_r.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or simply do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vtref_r-low = 'B00000'.&lt;/P&gt;&lt;P&gt;vtref_r-high = 'B99999'.&lt;/P&gt;&lt;P&gt;vtref_r-option = 'EQ'.&lt;/P&gt;&lt;P&gt;vtref_r-sign = 'I'.&lt;/P&gt;&lt;P&gt;APPEND vtref_r.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 16:39:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-2-rows/m-p/3246559#M774915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T16:39:29Z</dc:date>
    </item>
  </channel>
</rss>

