<?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: How is a table parameter in function modules used ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833391#M1784308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Creating a custom structure with your needed fields and assign to table interface parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sai Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Nov 2013 10:32:43 GMT</pubDate>
    <dc:creator>sai_krishna24</dc:creator>
    <dc:date>2013-11-24T10:32:43Z</dc:date>
    <item>
      <title>How is a table parameter in function modules used ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833386#M1784303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use a table parameter for exporting multiple rows for output. I have done the logic in the code where at the end, I have my internal table with the results I want to show (after the import parameter is given). I have also created a table type and a table parameter. But, how can I relate my internal table to the table parameter I have created? How is this done, how do I tell the FM to get my internal table for the table parameter ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shkelqim &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2013 18:36:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833386#M1784303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-23T18:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: How is a table parameter in function modules used ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833387#M1784304</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;If I understood correctly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have data in a internal table and you need to transfer that into the table interfacing parameter in Function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. why don't you directly use the same table interfacing parameter instead of local internal table.&lt;/P&gt;&lt;P&gt;2. if its a big task and if you don't have time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;EM&gt;try like this &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Consider , Interface table parameter - IT_INTER &amp;amp; Local internal table LT_ITAB&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IT_INTER[]&amp;nbsp; = LT_ITAB[].&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;thanks&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sailkrishna&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2013 18:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833387#M1784304</guid>
      <dc:creator>sai_krishna24</dc:creator>
      <dc:date>2013-11-23T18:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: How is a table parameter in function modules used ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833388#M1784305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shkelqim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand what is the problem? When you declare a table in Tables tab of function modul, you use it in code in FM and at the same time it is a table that FM exports. &lt;/P&gt;&lt;P&gt;Can you give some screenshots or explain better please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2013 21:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833388#M1784305</guid>
      <dc:creator>vladimir_erakovic</dc:creator>
      <dc:date>2013-11-23T21:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: How is a table parameter in function modules used ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833389#M1784306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose...&lt;/P&gt;&lt;P&gt;ET_itab is your exporting parameter of type "Table type of&amp;nbsp; table1", is mentioned in the exporting tab of FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LT_itab is your local internal table of type ""Table type of&amp;nbsp; table1".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now write this statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ET_ITAB = LT_ITAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*** If LT_itab and ET_ITAB are not exactly of same table type means table type is different for both, but they have some Same field, then&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop LT_Itab into LS_itab &lt;/P&gt;&lt;P&gt;move corresponding&amp;nbsp; ls_itab to ls_itab1.&lt;/P&gt;&lt;P&gt;append ls_itab1 to ET_itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_itab.. Structure of Local table.&lt;/P&gt;&lt;P&gt;ls_itab1.. Structure of table used in Exporting para.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 03:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833389#M1784306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-24T03:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: How is a table parameter in function modules used ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833390#M1784307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Chandra.The problem is that I have a table parameter, but I am assigned to give a data type to it, which is the same one as a data element in another table. Now, I am not sure where to give the appropriate fields to that table parameter (the same ones as my internal table), how to give a structure to it?&amp;nbsp; The parameter table that I have now has a line type (char20), and that's it, no fields in it.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 10:16:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833390#M1784307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-24T10:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: How is a table parameter in function modules used ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833391#M1784308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Creating a custom structure with your needed fields and assign to table interface parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sai Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 10:32:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833391#M1784308</guid>
      <dc:creator>sai_krishna24</dc:creator>
      <dc:date>2013-11-24T10:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: How is a table parameter in function modules used ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833392#M1784309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry to say but i didn't understand your problem exactly. &lt;/P&gt;&lt;P&gt;I don't know i giving you correct solution or not still, You can create your custom structure with only required fields using SE11 and table type of same structure and you can use this table type in exporting parameter. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 11:21:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833392#M1784309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-24T11:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: How is a table parameter in function modules used ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833393#M1784310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi-&lt;/P&gt;&lt;P&gt;At first to define Tables parameter in FM, go to tables tab and under Parameter Name provide the tables parameter name and associated structure should be a standard structure(You have to create this structure in SE11). &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/330539" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in your code define an Internal table which of type standard structure which you have created in se11 and used in FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;it_result &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;STANDARD &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &amp;lt;Your standard structure&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your se38 screen select Pattern push button which is available on your Application tool bar and give your FM name.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/330540" width="450" /&gt; &lt;/P&gt;&lt;P&gt;You FM template will be displayed with empty tables parameter where you have to pass your result internal table.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/330541" width="450" /&gt;&lt;/P&gt;&lt;P&gt;This is how we relate Internal table to tables parameter of a FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 12:24:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833393#M1784310</guid>
      <dc:creator>venkat_aileni</dc:creator>
      <dc:date>2013-11-24T12:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: How is a table parameter in function modules used ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833394#M1784311</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;table can be act as import as well as export parameter.&lt;BR /&gt;to assign type,&lt;BR /&gt;1. either you can use a database table name (use like)&lt;BR /&gt;2. create a global structure in se11 and then a table type with line parameter as above created structure. and use it as a type in table parameter in your FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 11:41:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-is-a-table-parameter-in-function-modules-used/m-p/9833394#M1784311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-09T11:41:50Z</dc:date>
    </item>
  </channel>
</rss>

