<?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: Pass Select-Options and Parameter to a FunctionModulw in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598630#M1568081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;EFG_RANGES&lt;/STRONG&gt; allows only select options , what about parameter then ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; RSPARAMS can be used for both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jan 2011 12:48:59 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2011-01-31T12:48:59Z</dc:date>
    <item>
      <title>Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598625#M1568076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a situation as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have to pass both the "select-options" and "PARAMETERS" to a function Module.&lt;/P&gt;&lt;P&gt;The "Select-options" and "Parameter" are "so_msg" and "p_dir" as described below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK IdocFilter WITH FRAME TITLE text-001.

select-options: so_msg for EDIDC-MESTYP.
PARAMETERS:   p_dir type EDIDC-DIRECT.

SELECTION-SCREEN END OF BLOCK IdocFilter.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Function module to which I have to pass these things Looks as follows:&lt;/P&gt;&lt;P&gt;How to pass the select-option and parameter to the following Function Module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION zsd_find_error_idocs.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"  TABLES
*"      OUTTAB STRUCTURE  ZCIDOC_OUT
*"      INTAB STRUCTURE  ZCIDOC_IN
*"----------------------------------------------------------------------&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam calling this function as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'ZSD_FIND_ERROR_IDOCS'
    DESTINATION space
    TABLES
      outtab    = z_outtab_orders_12
      intab     = z_intab
    EXCEPTIONS
      not_found = 1
      OTHERS    = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 11:57:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598625#M1568076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T11:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598626#M1568077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved the problem by using EFG_RANGES.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 12:13:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598626#M1568077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T12:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598627#M1568078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It Compiles,but gives me an Dump on running.&lt;/P&gt;&lt;P&gt;The Error analysis says that Iam passing the right type but not the right length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select-options: so_msg for EDIDC-MESTYP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;FUNCTION zsd_find_error_idocs.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(DIRECTION) LIKE  EDIDC-DIRECT&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      OUTTAB STRUCTURE  ZCIDOC_OUT&lt;/P&gt;&lt;P&gt;*"      INTAB STRUCTURE  ZCIDOC_IN&lt;/P&gt;&lt;P&gt;*"      IDOC_TYPE STRUCTURE  EFG_RANGES&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL FUNCTION 'ZSD_FIND_ERROR_IDOCS'
    DESTINATION space
    EXPORTING
    direction       = p_dir
    TABLES
      outtab    = z_outtab_orders_12
      intab     = z_intab
      idoc_type = so_msg[]
    EXCEPTIONS
      not_found = 1
      OTHERS    = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kohinoor72 on Jan 31, 2011 1:32 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 12:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598627#M1568078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T12:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598628#M1568079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your program before calling the function call RS_REFRESH_FROM_SELECTOPTIONS. This will hold all your selection screen values. Now create a parameter of type RSPARAMS_TT in your custom fm. Then pass the parameter SELECTION_TABLE of the function RS_REFRESH_FROM_SELECTOPTIONS to your custom fm. Later in your fm you can loop at it and use it. The select option and parameters will be differentiated in it using P and S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 12:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598628#M1568079</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-01-31T12:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598629#M1568080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I want to pass it directly using the "EFG_RANGES" parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Dump says that so_msg has the right typee but not the right length.How to correct this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 12:45:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598629#M1568080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T12:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598630#M1568081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;EFG_RANGES&lt;/STRONG&gt; allows only select options , what about parameter then ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; RSPARAMS can be used for both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 12:48:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598630#M1568081</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-01-31T12:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598631#M1568082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paramter Iam passing as an input parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 12:50:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598631#M1568082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T12:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598632#M1568083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error you are getting is very basic . Please have close look into it .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 12:53:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598632#M1568083</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-01-31T12:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598633#M1568084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Keshav:). I dont know how to fix this error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 13:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598633#M1568084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T13:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598634#M1568085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check out this [LINK|http://abap.googlar.eu/viewtopic.php?f=5&amp;amp;t=28]&lt;/P&gt;&lt;P&gt;hope it helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIDC-MESTYP - lenght char 30&lt;/P&gt;&lt;P&gt;EFG_RANGES-LOW - lenght char 45..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 13:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598634#M1568085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T13:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598635#M1568086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Sucesss with "EFG_RANGES".&lt;/P&gt;&lt;P&gt;It gives me still the dump saying field length incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Want to Use "EFG_RANGES" beacuse in my Function Module,I want to check &lt;/P&gt;&lt;P&gt;something as follows using the &lt;STRONG&gt;"IN"&lt;/STRONG&gt; keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM edidc CLIENT SPECIFIED INTO CORRESPONDING FIELDS&lt;/P&gt;&lt;P&gt;OF table outtab WHERE mandt = '020'&lt;/P&gt;&lt;P&gt;          and CREDAT = z_datum&lt;/P&gt;&lt;P&gt;          AND   mestyp &lt;STRONG&gt;in&lt;/STRONG&gt; so_msg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 14:13:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598635#M1568086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T14:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598636#M1568087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check out the following structure EDM_MESTYP_RANGE and see if you can use that instead of EFG_RANGES&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 15:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598636#M1568087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T15:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598637#M1568088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kohinoor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define the it as IMPORTING parameter TYPE STANDARD TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The you can use it with IN.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 15:28:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598637#M1568088</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-01-31T15:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Select-Options and Parameter to a FunctionModulw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598638#M1568089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Clemens....&lt;/P&gt;&lt;P&gt;It works Now......:)Thanks a lot...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 15:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-select-options-and-parameter-to-a-functionmodulw/m-p/7598638#M1568089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-31T15:34:28Z</dc:date>
    </item>
  </channel>
</rss>

