<?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 select options passed to function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406181#M817993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;I would like to know how r the select-options of a program passed to the function module that is called internally in that program? I want to use this select-options in the function module to fetch frm the database tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shakr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2008 05:51:22 GMT</pubDate>
    <dc:creator>abdulazeez12</dc:creator>
    <dc:date>2008-02-20T05:51:22Z</dc:date>
    <item>
      <title>select options passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406181#M817993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;I would like to know how r the select-options of a program passed to the function module that is called internally in that program? I want to use this select-options in the function module to fetch frm the database tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shakr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 05:51:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406181#M817993</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2008-02-20T05:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: select options passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406182#M817994</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;Use ranges in function modules. You can declare in import/export/ changing or tables parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of ranges: &lt;/P&gt;&lt;P&gt;ERDAT_RAN&lt;/P&gt;&lt;P&gt;ERDAT_RAN&lt;/P&gt;&lt;P&gt;SHP_R_ERZET&lt;/P&gt;&lt;P&gt;RVBELN&lt;/P&gt;&lt;P&gt;ERNAM_RAN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see them in se11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the select options in the report to these ranges or use below coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wa_cmfre	LIKE	erdat_ran,&lt;/P&gt;&lt;P&gt;      wa_erdat	LIKE	erdat_ran,&lt;/P&gt;&lt;P&gt;      wa_erzet	LIKE	shp_r_erzet,&lt;/P&gt;&lt;P&gt;      wa_vbeln	LIKE	rvbeln,&lt;/P&gt;&lt;P&gt;      wa_ernam	LIKE	ernam_ran.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_erdat FOR vbak-erdat,                  s_erzet FOR vbak-erzet NO-EXTENSION,   &lt;/P&gt;&lt;P&gt;s_cmfre FOR vbak-cmfre OBLIGATORY ,&lt;/P&gt;&lt;P&gt;s_vbeln FOR vbak-vbeln NO-EXTENSION,          &lt;/P&gt;&lt;P&gt;s_auart FOR vbak-auart OBLIGATORY,                           s_bsark FOR vbak-bsark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_cmfre-sign    = s_cmfre-sign.&lt;/P&gt;&lt;P&gt;  wa_cmfre-option  = s_cmfre-option.&lt;/P&gt;&lt;P&gt;  wa_cmfre-low     = s_cmfre-low.&lt;/P&gt;&lt;P&gt;  wa_cmfre-high    = s_cmfre-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT s_erdat[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    wa_erdat-sign   =  s_erdat-sign.&lt;/P&gt;&lt;P&gt;    wa_erdat-option =  s_erdat-option.&lt;/P&gt;&lt;P&gt;    wa_erdat-low    =  s_erdat-low.&lt;/P&gt;&lt;P&gt;    wa_erdat-high   =  s_erdat-high.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT s_erzet[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    wa_erzet-sign   =  s_erzet-sign.&lt;/P&gt;&lt;P&gt;    wa_erzet-option =  s_erzet-option.&lt;/P&gt;&lt;P&gt;    wa_erzet-low    =  s_erzet-low.&lt;/P&gt;&lt;P&gt;    wa_erzet-high   =  s_erzet-high.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT s_vbeln[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    wa_vbeln-sign   =  s_vbeln-sign.&lt;/P&gt;&lt;P&gt;    wa_vbeln-option =  s_vbeln-option.&lt;/P&gt;&lt;P&gt;    wa_vbeln-low    =  s_vbeln-low.&lt;/P&gt;&lt;P&gt;    wa_vbeln-high   =  s_vbeln-high.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT s_ernam[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    wa_ernam-sign   =  s_ernam-sign.&lt;/P&gt;&lt;P&gt;    wa_ernam-option =  s_ernam-option.&lt;/P&gt;&lt;P&gt;    wa_ernam-low    =  s_ernam-low.&lt;/P&gt;&lt;P&gt;    wa_ernam-high   =  s_ernam-high.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;                          &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can pass these work areas to function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shravan G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 06:00:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406182#M817994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T06:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: select options passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406183#M817995</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 the FM in tables option declare a table of type ACE_S_RANGE_TABLE.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in program pass ur sel-option table to dat table of fm...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 06:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406183#M817995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T06:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: select options passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406184#M817996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better you can use Ranges instead of select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 06:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406184#M817996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T06:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: select options passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406185#M817997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shravan&lt;/P&gt;&lt;P&gt;Thanks for the answer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to pass the select-options SO_LAUFD and SO_LAUFI to the function module...Are there any standard ranges available for these??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_LAUFD for reguh-laufd&lt;/P&gt;&lt;P&gt;SO_LAUFI for reguh-laufi..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 06:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406185#M817997</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2008-02-20T06:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: select options passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406186#M817998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;define the field as ranges and pass the values dynamically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ranges: gv_range  for  vbak-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; pass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gv_range-low,  gv_range-high ..............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 06:14:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406186#M817998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T06:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: select options passed to function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406187#M817999</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;FKKCORRR_LAUFD and FKKCORRR_LAUFI&lt;/P&gt;&lt;P&gt;use these ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shravan G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 06:18:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-passed-to-function-module/m-p/3406187#M817999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T06:18:25Z</dc:date>
    </item>
  </channel>
</rss>

