<?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: multiple select-option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984357#M704705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you have to build your fieldcatalog dynamically, the select options are nothing else but a table of type ranges, so just loop over the table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at s_measure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if s_mesure-low = 'km'.&lt;/P&gt;&lt;P&gt;    CLEAR wa_fcat.&lt;/P&gt;&lt;P&gt;    wa_fcat-fieldname      = 'KM'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_l      = 'Kilometers'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_m      = 'Kilometers'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_s      = 'Kilometers'.&lt;/P&gt;&lt;P&gt;    APPEND wa_fcat TO it_fcat.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if s_mesure-low = 'miles'.&lt;/P&gt;&lt;P&gt;    CLEAR wa_fcat.&lt;/P&gt;&lt;P&gt;    wa_fcat-fieldname      = 'MILES'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_l      = 'Miles'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_m      = 'Miles'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_s      = 'Miles'.&lt;/P&gt;&lt;P&gt;    APPEND wa_fcat TO it_fcat.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if s_mesure-low = 'LY'.&lt;/P&gt;&lt;P&gt;    CLEAR wa_fcat.&lt;/P&gt;&lt;P&gt;    wa_fcat-fieldname      = 'LY'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_l      = 'lightyeras'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_m      = lightyeras'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_s      = 'lightyeras'.&lt;/P&gt;&lt;P&gt;    APPEND wa_fcat TO it_fcat.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course theres a lot more to do but i hope you get the point. You have to foresee every possible measurment and react on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2007 08:05:08 GMT</pubDate>
    <dc:creator>rainer_hbenthal</dc:creator>
    <dc:date>2007-11-09T08:05:08Z</dc:date>
    <item>
      <title>multiple select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984354#M704702</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;I would just like to ask for your ideas on how can I output in ALV the multiple entries in your select-options. Here's the scenario, I have a select-option which is unit of measurement and it can have a multiple entries. The requirement is that I should output in ALV the conversion based on how many are the entries. If there are two entries, I should have 2 conversion and both of them should be in ALV.&lt;/P&gt;&lt;P&gt;I hope you can help me gurus.thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;gizelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 06:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984354#M704702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T06:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: multiple select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984355#M704703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to make it clear: when you enter km and miles in your select-option, you would like to have two columns in your alv showing a distance in km and in miles? And if you select additionally lightyears to your options, you would like to have three columns showng the distance in three units?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 07:10:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984355#M704703</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2007-11-09T07:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: multiple select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984356#M704704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rainer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes your correct. That's how my output should be.&lt;/P&gt;&lt;P&gt;Do you have any ideas on how can I make it?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 07:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984356#M704704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T07:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: multiple select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984357#M704705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you have to build your fieldcatalog dynamically, the select options are nothing else but a table of type ranges, so just loop over the table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at s_measure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if s_mesure-low = 'km'.&lt;/P&gt;&lt;P&gt;    CLEAR wa_fcat.&lt;/P&gt;&lt;P&gt;    wa_fcat-fieldname      = 'KM'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_l      = 'Kilometers'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_m      = 'Kilometers'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_s      = 'Kilometers'.&lt;/P&gt;&lt;P&gt;    APPEND wa_fcat TO it_fcat.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if s_mesure-low = 'miles'.&lt;/P&gt;&lt;P&gt;    CLEAR wa_fcat.&lt;/P&gt;&lt;P&gt;    wa_fcat-fieldname      = 'MILES'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_l      = 'Miles'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_m      = 'Miles'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_s      = 'Miles'.&lt;/P&gt;&lt;P&gt;    APPEND wa_fcat TO it_fcat.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if s_mesure-low = 'LY'.&lt;/P&gt;&lt;P&gt;    CLEAR wa_fcat.&lt;/P&gt;&lt;P&gt;    wa_fcat-fieldname      = 'LY'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_l      = 'lightyeras'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_m      = lightyeras'.&lt;/P&gt;&lt;P&gt;    wa_fcat-seltext_s      = 'lightyeras'.&lt;/P&gt;&lt;P&gt;    APPEND wa_fcat TO it_fcat.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course theres a lot more to do but i hope you get the point. You have to foresee every possible measurment and react on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 08:05:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984357#M704705</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2007-11-09T08:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: multiple select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984358#M704706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can i create dynamic tables for this? but I dont know how to create a dynamic table. I hope you could help me gurus.thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 08:40:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984358#M704706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T08:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: multiple select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984359#M704707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if you are creating a dynamic table you have to fill the fieldcatalog like i showed you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really suggest that you limit down your measures to a fix amount of them and let the user choose via radiobuttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your problem isnt solvable in this forum, its too complex using dynamic tables if you havent a glue of them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 10:10:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-select-option/m-p/2984359#M704707</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2007-11-09T10:10:08Z</dc:date>
    </item>
  </channel>
</rss>

