<?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 Help with a Function-module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-function-module/m-p/2366303#M523981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again forum:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I have a program and i need to pass basic functionality to a set of funtion module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I have a description of a internal table in the program, that i need to use in the function-module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt;     PROGRAM&lt;/P&gt;&lt;P&gt; -&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" In the top of the program i declared.&lt;/P&gt;&lt;P&gt;"This the actual version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        TYPES: BEGIN OF t1&lt;/P&gt;&lt;P&gt;                     ......&lt;/P&gt;&lt;P&gt;                     ......&lt;/P&gt;&lt;P&gt;                     END OF t1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        DATA:  it_some TYPE STANDARD TABLE of t1 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SELECT *&lt;/P&gt;&lt;P&gt;        FROM&lt;/P&gt;&lt;P&gt;        INTO TABLE it_some.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;P&gt;      FUNCTION MODULE&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;P&gt;Now in the new version i need to declare an output paramter of type t1 in the exports parameters of the function ZMY_FUNCTION, and t1 is an internal_table, what can i do forum ?.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that how can i declare an export parameter that is not know?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joshua&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2007 19:57:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-08T19:57:08Z</dc:date>
    <item>
      <title>Help with a Function-module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-function-module/m-p/2366303#M523981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again forum:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I have a program and i need to pass basic functionality to a set of funtion module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I have a description of a internal table in the program, that i need to use in the function-module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt;     PROGRAM&lt;/P&gt;&lt;P&gt; -&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" In the top of the program i declared.&lt;/P&gt;&lt;P&gt;"This the actual version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        TYPES: BEGIN OF t1&lt;/P&gt;&lt;P&gt;                     ......&lt;/P&gt;&lt;P&gt;                     ......&lt;/P&gt;&lt;P&gt;                     END OF t1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        DATA:  it_some TYPE STANDARD TABLE of t1 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SELECT *&lt;/P&gt;&lt;P&gt;        FROM&lt;/P&gt;&lt;P&gt;        INTO TABLE it_some.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;P&gt;      FUNCTION MODULE&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;P&gt;Now in the new version i need to declare an output paramter of type t1 in the exports parameters of the function ZMY_FUNCTION, and t1 is an internal_table, what can i do forum ?.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that how can i declare an export parameter that is not know?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joshua&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 19:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-function-module/m-p/2366303#M523981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T19:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a Function-module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-function-module/m-p/2366304#M523982</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;we can pass internal table to FM by using CHANGING or TABLE options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;AshokReddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 20:29:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-function-module/m-p/2366304#M523982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T20:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a Function-module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-function-module/m-p/2366305#M523983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joshua.  So your Function Module creates the table?  You can declare a type ANY TABLE.  Then when it's passed back to the calling program it will assume the type of table variable attached to the parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 21:38:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-function-module/m-p/2366305#M523983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T21:38:40Z</dc:date>
    </item>
  </channel>
</rss>

