<?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: short dump with the select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203109#M131410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TY_VBAP ,&lt;/P&gt;&lt;P&gt;VBELN TYPE vBELN,&lt;/P&gt;&lt;P&gt;POSNR TYPE POSNR,&lt;/P&gt;&lt;P&gt;END OF TY_VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : TVBAP type table of TY_VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VBELN POSNR UP TO 30 ROWS&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE T_VBAP FROM VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Apr 2006 16:54:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-14T16:54:11Z</dc:date>
    <item>
      <title>short dump with the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203106#M131407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a program i'm writing the select statement like this.&lt;/P&gt;&lt;P&gt;And it is giving a short dump saying the following message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF T_VBAP OCCURS 0,&lt;/P&gt;&lt;P&gt;      VBELN LIKE VBAP-VBELN,&lt;/P&gt;&lt;P&gt;      POSNR LIKE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;     END OF T_VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VBELN&lt;/P&gt;&lt;P&gt;       POSNR&lt;/P&gt;&lt;P&gt;       UP TO 30 ROWS&lt;/P&gt;&lt;P&gt;      INTO CORRESPONDING FIELDS OF TABLE T_VBAP&lt;/P&gt;&lt;P&gt;      FROM VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Short Dump:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Analysis:&lt;/P&gt;&lt;P&gt;                 &lt;/P&gt;&lt;P&gt;With the  statement                                                               &lt;/P&gt;&lt;P&gt;   "SELECT ... INTO TABLE itab"                                                  &lt;/P&gt;&lt;P&gt;internal tables with a deep line type are not supported at the argument          &lt;/P&gt;&lt;P&gt;position "itab".                                                                 &lt;/P&gt;&lt;P&gt;Internal tables with a deep line type are internal tables                        &lt;/P&gt;&lt;P&gt;with lines that are themselves either internal tables or                         &lt;/P&gt;&lt;P&gt;structurese that contain internal tables directly or indirectly as               &lt;/P&gt;&lt;P&gt;components.                                                                      &lt;/P&gt;&lt;P&gt;In this case, the internal table "itab" has the non-flat                         &lt;/P&gt;&lt;P&gt;line type "v".  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know how to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: dev a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2006 16:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203106#M131407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-14T16:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: short dump with the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203107#M131408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, the only thing that I can see is that the T_VBAP is not defined correctly.  This may be a typo in this post.  I would think that you would get a syntax error on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: BEGIN OF T_VBAP OCCURS 0,
VBELN LIKE VBAP-VBELN,
POSNR LIKE VBAP-POSNR,
END OF &amp;lt;b&amp;gt;IT_VBAP.&amp;lt;/b&amp;gt;   " This should be T_VBAP

SELECT VBELN
POSNR
UP TO 30 ROWS
INTO CORRESPONDING FIELDS OF TABLE T_VBAP
FROM VBAP.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2006 16:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203107#M131408</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-04-14T16:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: short dump with the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203108#M131409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;sorry that is a type mistake. The program is not giving any syntax errors at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when I execute the program it is short dumping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2006 16:53:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203108#M131409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-14T16:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: short dump with the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203109#M131410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TY_VBAP ,&lt;/P&gt;&lt;P&gt;VBELN TYPE vBELN,&lt;/P&gt;&lt;P&gt;POSNR TYPE POSNR,&lt;/P&gt;&lt;P&gt;END OF TY_VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : TVBAP type table of TY_VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VBELN POSNR UP TO 30 ROWS&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE T_VBAP FROM VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2006 16:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203109#M131410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-14T16:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: short dump with the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203110#M131411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm actually not getting a dump.  Your code works pretty good in my system.  Are you sure that it is dumping at this select and not another.  If you can, please post all of the code of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2006 17:07:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203110#M131411</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-04-14T17:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: short dump with the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203111#M131412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the dump, it will also show the code that caused the dump. Would you please post that portion of the dump?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2006 17:14:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203111#M131412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-14T17:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: short dump with the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203112#M131413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You u can find &amp;lt;b&amp;gt;Information where occured&amp;lt;/b&amp;gt; in shortdump.Will u please send that information if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sunil.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2006 17:26:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203112#M131413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-14T17:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: short dump with the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203113#M131414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure you're not doing something like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ztemp LINE-SIZE 80 MESSAGE-ID zc.

TABLES: vbap.

DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
END OF t_vbap.

DATA: BEGIN OF otab OCCURS 0,
        field LIKE table of t_vbap,
      END   OF otab.

SELECT vbeln
posnr
UP TO 30 ROWS
INTO CORRESPONDING FIELDS OF TABLE otab
FROM vbap.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I get exactly the same dump you do when I run this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2006 17:27:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203113#M131414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-14T17:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: short dump with the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203114#M131415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following code:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF T_VBAP,&lt;/P&gt;&lt;P&gt;        VBELN LIKE VBAP-VBELN,&lt;/P&gt;&lt;P&gt;        POSNR LIKE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;       END OF T_VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: LIT_VBAP TYPE TABLE OF T_VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VBELN POSNR&lt;/P&gt;&lt;P&gt;    UP TO 30 ROWS&lt;/P&gt;&lt;P&gt;  INTO TABLE LIT_VBAP&lt;/P&gt;&lt;P&gt;  FROM VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked it. It is not giving a short dump and it is returning 30 records&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2006 07:33:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203114#M131415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-15T07:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: short dump with the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203115#M131416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi dev,&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    TABLES: vbap.&lt;/P&gt;&lt;P&gt;    DATA: BEGIN OF t_vbap,&lt;/P&gt;&lt;P&gt;          vbeln LIKE vbap-vbeln,&lt;/P&gt;&lt;P&gt;          posnr LIKE vbap-posnr,&lt;/P&gt;&lt;P&gt;          END OF t_vbap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Data: &amp;lt;b&amp;gt;it_vbap like t_vbap with header line.&amp;lt;/b&amp;gt;   &lt;/P&gt;&lt;P&gt;          SELECT vbeln&lt;/P&gt;&lt;P&gt;                 posnr&lt;/P&gt;&lt;P&gt;                 UP TO 30 ROWS&lt;/P&gt;&lt;P&gt;                 INTO CORRESPONDING FIELDS OF TABLE&lt;/P&gt;&lt;P&gt;                 &amp;lt;b&amp;gt;it_vbap&amp;lt;/b&amp;gt; FROM vbap.&lt;/P&gt;&lt;P&gt;               &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         Check it in this way ... it is not giving me any dump and is fetching me 30 rows of records...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2006 09:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203115#M131416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-15T09:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: short dump with the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203116#M131417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This code is ok, and I agree with others here that the error is coming from somewhere else. Since it is talking about SELECT INTO TABLE, why don't you check all your SELECT statements and see if there is any INTO TABLE used in those SELECTs and if the internal table used has deep structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post all your select statements. Also, the dump should have told you exactly where the error occured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Apr 2006 04:13:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203116#M131417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-16T04:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: short dump with the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203117#M131418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dev,&lt;/P&gt;&lt;P&gt;    From the little information that is available from your side one can figure out that the dump is caused by incorrect destination for retrieval of records from whichever table you are trying to select.Your dump analysis reads :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;internal tables with a deep line type are not supported at the argument&amp;lt;/b&amp;gt; -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; this means that you have declared a type or a internal table which is having a deep stucture.Naturally the line type of the table from which you are trying to fetch data is not matching with the &amp;lt;b&amp;gt;ITAB&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look into the dump analysis.You can use transaction ST22 for this.If you have already corrected your problem then please make sure that you reward deserving guys.As you can see lot of people have already supplied their suggestions.Please dont forget to close the thread once your problem is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Apr 2006 15:04:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-with-the-select-statement/m-p/1203117#M131418</guid>
      <dc:creator>nishanthbhandar</dc:creator>
      <dc:date>2006-04-16T15:04:36Z</dc:date>
    </item>
  </channel>
</rss>

