<?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 Changing parameters in a FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-in-a-fm/m-p/4861028#M1136630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me why I can't put a table into the changing parameters of a Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that we need to do it like this because some client did use such a method rather to do it inside the table.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"  CHANGING
*"     VALUE(GET_SET_VALUE) TYPE  ZCLTESTA
*"     REFERENCE(TABLE) LIKE  ZTEST STRUCTURE  ZTEST
*"       OPTIONAL
*"----------------------------------------------------------------------
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So, we need to test it like that, because we need to resolve a problem by our client that happen when we use JCO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that getting the table will lead to an exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the transaction I tried to find function module having changing, but I can't find an automated search which I'll get all FMs having Changing Parameters, I'm looking for FM having a table as a changing Parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kais&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2008 14:44:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-01T14:44:03Z</dc:date>
    <item>
      <title>Changing parameters in a FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-in-a-fm/m-p/4861028#M1136630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me why I can't put a table into the changing parameters of a Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that we need to do it like this because some client did use such a method rather to do it inside the table.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"  CHANGING
*"     VALUE(GET_SET_VALUE) TYPE  ZCLTESTA
*"     REFERENCE(TABLE) LIKE  ZTEST STRUCTURE  ZTEST
*"       OPTIONAL
*"----------------------------------------------------------------------
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So, we need to test it like that, because we need to resolve a problem by our client that happen when we use JCO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that getting the table will lead to an exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the transaction I tried to find function module having changing, but I can't find an automated search which I'll get all FMs having Changing Parameters, I'm looking for FM having a table as a changing Parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kais&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 14:44:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-in-a-fm/m-p/4861028#M1136630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T14:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing parameters in a FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-in-a-fm/m-p/4861029#M1136631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the Table Type in the Associated type to be able to have Table as changing parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. you can use the SHP_VBAP_T in the changing parameter and it will provide you the internal table but if you use the VBAPVB (underlying structure of the SHP_VBAP_T) it will only provide you the workarea of the structure VBAPVB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you need to create a table type of your ZTABLE in SE11.&lt;/P&gt;&lt;P&gt;Select the option Data Type&lt;/P&gt;&lt;P&gt;Give your Name&lt;/P&gt;&lt;P&gt;and Select the Table type in the next popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 15:00:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-parameters-in-a-fm/m-p/4861029#M1136631</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-12-01T15:00:45Z</dc:date>
    </item>
  </channel>
</rss>

