<?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 insie internal table as a parameter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378357#M1994032</link>
    <description>&lt;P&gt;Yes I think this is what I have to do. Do you know if there are any such demo Function Modules in SAP?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2021 14:47:47 GMT</pubDate>
    <dc:creator>former_member201275</dc:creator>
    <dc:date>2021-02-11T14:47:47Z</dc:date>
    <item>
      <title>Function Module with internal table insie internal table as a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378352#M1994027</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I have a function module which should receive back information about customers. There could be many customers therefore the export Parameter has to be a table.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;The Problem is that for each customer we will also receive a list of invoices i.e. invoice number and invoice date.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;The table for the Export Parameter should be able to handle more than one customer and for each customer more than one invoice.&lt;/P&gt;
  &lt;P&gt;All help greatly appreciated&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:16:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378352#M1994027</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2021-02-11T14:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module with internal table insie internal table as a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378353#M1994028</link>
      <description>&lt;P&gt;Can you not just have the function module return two tables? One for the customers, and one with the invoices, having also the customer as a key field?&lt;/P&gt;&lt;P&gt;Something like tables of these?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES:
  BEGIN OF customer,
    customer_number type customer_number_type,
    customer_name   type string,
  END OF customer.

TYPES:
  BEGIN OF invoice,
    customer_number type customer_number_type,
    invoice_number  type invoice_number_type,
    invoice_date    type dats,
  END OF invoice.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:23:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378353#M1994028</guid>
      <dc:creator>joltdx</dc:creator>
      <dc:date>2021-02-11T14:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module with internal table insie internal table as a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378354#M1994029</link>
      <description>&lt;P&gt;Have you considered creating a table type based on a deep structure?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create/Find a table type in DDIC with invoice data.&lt;/LI&gt;&lt;LI&gt;Create a structure with customer data, add a field 'invoices' of the table type you made/found in 1.&lt;/LI&gt;&lt;LI&gt;Create a table type based on the deep structure you made in 2.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;And of course use that last table type to type the export parameter&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:27:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378354#M1994029</guid>
      <dc:creator>Patrick_vN</dc:creator>
      <dc:date>2021-02-11T14:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module with internal table insie internal table as a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378355#M1994030</link>
      <description>&lt;P&gt;What is your issue in declaring a table inside a table?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378355#M1994030</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-02-11T14:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module with internal table insie internal table as a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378356#M1994031</link>
      <description>&lt;P&gt;Thank you for your answer. I don't think we can do that because it is an RFC so we call another System and it has to be able to come back as table in table &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378356#M1994031</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2021-02-11T14:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module with internal table insie internal table as a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378357#M1994032</link>
      <description>&lt;P&gt;Yes I think this is what I have to do. Do you know if there are any such demo Function Modules in SAP?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378357#M1994032</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2021-02-11T14:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module with internal table insie internal table as a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378358#M1994033</link>
      <description>&lt;P&gt;Thank you for your answer. I was getting error messages trying to create this so i thought it is not possible in SAP. I will keep trying and close the question then if this possible. Sorry for the hassle. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:50:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378358#M1994033</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2021-02-11T14:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module with internal table insie internal table as a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378359#M1994034</link>
      <description>&lt;P&gt;By the way, if you're going to use it as table-parameter, then you don't need step 3. Just use the deep structure there.&lt;/P&gt;&lt;P&gt;Not really sure if there are demo FM's. But if you want to know how to make a deep structure, there are more than a few tutorials on the www &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:52:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378359#M1994034</guid>
      <dc:creator>Patrick_vN</dc:creator>
      <dc:date>2021-02-11T14:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module with internal table insie internal table as a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378360#M1994035</link>
      <description>&lt;P&gt;Ok, yes you can do that and I see &lt;SPAN class="mention-scrubbed"&gt;pvnierop&lt;/SPAN&gt; has already explained how...&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 14:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378360#M1994035</guid>
      <dc:creator>joltdx</dc:creator>
      <dc:date>2021-02-11T14:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module with internal table insie internal table as a parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378361#M1994036</link>
      <description>&lt;P&gt;Thank you all for your help and apologies for the stupid question&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 15:07:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-with-internal-table-insie-internal-table-as-a-parameter/m-p/12378361#M1994036</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2021-02-11T15:07:01Z</dc:date>
    </item>
  </channel>
</rss>

