<?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 dump while executing class method whose exporting parameter  of type table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-class-method-whose-exporting-parameter-of-type-table/m-p/7923403#M1598960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; i am getting dump after executing a method in which i want to export an internal table which will hold all the states name along with its code on the basis of the country name which is my importing parameter.&lt;/P&gt;&lt;P&gt;for the above i am using importing parameter named as country of type too5u-land1 and the exporting parameter named as itab of type table and below is my code for the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method PROCESS.&lt;/P&gt;&lt;P&gt;  select BLAND BEZEI from T005U&lt;/P&gt;&lt;P&gt;         INTO TABLE ITAB WHERE&lt;/P&gt;&lt;P&gt;         LAND1 = COUNTRY.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2011 12:15:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-01T12:15:10Z</dc:date>
    <item>
      <title>dump while executing class method whose exporting parameter  of type table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-class-method-whose-exporting-parameter-of-type-table/m-p/7923403#M1598960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; i am getting dump after executing a method in which i want to export an internal table which will hold all the states name along with its code on the basis of the country name which is my importing parameter.&lt;/P&gt;&lt;P&gt;for the above i am using importing parameter named as country of type too5u-land1 and the exporting parameter named as itab of type table and below is my code for the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method PROCESS.&lt;/P&gt;&lt;P&gt;  select BLAND BEZEI from T005U&lt;/P&gt;&lt;P&gt;         INTO TABLE ITAB WHERE&lt;/P&gt;&lt;P&gt;         LAND1 = COUNTRY.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 12:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-class-method-whose-exporting-parameter-of-type-table/m-p/7923403#M1598960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-01T12:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: dump while executing class method whose exporting parameter  of type table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-class-method-whose-exporting-parameter-of-type-table/m-p/7923404#M1598961</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 check the below code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
parameters country type land1.

*Refer the class which we are using like below
data: a type ref to ZCL_TX_SERVICE_01.
data itab type ycountry.

*ycountry is a table type defined in dictionary with fields BLAND and BEZEI
data wa like line of itab.

*If we are using instance method we need  to create the instance like below
create object a.

*In the method process define exporting parameter itab as type ycountry which is a table type already defined
CALL METHOD a-&amp;gt;PROCESS
  EXPORTING
    COUNTRY = country
  IMPORTING
    ITAB    = itab.
    .

loop at itab into wa.
write:/ wa-bland.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dande&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 12:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-class-method-whose-exporting-parameter-of-type-table/m-p/7923404#M1598961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-01T12:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: dump while executing class method whose exporting parameter  of type table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-class-method-whose-exporting-parameter-of-type-table/m-p/7923405#M1598962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   What is the description of the short dump?&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 07:14:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-executing-class-method-whose-exporting-parameter-of-type-table/m-p/7923405#M1598962</guid>
      <dc:creator>former_member219399</dc:creator>
      <dc:date>2011-06-02T07:14:09Z</dc:date>
    </item>
  </channel>
</rss>

