<?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: Passing Range to Function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078938#M431145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I pass it through tables, I define it on FM LIKE EFG_RANGES (range type). It gives me the error: "MOB is not an internal table" on function call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Apr 2007 11:38:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-12T11:38:51Z</dc:date>
    <item>
      <title>Passing Range to Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078933#M431140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would thank and reward with points to a correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one range with many lines. Example of one line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  mob-sign = 'I'.&lt;/P&gt;&lt;P&gt;  mob-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  mob-low = '50010031'.&lt;/P&gt;&lt;P&gt;  append mob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I have to pass this range to a Function module to use in it. This means I will check some values if it's in this range. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF xpto IN mob.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I pass the range? Through tables? Parameter?&lt;/P&gt;&lt;P&gt;And do I define in FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        André Jordã&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 11:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078933#M431140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T11:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Range to Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078934#M431141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes you can populate the range and use it further in the code&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;If not itab-field in mob.&lt;/P&gt;&lt;P&gt;  &amp;lt; do some calculation&amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ANJI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 11:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078934#M431141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T11:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Range to Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078935#M431142</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;Pass this in the tables option to the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful......&lt;/P&gt;&lt;P&gt;Suresh......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 11:29:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078935#M431142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T11:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Range to Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078936#M431143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in ur function module u can to define a field in the Tables section. This field needs to be reffer to a structure.... for this u need to create a structure with the fields ur passing in  the range. now u can pass the range details to this FM using the table field which will hold data same as like an internal table.... u can use this data for ur validations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 11:31:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078936#M431143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T11:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Range to Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078937#M431144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah thru tables only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call Function 'zpbc'.&lt;/P&gt;&lt;P&gt;export &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt; ranges  = r_ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 11:34:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078937#M431144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T11:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Range to Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078938#M431145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I pass it through tables, I define it on FM LIKE EFG_RANGES (range type). It gives me the error: "MOB is not an internal table" on function call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 11:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078938#M431145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T11:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Range to Function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078939#M431146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have standard Structures &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/SDF/RANGES                    Ranges for data selection&lt;/P&gt;&lt;P&gt;/SDF/RANGESC1                  Ranges for data selection CHAR 1&lt;/P&gt;&lt;P&gt;/SDF/RANGESC10                 Ranges for data selection CHAR 10&lt;/P&gt;&lt;P&gt;/SDF/RANGESC14                 Ranges for data selection CHAR 14&lt;/P&gt;&lt;P&gt;/SDF/RANGESC4                  Ranges for data selection CHAR 4&lt;/P&gt;&lt;P&gt;/SDF/RANGESC5                  Ranges for data selection CHAR 5&lt;/P&gt;&lt;P&gt;/SDF/RANGESD15                 Ranges for data selection DEC 15&lt;/P&gt;&lt;P&gt;/SDF/RANGESD18                 Ranges for data selection DEC 18&lt;/P&gt;&lt;P&gt;/SDF/RANGESI1                  Ranges for data selection INT 1&lt;/P&gt;&lt;P&gt;/SDF/RANGESI2                  Ranges for data selection INT 2&lt;/P&gt;&lt;P&gt;/SDF/RANGESI4                  Ranges for data selection INT 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make use of these and create the parameter in the TABLES, so that we can get more than 1 data at a time &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 11:41:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-range-to-function/m-p/2078939#M431146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T11:41:51Z</dc:date>
    </item>
  </channel>
</rss>

