<?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: Doubt in  export, import and table para when creating Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038315#M85757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So does this mean that in tables parameter statement we can define both tables which are imported as well as exporte ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Dec 2005 06:14:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-21T06:14:42Z</dc:date>
    <item>
      <title>Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038306#M85748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear fellow ABAPers,&lt;/P&gt;&lt;P&gt;I have a doubt in defining export, import and table parameter while creating a function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling a function module inside a user exit. Now in the user exit the SAP fills an internal table called i_lfa1 with all the data user has eneterd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to pass this whole internal table to function module and the perform some checks on the values of internal table.&lt;/P&gt;&lt;P&gt;After that function module fills an error structure with values depending on some check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;/P&gt;&lt;P&gt;How do I pass this internal table to function module ?  &lt;/P&gt;&lt;P&gt;When I am creating function module in se37 where do I define this iternal table type ? Is it in Import or Table parameter during function module creation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;Where do I define error structure type (which is returned by function module to main program)? Is it in Export or table parameter during function module creation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please clear my doubt..&lt;/P&gt;&lt;P&gt;Relevant points will be awarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tushar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 05:40:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038306#M85748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T05:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038307#M85749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. that should be table parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. that errorstructure is export parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 05:47:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038307#M85749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T05:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038308#M85750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tushar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How do I pass this internal table to function module ? &lt;/P&gt;&lt;P&gt;   I assume u are creating your own Y/Z FM.&lt;/P&gt;&lt;P&gt;   Pass it thru TABLES parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When I am creating function module in se37 where do I define this iternal table type &lt;/P&gt;&lt;P&gt;   Define this in TABLES interface.&lt;/P&gt;&lt;P&gt;   What Type ?&lt;/P&gt;&lt;P&gt;   THE SAME TYPE WHICH HAS BEEN DEFINED&lt;/P&gt;&lt;P&gt;    WHILE PASSING IN THE USER-EXIT FUNCTION MODULE.&lt;/P&gt;&lt;P&gt;   IF U SEE THE FM OF THE USER-EXIT,&lt;/P&gt;&lt;P&gt;   U WILL COME TO KNOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt; Where do I define error structure type (which is returned by function module to main program)? Is it in Export or table parameter during function module creation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Define it in TABLES interace. (not in export, import)&lt;/P&gt;&lt;P&gt;  (Since what u are going to return is an internal table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  U can take for eg. BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;  OR u can create your own Y/Z structure&lt;/P&gt;&lt;P&gt; for the same purpose.&lt;/P&gt;&lt;P&gt;  (or u can use the structure type T100)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 05:48:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038308#M85750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T05:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038309#M85751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tushar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You create structure in se11 which is the same as the internal table structure that is filled in the userexit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly, you can create the structure for error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, in 'Tables' tab you define two internal tables and give the respective structures created in column 'Associated type'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope its clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 05:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038309#M85751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T05:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038310#M85752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) you have to define the internal table in the tables section of the FM.&lt;/P&gt;&lt;P&gt;if ur i_lfa1 is having a structure like zv_lfa1&lt;/P&gt;&lt;P&gt;then u have specify it as &lt;/P&gt;&lt;P&gt;i_lfa1 like zv_lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)you can define the error structure in tables.&lt;/P&gt;&lt;P&gt;here in the FM you can append the error structure if u did not find the data and display the error if the itab is having the null values. you can use the structure like bapiret2,etc .,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this if you want to define some exceptions, you can define it in exceptions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will be helpful.&lt;/P&gt;&lt;P&gt;reward points if its helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 05:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038310#M85752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T05:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038311#M85753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for creating the internal table , just go to se11 and create the table type structure. and give the reference while creating the table parameter of the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error structure can be given as bapireturn structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 05:50:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038311#M85753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T05:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038312#M85754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) &lt;/P&gt;&lt;P&gt;How do I pass this internal table to function module ? &lt;/P&gt;&lt;P&gt;When I am creating function module in se37 where do I define this iternal table type ? Is it in Import or Table parameter during function module creation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;You have to define it as an table parameter&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;Where do I define error structure type (which is returned by function module to main program)? Is it in Export or table parameter during function module creation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;It depends on how many records you want to return in the error-structure. If it will contain more than one record then you will have to define it as an table paramter or if it returns only one record then define it as an export parameter in the function module.&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 05:52:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038312#M85754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T05:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038313#M85755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;My error structure will have a structure referencing one custom structure created in DDIC.&lt;/P&gt;&lt;P&gt;his reference struture has around eight fields. So the error structure may get populated with ll fields or just one depending on checks.&lt;/P&gt;&lt;P&gt;So I guess I have to define the error structure in table parameter when I am creating function module. Isn't it right ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 06:09:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038313#M85755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T06:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038314#M85756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you are expecting more than one eror use tables parameter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 06:13:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038314#M85756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T06:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038315#M85757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So does this mean that in tables parameter statement we can define both tables which are imported as well as exporte ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 06:14:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038315#M85757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T06:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038316#M85758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tushar,&lt;/P&gt;&lt;P&gt;when creating ur function modules of ur own (i.e y)u have to define this table in the table parameters and u can import the data into into that.and the error messages r handled using the exceptions in the function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this doesn't clear ur douts semd me the code i'll make the modifications,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 06:14:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038316#M85758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T06:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038317#M85759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah both will be imported(blank) and exported(with data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 06:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038317#M85759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T06:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038318#M85760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The deciding factor is the number of records/rows not the number of fields. So if you think that your return parameter should (or will) return you more that one record then define it as an table parameter otherwise you can define it as a export parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However If you are not sure then define it as a table parameter!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 06:20:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038318#M85760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T06:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038319#M85761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can define the error structure as export parameter as well, just delcare your error struc in export like the ddic structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;within your function you can assign a itab this (same type).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;errorstruc[] = localitab[] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check any bapi in your system how the return table is handled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 06:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038319#M85761</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-12-21T06:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038320#M85762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tushar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The table should be table parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The error structure should be the export parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 06:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038320#M85762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T06:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038321#M85763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tushar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The table should be table parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The error structure should be the export parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 07:10:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038321#M85763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T07:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038322#M85764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I define errorstruc as table parameterwhile creation of function module in se37, &lt;/P&gt;&lt;P&gt;then to extract the values from structure while doing call to function module in main program do I need to define it in TABLES also?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tushar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 07:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038322#M85764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T07:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in  export, import and table para when creating Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038323#M85765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I assume u have defined the FM&lt;/P&gt;&lt;P&gt;   and in TABLES&lt;/P&gt;&lt;P&gt;   u have also defined the errorstruc parameter&lt;/P&gt;&lt;P&gt;  of some type say XABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. While calling the FM,&lt;/P&gt;&lt;P&gt;   u will have to declare a variable like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data : err like table of XABC with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Now call the FM&lt;/P&gt;&lt;P&gt;   call function 'myfunc'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     .&lt;/P&gt;&lt;P&gt;     .&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     .&lt;/P&gt;&lt;P&gt;     .&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;    ERR&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 07:24:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-export-import-and-table-para-when-creating-function-module/m-p/1038323#M85765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T07:24:37Z</dc:date>
    </item>
  </channel>
</rss>

