<?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: Function module with internal table as changing parameter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347845#M518092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2007 03:48:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-07T03:48:43Z</dc:date>
    <item>
      <title>Function module with internal table as changing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347842#M518089</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;Can somebody share a simple code of FM  using an internal table as CHANGING parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 02:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347842#M518089</guid>
      <dc:creator>manoj_goyal2</dc:creator>
      <dc:date>2007-06-07T02:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Function module with internal table as changing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347843#M518090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chaging parameter is combination import and export parameter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define i_matnr like mara-matnr ( Changing parameter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just write the code under source code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single  * from mara into table mara      &lt;/P&gt;&lt;P&gt;                               where matnr = i_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;changing parameter will work as structure and it will not work as internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you see the output -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input i_matnr &lt;/P&gt;&lt;P&gt;output i_matnr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 03:01:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347843#M518090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T03:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Function module with internal table as changing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347844#M518091</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;I did not understand the problem you are facing with using an internal table as a changing parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ways i will provide you a peice of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PC_TABLE type ZT_LEAVE_APPL."This is the changing parameter.&lt;/P&gt;&lt;P&gt;(Zt_leave_appl is a table type of structure ZLEAVE_APPL_STRUC )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i have written in the source code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data ls_leave type ZLEAVE_APPL_STRUC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_leave-EMPLOYEE_ID = '2343'.&lt;/P&gt;&lt;P&gt;ls_leave-LEAVE_TYPE  = 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append ls_leave to pc_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when i execute the FM,  internal table pc_table will be filled a singe row of record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this gives you an idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 03:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347844#M518091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T03:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Function module with internal table as changing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347845#M518092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 03:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347845#M518092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T03:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Function module with internal table as changing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347846#M518093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use internal table/structure in TABLES tab only. IMPORTING,EXPORTING,CHANGING can accomodate only one record at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your clear!!!&lt;/P&gt;&lt;P&gt;Get back if you have any doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Younus&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward Helpful Answers:-)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 03:54:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347846#M518093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T03:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function module with internal table as changing parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347847#M518094</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 SE11 you can create a "Table Type" of the required structure.&lt;/P&gt;&lt;P&gt;use that table type as the reference type for your changing parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Guarav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 04:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-as-changing-parameter/m-p/2347847#M518094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T04:09:18Z</dc:date>
    </item>
  </channel>
</rss>

