<?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: Dump on table type when using FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-table-type-when-using-fm/m-p/1294468#M156431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I am working withg BW and this is to read data from the ODS Object in BW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Sharath kumar,&lt;/P&gt;&lt;P&gt;ET_DATA is define as TYEP ANY TABLE from the EXPORT tab of the FM. I think I already have defined G_T_DATA1 similar to your suggestion as seen here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;I defined g_t_data1 as follows&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF GT_S_DATA1,&lt;/P&gt;&lt;P&gt;ZFUNDCNTR(24) TYPE C,&lt;/P&gt;&lt;P&gt;ZFUNDGRP(24) TYPE C,&lt;/P&gt;&lt;P&gt;ZDWR_ORG(24) TYPE C,&lt;/P&gt;&lt;P&gt;END OF GT_S_DATA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: g_t_data1 TYPE STANDARD TABLE OF gt_s_data1&lt;/P&gt;&lt;P&gt;WITH HEADER LINE,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Per your suggestion &lt;/P&gt;&lt;P&gt;data: G_T_DATA1 type standard table of &amp;lt;&amp;lt;b&amp;gt;gt_s_data1&amp;lt;/b&amp;gt;&amp;gt; with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have I missed something? Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2006 03:33:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-08T03:33:11Z</dc:date>
    <item>
      <title>Dump on table type when using FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-table-type-when-using-fm/m-p/1294465#M156428</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 am using FM  RSAN_ODS_DATA_READ.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RSAN_ODS_DATA_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      I_ODSOBJECT = 'ZORGFUND'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ET_DATA     = g_t_data1&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      FAILED      = 1&lt;/P&gt;&lt;P&gt;      OTHERS      = 2.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I defined g_t_data1 as follows&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF GT_S_DATA1,&lt;/P&gt;&lt;P&gt;        ZFUNDCNTR(24)   TYPE C,&lt;/P&gt;&lt;P&gt;        ZFUNDGRP(24)    TYPE C,&lt;/P&gt;&lt;P&gt;        ZDWR_ORG(24)    TYPE C,&lt;/P&gt;&lt;P&gt;     END OF GT_S_DATA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: g_t_data1 TYPE STANDARD TABLE OF gt_s_data1&lt;/P&gt;&lt;P&gt;                  WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then I got an error:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;You attempted to pass the field "G_T_DATA1" to the formal parameter "ET_DATA"&lt;/P&gt;&lt;P&gt;but the formal parameter "ET_DATA" can accept only fields of&lt;/P&gt;&lt;P&gt;type "h". The field "ET_DATA" has the type "u".&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is type 'h' and ''u'. I have never seen this. How should I define g_t_data1 so that I won't get a dump?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 01:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-table-type-when-using-fm/m-p/1294465#M156428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T01:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dump on table type when using FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-table-type-when-using-fm/m-p/1294466#M156429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is ET_DATA declared as an export parameter inside the function module RSAN_ODS_DATA_READ???? Declare your G_T_DATA1 as,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: G_T_DATA1 type standard table of &amp;lt;type assosiated with ET_DATA inside the FM&amp;gt; with header line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 01:29:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-table-type-when-using-fm/m-p/1294466#M156429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T01:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dump on table type when using FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-table-type-when-using-fm/m-p/1294467#M156430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  What's your SAP version,I can't get the FM named "RSAN_ODS_DATA_READ" in my SAP system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I used IDES ECC5.0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 01:42:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-table-type-when-using-fm/m-p/1294467#M156430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T01:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dump on table type when using FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-table-type-when-using-fm/m-p/1294468#M156431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I am working withg BW and this is to read data from the ODS Object in BW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Sharath kumar,&lt;/P&gt;&lt;P&gt;ET_DATA is define as TYEP ANY TABLE from the EXPORT tab of the FM. I think I already have defined G_T_DATA1 similar to your suggestion as seen here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;I defined g_t_data1 as follows&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF GT_S_DATA1,&lt;/P&gt;&lt;P&gt;ZFUNDCNTR(24) TYPE C,&lt;/P&gt;&lt;P&gt;ZFUNDGRP(24) TYPE C,&lt;/P&gt;&lt;P&gt;ZDWR_ORG(24) TYPE C,&lt;/P&gt;&lt;P&gt;END OF GT_S_DATA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: g_t_data1 TYPE STANDARD TABLE OF gt_s_data1&lt;/P&gt;&lt;P&gt;WITH HEADER LINE,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Per your suggestion &lt;/P&gt;&lt;P&gt;data: G_T_DATA1 type standard table of &amp;lt;&amp;lt;b&amp;gt;gt_s_data1&amp;lt;/b&amp;gt;&amp;gt; with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have I missed something? Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 03:33:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-table-type-when-using-fm/m-p/1294468#M156431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T03:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dump on table type when using FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-table-type-when-using-fm/m-p/1294469#M156432</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;please remove the WITH HEADER LINE statement in internal table declaration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2006 03:42:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-on-table-type-when-using-fm/m-p/1294469#M156432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-08T03:42:21Z</dc:date>
    </item>
  </channel>
</rss>

