<?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: Exception using dynamic tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093112#M435414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the dynamic internal table created has x no of fields length.&lt;/P&gt;&lt;P&gt;when ur selecting data from table, the no of fields are exceeding than the x no of fields due to which it is unable to hold data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2007 16:29:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-17T16:29:52Z</dc:date>
    <item>
      <title>Exception using dynamic tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093107#M435409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using a dynamic table, but when i try to load data of pa0006 i got the following exception &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an SQL array select, the internal table used to hold the      &lt;/P&gt;&lt;P&gt;selected records must be at least as wide as the database table  &lt;/P&gt;&lt;P&gt;from which the records are being read.                           &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this particular case, the database table is 733 bytes wide,  &lt;/P&gt;&lt;P&gt;but the internal table is only 727 bytes wide.                  &lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 13:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093107#M435409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T13:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Exception using dynamic tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093108#M435410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show your code?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 13:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093108#M435410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T13:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exception using dynamic tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093109#M435411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: gt_fieldcat type LVC_T_FCAT,&lt;/P&gt;&lt;P&gt;      gt_table type ref to data.&lt;/P&gt;&lt;P&gt;data: ls_fieldcat type lvc_s_fcat.&lt;/P&gt;&lt;P&gt;DATA: MODIFICAR VALUE ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols: &amp;lt;gt_table&amp;gt; type table,&lt;/P&gt;&lt;P&gt;               &amp;lt;wa_table&amp;gt; type any,&lt;/P&gt;&lt;P&gt;               &amp;lt;dyn_PERNR&amp;gt;,&lt;/P&gt;&lt;P&gt;               &amp;lt;DYN_SUBTY&amp;gt;,&lt;/P&gt;&lt;P&gt;               &amp;lt;Dyn_objps&amp;gt;,&lt;/P&gt;&lt;P&gt;               &amp;lt;dyn_sprps&amp;gt;,&lt;/P&gt;&lt;P&gt;               &amp;lt;dyn_endda&amp;gt;,&lt;/P&gt;&lt;P&gt;               &amp;lt;dyn_begda&amp;gt;,&lt;/P&gt;&lt;P&gt;               &amp;lt;dyn_itxex&amp;gt;,&lt;/P&gt;&lt;P&gt;               &amp;lt;dyn_seqnr&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it_dfies type standard table of dfies,&lt;/P&gt;&lt;P&gt;      wa_dfies type dfies,&lt;/P&gt;&lt;P&gt;      lv_table type ddobjname value 'PA0016'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*select single kotab from t681 into lv_table&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      where kvewe = 'A' and kotabnr = '005' and kappl = 'V'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DDIF_NAMETAB_GET'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    TABNAME           = lv_table&lt;/P&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;   DFIES_TAB         = it_dfies&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   NOT_FOUND         = 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;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at it_dfies into wa_dfies.&lt;/P&gt;&lt;P&gt;       ls_fieldcat-fieldname = wa_dfies-fieldname.&lt;/P&gt;&lt;P&gt;       ls_fieldcat-inttype = wa_dfies-inttype.&lt;/P&gt;&lt;P&gt;       ls_fieldcat-outputlen = wa_dfies-outputlen.&lt;/P&gt;&lt;P&gt;       append ls_fieldcat to gt_fieldcat.&lt;/P&gt;&lt;P&gt;       clear: wa_dfies.&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;CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    it_fieldcatalog = gt_fieldcat&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    ep_table        = gt_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN gt_table-&amp;gt;* TO &amp;lt;gt_table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT *&lt;/P&gt;&lt;P&gt;  FROM (lv_table)&lt;/P&gt;&lt;P&gt;  into table &amp;lt;gt_table&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 14:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093109#M435411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T14:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Exception using dynamic tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093110#M435412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the first example in this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/ABAP/DynamicInternaltable/DynamicInternalTable.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/ABAP/DynamicInternaltable/DynamicInternalTable.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 14:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093110#M435412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T14:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Exception using dynamic tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093111#M435413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldn't make it work. Has anyone checked the code???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 16:26:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093111#M435413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T16:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exception using dynamic tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093112#M435414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the dynamic internal table created has x no of fields length.&lt;/P&gt;&lt;P&gt;when ur selecting data from table, the no of fields are exceeding than the x no of fields due to which it is unable to hold data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 16:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093112#M435414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T16:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exception using dynamic tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093113#M435415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did u check the code? Have you got any idea about how to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be very greatfull.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 16:52:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-using-dynamic-tables/m-p/2093113#M435415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T16:52:26Z</dc:date>
    </item>
  </channel>
</rss>

