<?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: Error Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082123#M432004</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;  It Depends on the type of the importing parameter given in the function module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Use the same type..Otherwise you might short dumps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  But for general string internal table.You can use&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  DATA: ITAB TYPE TABLE OF STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2007 19:16:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-18T19:16:38Z</dc:date>
    <item>
      <title>Error Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082120#M432001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;During function calls, I will be importing error tables. What is the best way to import them? I am thinking I shold put them into a itab. What is the code to do that &lt;/P&gt;&lt;P&gt;Should I have something like &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;begin of itab 
error type string
end of itab&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 19:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082120#M432001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T19:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082121#M432002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what you decalred will only be a work area.. use types ie&lt;/P&gt;&lt;P&gt;TYpes:begin of typ_itab &lt;/P&gt;&lt;P&gt;error type string&lt;/P&gt;&lt;P&gt;end of typ_itab&lt;/P&gt;&lt;P&gt;data itab type table of typ_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 19:11:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082121#M432002</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-04-18T19:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082122#M432003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would something like be ok?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: error type table of string.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 19:12:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082122#M432003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T19:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082123#M432004</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;  It Depends on the type of the importing parameter given in the function module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Use the same type..Otherwise you might short dumps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  But for general string internal table.You can use&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  DATA: ITAB TYPE TABLE OF STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 19:16:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082123#M432004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T19:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082124#M432005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you sue TYPE TABLE OF &amp;lt;something &amp;gt; .. this &amp;lt;something &amp;gt; should be a Table Type either in the Data Dictionary or in your Program.. &lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Suresh Datti&lt;/P&gt;&lt;P&gt;    after clarification by Naren in the post below.. thanks Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 19:18:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082124#M432005</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-04-18T19:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082125#M432006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will work..if we use TYPE TABLE OF STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type table of string.&lt;/P&gt;&lt;P&gt;data: wa   type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa = 'test'.   append wa to itab.clear wa.&lt;/P&gt;&lt;P&gt;wa = 'test123'.append wa to itab.clear wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;  write: / wa.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 19:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082125#M432006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T19:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082126#M432007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are these function modules that you wrote or are they standard ones? If they are standard ones, you have to use the table type that the function module expects. If it custom function modules, I would recommend designing similar to a BAPI'd RETURN table paramater which is of type BAPIRET2. Then your calling programs can define an internal table of the same type and process it. This will give you some standardization as well as flexibility of using messages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 23:45:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-table/m-p/2082126#M432007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T23:45:39Z</dc:date>
    </item>
  </channel>
</rss>

