<?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: Any thumb rule for function module interface parameters? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178803#M1712856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;Thank you for reply &lt;/STRONG&gt;and you are correct, My doubt is about &lt;STRONG&gt;like &lt;/STRONG&gt;or &lt;STRONG&gt;type &lt;/STRONG&gt;in Interface parameters . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said LIKE is for only dobj's like auxilary variables -----&amp;gt; what this means whether structure type or table type or database structure or type group data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Also for creating internal table referring to structure will it create&amp;nbsp; internal table with header line or with out header?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. For declaring internal table which data type should I use i.e. Can I refer structure/database table/table type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen Chitturi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2013 14:54:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-01-17T14:54:17Z</dc:date>
    <item>
      <title>Any thumb rule for function module interface parameters?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178800#M1712853</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;Is there any standard thumb rule for FM interface parameters i.e. TYPE or LIKE for structure, table type , data element, database table in import, export, tables tab. Which will create internal table with header line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I am comfortably working with the function modules now as of now.&amp;nbsp; But things are going by trail and error method if TYPE is not worked LIKE keyword using etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen Chitturi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 14:34:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178800#M1712853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-17T14:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Any thumb rule for function module interface parameters?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178801#M1712854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chitturi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i understood well your question, all you're asking is when to use TYPE or LIKE right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's the answer :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the LIKE addition whenever your declaration is directly linked to a data object. Examples of this include auxiliary variable in procedures that must have the same type as interface parameters or their components. This keeps your program valid even if the data object changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In all other case, use TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Maxime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 14:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178801#M1712854</guid>
      <dc:creator>mtremblay-savard</dc:creator>
      <dc:date>2013-01-17T14:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Any thumb rule for function module interface parameters?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178802#M1712855</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'm not sure to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You want to work with table &amp;amp; header line for calling function module :&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'toto'&lt;/P&gt;&lt;P&gt;CHANGING toto = it_toto[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You want to work inside the function with a table &amp;amp; header line &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_toto_bis type table of .. .with header line ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_toto_bis[] = toto &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you could play with header line&lt;/P&gt;&lt;P&gt;But don't forget, header line is bad, it's the dark force&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 14:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178802#M1712855</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2013-01-17T14:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Any thumb rule for function module interface parameters?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178803#M1712856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;Thank you for reply &lt;/STRONG&gt;and you are correct, My doubt is about &lt;STRONG&gt;like &lt;/STRONG&gt;or &lt;STRONG&gt;type &lt;/STRONG&gt;in Interface parameters . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said LIKE is for only dobj's like auxilary variables -----&amp;gt; what this means whether structure type or table type or database structure or type group data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Also for creating internal table referring to structure will it create&amp;nbsp; internal table with header line or with out header?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. For declaring internal table which data type should I use i.e. Can I refer structure/database table/table type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen Chitturi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 14:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178803#M1712856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-17T14:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Any thumb rule for function module interface parameters?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178804#M1712857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. LIKE can be used to refer to something you have already declared using DATA statement or it exists in SE11. LIKE addition describes the line type of a table object that is &lt;STRONG&gt;visible&lt;/STRONG&gt; at that point in the program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. It will create an internal table without header line(unless specified explicitly)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. You can use any of the types you have listed. There is no such restriction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 15:02:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178804#M1712857</guid>
      <dc:creator>former_member491621</dc:creator>
      <dc:date>2013-01-17T15:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Any thumb rule for function module interface parameters?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178805#M1712858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chitturi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TYPE addition is used to refer to an independent data type and the LIKE addition to refer to a data object of the corresponding type. So according to these facts, i'd say (i have not tried so i might be wrong) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Structure, table, database structure or type group data type should use TYPE except if they directly depends or needs to be the exact same as an other Structure, table ... etc. In these cases, you use LIKE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I unfortunately have no idea if it is going to create an internal table with or without an header line, just give it a try and give me some feedback &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1142/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I guess you should use TYPE except (as i said just before) if you want your internal table to have the same data type as a database table or table type. I am not sure if you can refer an internal table to a structure. Just give it a try too &lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1142/images/emoticons/silly.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for being kind of vague but i hope this might help you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Maxime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 15:09:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178805#M1712858</guid>
      <dc:creator>mtremblay-savard</dc:creator>
      <dc:date>2013-01-17T15:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Any thumb rule for function module interface parameters?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178806#M1712859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will note down one by one by going in trail and error method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Praveen Chitturi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 03:36:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/any-thumb-rule-for-function-module-interface-parameters/m-p/9178806#M1712859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-18T03:36:11Z</dc:date>
    </item>
  </channel>
</rss>

