<?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: Change the Parameter as Select option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-the-parameter-as-select-option/m-p/4198755#M1003510</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 first the field values using the select statement and then loop that internal table and pass the values to the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*PARAMETERS p_fictr LIKE fmfctr-fictr.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select-options: s_fictr for fmfctr-fictr.&lt;/STRONG&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Move the select options to internal tables (import parameter for fn)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move_sel_option : sel_buk s_bukrs ,&lt;/P&gt;&lt;P&gt;sel_pern s_pernr ,&lt;/P&gt;&lt;P&gt;sreinr s_reinr ,&lt;/P&gt;&lt;P&gt;spdatv s_pdatv ,&lt;/P&gt;&lt;P&gt;sberei s_berei .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select fictr&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;from fmfctr&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;into tabel itab&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where fictr in s_fictr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;loop at itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call the function to get all trips corresponding to sel criteria&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZHR_GET_FUND_TRIPS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;p_fictr = p_fictr&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;p_fictr = itab-fictr&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;p_sub = p_sub&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;s_bukrs = s_bukrs&lt;/P&gt;&lt;P&gt;s_pernr = s_pernr&lt;/P&gt;&lt;P&gt;s_reinr = s_reinr&lt;/P&gt;&lt;P&gt;s_pdatv = s_pdatv&lt;/P&gt;&lt;P&gt;s_berei = s_berei&lt;/P&gt;&lt;P&gt;i_trip = i_trip&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 1.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endloop.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2008 09:31:34 GMT</pubDate>
    <dc:creator>former_member673464</dc:creator>
    <dc:date>2008-07-16T09:31:34Z</dc:date>
    <item>
      <title>Change the Parameter as Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-the-parameter-as-select-option/m-p/4198754#M1003509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guy's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me friends, present requirement is like this : change the Parameter into Select-Option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here they are using one function module, this function module import parameter taking single value, how  loop this function module with in this select-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS p_fictr LIKE fmfctr-fictr.&lt;/P&gt;&lt;P&gt;&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Move the select options to internal tables (import parameter for fn)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  move_sel_option  : sel_buk   s_bukrs ,&lt;/P&gt;&lt;P&gt;                     sel_pern  s_pernr ,&lt;/P&gt;&lt;P&gt;                     sreinr    s_reinr ,&lt;/P&gt;&lt;P&gt;                     spdatv    s_pdatv ,&lt;/P&gt;&lt;P&gt;                     sberei    s_berei .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call the function to get all trips corresponding to sel criteria&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ZHR_GET_FUND_TRIPS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      p_fictr = p_fictr&lt;/P&gt;&lt;P&gt;      p_sub   = p_sub&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      s_bukrs = s_bukrs&lt;/P&gt;&lt;P&gt;      s_pernr = s_pernr&lt;/P&gt;&lt;P&gt;      s_reinr = s_reinr&lt;/P&gt;&lt;P&gt;      s_pdatv = s_pdatv&lt;/P&gt;&lt;P&gt;      s_berei = s_berei&lt;/P&gt;&lt;P&gt;      i_trip  = i_trip&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS  = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 09:21:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-the-parameter-as-select-option/m-p/4198754#M1003509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T09:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Parameter as Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-the-parameter-as-select-option/m-p/4198755#M1003510</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 first the field values using the select statement and then loop that internal table and pass the values to the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*PARAMETERS p_fictr LIKE fmfctr-fictr.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select-options: s_fictr for fmfctr-fictr.&lt;/STRONG&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Move the select options to internal tables (import parameter for fn)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move_sel_option : sel_buk s_bukrs ,&lt;/P&gt;&lt;P&gt;sel_pern s_pernr ,&lt;/P&gt;&lt;P&gt;sreinr s_reinr ,&lt;/P&gt;&lt;P&gt;spdatv s_pdatv ,&lt;/P&gt;&lt;P&gt;sberei s_berei .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select fictr&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;from fmfctr&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;into tabel itab&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where fictr in s_fictr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;loop at itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call the function to get all trips corresponding to sel criteria&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZHR_GET_FUND_TRIPS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;p_fictr = p_fictr&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;p_fictr = itab-fictr&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;p_sub = p_sub&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;s_bukrs = s_bukrs&lt;/P&gt;&lt;P&gt;s_pernr = s_pernr&lt;/P&gt;&lt;P&gt;s_reinr = s_reinr&lt;/P&gt;&lt;P&gt;s_pdatv = s_pdatv&lt;/P&gt;&lt;P&gt;s_berei = s_berei&lt;/P&gt;&lt;P&gt;i_trip = i_trip&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 1.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endloop.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 09:31:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-the-parameter-as-select-option/m-p/4198755#M1003510</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2008-07-16T09:31:34Z</dc:date>
    </item>
  </channel>
</rss>

