<?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: Error Analysis in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341772#M801166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use your select statement like this...&lt;/P&gt;&lt;P&gt;SELECT BUKRS BLDAT GSBER DMBTR BUDAT GJAHR SGTXT SAKNR FROM BSID &lt;STRONG&gt;INTO CORRESPONDING FIELDS OF&lt;/STRONG&gt;  TABLE IT_FINAL&lt;/P&gt;&lt;P&gt;where BUKRS IN S_BUKRS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2008 11:32:40 GMT</pubDate>
    <dc:creator>former_member188829</dc:creator>
    <dc:date>2008-02-04T11:32:40Z</dc:date>
    <item>
      <title>Error Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341768#M801162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Techis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wiil anybody pls tell how to solve following error as my report is giving dump]&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 that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught&lt;/P&gt;&lt;P&gt;     and&lt;/P&gt;&lt;P&gt;    therefore caused a runtime error.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    In a SELECT access, the read file could not be placed in the target&lt;/P&gt;&lt;P&gt;    field provided.&lt;/P&gt;&lt;P&gt;    Either the conversion is not supported for the type of the target field,&lt;/P&gt;&lt;P&gt;    the target field is too small to include the value, or the data does not&lt;/P&gt;&lt;P&gt;    have the format required for the target field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND my select statement is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT BUKRS BLDAT GSBER DMBTR BUDAT GJAHR SGTXT SAKNR FROM BSID INTO TABLE IT_FINAL&lt;/P&gt;&lt;P&gt;                  where BUKRS IN S_BUKRS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND MY INTERNAL TABLE IS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF IT_FINAL OCCURS 0,&lt;/P&gt;&lt;P&gt;          NAME LIKE KNA1-NAME1, " Customer Name&lt;/P&gt;&lt;P&gt;          KTOKD LIKE KNA1-KTOKD, "Account group&lt;/P&gt;&lt;P&gt;          SORTL LIKE KNA1-SORTL, " Search Term&lt;/P&gt;&lt;P&gt;          BUKRS LIKE BSID-BUKRS, "Comany Code&lt;/P&gt;&lt;P&gt;          KUNNR LIKE BSID-KUNNR, "Customer Number&lt;/P&gt;&lt;P&gt;          BLDAT LIKE BSID-BLDAT, " Doc.date&lt;/P&gt;&lt;P&gt;          GSBER LIKE BSID-GSBER, " Business Area&lt;/P&gt;&lt;P&gt;          DMBTR LIKE BSID-BUDAT, "Document Date&lt;/P&gt;&lt;P&gt;          BUDAT LIKE BSID-BUDAT, "Document Date&lt;/P&gt;&lt;P&gt;          GJAHR LIKE BSID-GJAHR, "Fiscal Year&lt;/P&gt;&lt;P&gt;          SGTXT LIKE BSID-SGTXT,   " Line-item text.&lt;/P&gt;&lt;P&gt;          SAKNR LIKE BSID-SAKNR, "g/l Account&lt;/P&gt;&lt;P&gt;          SHKZG LIKE BSID-SHKZG,   " Debit/Credit ind.&lt;/P&gt;&lt;P&gt;          PRCTR LIKE BSID-PRCTR, " Profit Center&lt;/P&gt;&lt;P&gt;          THIRTY LIKE BSID-DMBTR,   " 00-30 days.&lt;/P&gt;&lt;P&gt;          SIXTY LIKE BSID-DMBTR,   " 31-60 days.&lt;/P&gt;&lt;P&gt;          NINETY LIKE BSID-DMBTR,   " 61-90 days.&lt;/P&gt;&lt;P&gt;          ONETWENTY LIKE BSID-DMBTR,   " 91-120 days.&lt;/P&gt;&lt;P&gt;          ONEFIFTY LIKE BSID-DMBTR,   " 121-150 days.&lt;/P&gt;&lt;P&gt;          ONEEIGHTY LIKE BSID-DMBTR,   " 151-180 days.&lt;/P&gt;&lt;P&gt;          THREESIXTY LIKE BSID-DMBTR,   " 180-360 days.&lt;/P&gt;&lt;P&gt;          AMT LIKE BSID-DMBTR,   " 180-360 days.&lt;/P&gt;&lt;P&gt;       END OF IT_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REwars will be awarde for ans&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 11:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341768#M801162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T11:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341769#M801163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify ur select like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT BUKRS BLDAT GSBER DMBTR BUDAT GJAHR SGTXT SAKNR FROM BSID INTO 
Corresponding fields of " Check here
TABLE IT_FINAL
where BUKRS IN S_BUKRS.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 11:30:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341769#M801163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T11:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341770#M801164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;the structure of the table IT_FINAL and the order and number of fields in the select statemnt is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chaneg the definition of the table it_FINAL with the same number and order of the fields as in select statement and exceute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Appropriate points.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mansi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 11:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341770#M801164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T11:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341771#M801165</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;If you are using into table in the select statement the order of the fields in the internal table defination and the fields in the select statement should be in the same order. (THis is to increase the performance also).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use corresponding fields of itab instead of into table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 11:30:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341771#M801165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T11:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341772#M801166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use your select statement like this...&lt;/P&gt;&lt;P&gt;SELECT BUKRS BLDAT GSBER DMBTR BUDAT GJAHR SGTXT SAKNR FROM BSID &lt;STRONG&gt;INTO CORRESPONDING FIELDS OF&lt;/STRONG&gt;  TABLE IT_FINAL&lt;/P&gt;&lt;P&gt;where BUKRS IN S_BUKRS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 11:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341772#M801166</guid>
      <dc:creator>former_member188829</dc:creator>
      <dc:date>2008-02-04T11:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341773#M801167</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;Its a BASIS problem, BASIS people has to increase the roll area memory. Tell them to increase the memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 11:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341773#M801167</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2008-02-04T11:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341774#M801168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are SELECTing a very large amount of data. Do you really need to do this? If so, you can use the PACKAGE SIZE option of the SELECT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 16:00:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-analysis/m-p/3341774#M801168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T16:00:08Z</dc:date>
    </item>
  </channel>
</rss>

