<?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 IN SELECT STATEMENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477795#M836025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!,  the dump says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         DBIF_RSQL_INVALID_RSQL&lt;/P&gt;&lt;P&gt;Exceptn                CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ShrtText&lt;/P&gt;&lt;P&gt;    Error in RSQL module of database interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    Error in ABAP application program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The current ABAP program "ZCL_IM_AMGENMATS==============CP" had to be&lt;/P&gt;&lt;P&gt;     terminated because one of the&lt;/P&gt;&lt;P&gt;    statements could not be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    This is probably due to an error in the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Following a SELECT statement, the data read could not be placed in AN&lt;/P&gt;&lt;P&gt;    the output area.&lt;/P&gt;&lt;P&gt;    A conversion may have been intended that is not supported by the&lt;/P&gt;&lt;P&gt;    system, or the output area may be too small.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred. This exception is dealt with in more detail below&lt;/P&gt;&lt;P&gt;    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was&lt;/P&gt;&lt;P&gt;     neither&lt;/P&gt;&lt;P&gt;    caught nor passed along using a RAISING clause, in the procedure&lt;/P&gt;&lt;P&gt;     "IF_EX_OPENHUB_TRANSFORM~TRANSFORM" "(METHOD)"&lt;/P&gt;&lt;P&gt;    .&lt;/P&gt;&lt;P&gt;    Since the caller of the procedure could not have expected this exception&lt;/P&gt;&lt;P&gt;     to occur, the running program was terminated.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    The data read during a SELECT access could not be inserted into the&lt;/P&gt;&lt;P&gt;    target field.&lt;/P&gt;&lt;P&gt;    Either conversion is not supported for the target field's type or the&lt;/P&gt;&lt;P&gt;    target field is too short to accept the value or the data are not in a&lt;/P&gt;&lt;P&gt;    form that the target field can accept&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2008 17:58:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-26T17:58:53Z</dc:date>
    <item>
      <title>SHORT DUMP IN SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477793#M836023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m making a badi in BW, but i have a problem with a select statement that gets me a dump, can you help me to fix it.? the code is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF tp_mat_sales,&lt;/P&gt;&lt;P&gt;           salesorg   TYPE /bi0/pmat_sales-salesorg,&lt;/P&gt;&lt;P&gt;           distr_chan TYPE /bi0/pmat_sales-distr_chan,&lt;/P&gt;&lt;P&gt;           mat_sales  TYPE /bi0/pmat_sales-mat_sales,&lt;/P&gt;&lt;P&gt;           fcushpdt   TYPE /bi0/pmat_sales-/bic/fcushpdt,&lt;/P&gt;&lt;P&gt;           commmgmt   TYPE /bi0/pmat_sales-/bic/commmgmt,&lt;/P&gt;&lt;P&gt;         END OF tp_mat_sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_mat_sales TYPE  HASHED TABLE OF tp_mat_sales WITH UNIQUE KEY mat_sales salesorg distr_chan,&lt;/P&gt;&lt;P&gt;i_mat_sales TYPE tp_mat_sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT salesorg distr_chan mat_sales /bic/commmgmt&lt;/P&gt;&lt;P&gt;        INTO TABLE t_mat_sales&lt;/P&gt;&lt;P&gt;          FROM /bi0/pmat_sales&lt;/P&gt;&lt;P&gt;          FOR ALL ENTRIES IN t_data_in&lt;/P&gt;&lt;P&gt;          WHERE       mat_sales  = t_data_in-mat_sales&lt;/P&gt;&lt;P&gt;          AND         salesorg   = t_data_in-salesorg&lt;/P&gt;&lt;P&gt;          AND         distr_chan = t_data_in-distr_chan&lt;/P&gt;&lt;P&gt;          AND         objvers    = 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 17:27:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477793#M836023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T17:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: SHORT DUMP IN SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477794#M836024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the message of the Dump???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see any problem in the code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 17:34:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477794#M836024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T17:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: SHORT DUMP IN SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477795#M836025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!,  the dump says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         DBIF_RSQL_INVALID_RSQL&lt;/P&gt;&lt;P&gt;Exceptn                CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ShrtText&lt;/P&gt;&lt;P&gt;    Error in RSQL module of database interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    Error in ABAP application program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The current ABAP program "ZCL_IM_AMGENMATS==============CP" had to be&lt;/P&gt;&lt;P&gt;     terminated because one of the&lt;/P&gt;&lt;P&gt;    statements could not be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    This is probably due to an error in the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Following a SELECT statement, the data read could not be placed in AN&lt;/P&gt;&lt;P&gt;    the output area.&lt;/P&gt;&lt;P&gt;    A conversion may have been intended that is not supported by the&lt;/P&gt;&lt;P&gt;    system, or the output area may be too small.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred. This exception is dealt with in more detail below&lt;/P&gt;&lt;P&gt;    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was&lt;/P&gt;&lt;P&gt;     neither&lt;/P&gt;&lt;P&gt;    caught nor passed along using a RAISING clause, in the procedure&lt;/P&gt;&lt;P&gt;     "IF_EX_OPENHUB_TRANSFORM~TRANSFORM" "(METHOD)"&lt;/P&gt;&lt;P&gt;    .&lt;/P&gt;&lt;P&gt;    Since the caller of the procedure could not have expected this exception&lt;/P&gt;&lt;P&gt;     to occur, the running program was terminated.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    The data read during a SELECT access could not be inserted into the&lt;/P&gt;&lt;P&gt;    target field.&lt;/P&gt;&lt;P&gt;    Either conversion is not supported for the target field's type or the&lt;/P&gt;&lt;P&gt;    target field is too short to accept the value or the data are not in a&lt;/P&gt;&lt;P&gt;    form that the target field can accept&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 17:58:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477795#M836025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T17:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: SHORT DUMP IN SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477796#M836026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check these two things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Double check if the field types specified for internal table are identical to the data elements in the database table you are selecting from.&lt;/P&gt;&lt;P&gt;2) Make sure that the SELECT statement is really returning unique values. Since you have defined the internal table as hash table with unique key, that could be causing the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 18:04:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477796#M836026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T18:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: SHORT DUMP IN SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477797#M836027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the itab definition should have LIKE instead of TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES: BEGIN OF tp_mat_sales,
  salesorg like /bi0/pmat_sales-salesorg,
  distr_chan like /bi0/pmat_sales-distr_chan,
  mat_sales like /bi0/pmat_sales-mat_sales,
  fcushpdt like /bi0/pmat_sales-/bic/fcushpdt,
  commmgmt like /bi0/pmat_sales-/bic/commmgmt,
END OF tp_mat_sales.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 18:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477797#M836027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T18:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: SHORT DUMP IN SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477798#M836028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INTO CORRESPONDING FIELDS OF TABLE t_mat_sales&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 18:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477798#M836028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T18:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: SHORT DUMP IN SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477799#M836029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls avoid the statement INTO CORRESPONDING becasue te performance reason. Check the selection feild, the field /bic/commmgmt is missing in decalration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 18:35:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477799#M836029</guid>
      <dc:creator>alex_m</dc:creator>
      <dc:date>2008-02-26T18:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: SHORT DUMP IN SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477800#M836030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a performance hit when using INTO CORRESPONDING FIELDS OF TABLE..., but it's small. See&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ Performance - what will kill you and what will leave you with only a flesh wound|/people/rob.burbank/blog/2006/11/16/performance--what-will-kill-you-and-what-will-leave-you-with-only-a-flesh-wound]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 18:55:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477800#M836030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T18:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: SHORT DUMP IN SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477801#M836031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexander is (partially) right. You have 5 fields in ITAB declaration, but only selecting 4 fields in SQL thereby sending the wrong data into wrong field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 19:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477801#M836031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T19:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: SHORT DUMP IN SELECT STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477802#M836032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...and that's why you use INTO CORRESPONDING...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't have to worry (as much) when the fields being selected change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 19:10:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-in-select-statement/m-p/3477802#M836032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T19:10:50Z</dc:date>
    </item>
  </channel>
</rss>

