<?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: dynamic internal table problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-problem/m-p/5387819#M1238577</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;Refer to this link..&lt;/P&gt;&lt;P&gt;&lt;A href="http://help-abap.blogspot.com/2008/09/dynamic-internal-table-creation.html" target="test_blank"&gt;http://help-abap.blogspot.com/2008/09/dynamic-internal-table-creation.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7003274"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2009 12:39:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-26T12:39:04Z</dc:date>
    <item>
      <title>dynamic internal table problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-problem/m-p/5387818#M1238576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem with the dynamic internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ref_table_desc ?=
                cl_abap_typedescr=&amp;gt;describe_by_name( v_tablename ).

    it_details[] = ref_table_desc-&amp;gt;components[].

    loop at it_details into wa_details.
      wa_fieldcat-fieldname = wa_details-name.
      wa_fieldcat-datatype = wa_details-type_kind.
      wa_fieldcat-inttype = wa_details-type_kind.
      wa_fieldcat-intlen = wa_details-length.
      wa_fieldcat-decimals = wa_details-decimals.

      append wa_fieldcat to it_fieldcat.
      clear wa_fieldcat.
      clear wa_details.
    endloop.

    call method cl_alv_table_create=&amp;gt;create_dynamic_table
      exporting
        it_fieldcatalog = it_fieldcat
      importing
        ep_table        = dyn_table.

    assign dyn_table-&amp;gt;* to &amp;lt;dyn_table&amp;gt;.
    create data dyn_line like line of &amp;lt;dyn_table&amp;gt;.
    assign dyn_line-&amp;gt;* to &amp;lt;dyn_wa&amp;gt;.

    select * into table &amp;lt;dyn_table&amp;gt;
             from (v_tablename)
           where jobid eq v_jobid.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the select statment in the above code is going to dump ...the dump message is &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;With ABAP/4 Open SQL array select, the output table is too small&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could any one please help me out in solving this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;P&gt;chandu reddy sunkari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 12:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-problem/m-p/5387818#M1238576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T12:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic internal table problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-problem/m-p/5387819#M1238577</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;Refer to this link..&lt;/P&gt;&lt;P&gt;&lt;A href="http://help-abap.blogspot.com/2008/09/dynamic-internal-table-creation.html" target="test_blank"&gt;http://help-abap.blogspot.com/2008/09/dynamic-internal-table-creation.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7003274"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 12:39:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-problem/m-p/5387819#M1238577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T12:39:04Z</dc:date>
    </item>
  </channel>
</rss>

