<?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 Error during runtime in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-runtime/m-p/2142743#M451560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;Error during runtime :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  SELECT OBJNR  GJAHR  KSTAR  PAROB
         WTG001 WTG002 WTG003 WTG004 WTG005 WTG006 WTG007 WTG008
         WTG009 WTG010 WTG011 WTG012 WTG013 WTG014 WTG015 WTG016
  INTO TABLE gt_coss
  FROM COSS
  WHERE LEDNR = '00'      AND "Ledger para objetos de Controlling
        GJAHR = P_anyo    AND "Ejercicio
        WRTTP = '04'      AND "Tipo de valor
        VERSN = '000'     AND "Versión
        VRGNG = 'RKL'     AND "Operación
        PAROB IN r_parob_1
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;"The maximum size of an SQL statement has been exceeded."&lt;/P&gt;.It is because r_parob_1 has many entries. There is any way to solve this?&lt;BR /&gt;I have tried adding: &lt;B&gt;&lt;P&gt;%_HINTS DB2 '&amp;amp;prefer_in_itab_opt 0&amp;amp;&amp;amp;max_blocking_factor 100&amp;amp;'.&lt;/P&gt;&lt;/B&gt; :There is no Error syntaxis but It doesn't  do anything&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is any way to solve this without to split internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2007 16:03:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-02T16:03:42Z</dc:date>
    <item>
      <title>Error during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-runtime/m-p/2142743#M451560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;Error during runtime :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  SELECT OBJNR  GJAHR  KSTAR  PAROB
         WTG001 WTG002 WTG003 WTG004 WTG005 WTG006 WTG007 WTG008
         WTG009 WTG010 WTG011 WTG012 WTG013 WTG014 WTG015 WTG016
  INTO TABLE gt_coss
  FROM COSS
  WHERE LEDNR = '00'      AND "Ledger para objetos de Controlling
        GJAHR = P_anyo    AND "Ejercicio
        WRTTP = '04'      AND "Tipo de valor
        VERSN = '000'     AND "Versión
        VRGNG = 'RKL'     AND "Operación
        PAROB IN r_parob_1
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;"The maximum size of an SQL statement has been exceeded."&lt;/P&gt;.It is because r_parob_1 has many entries. There is any way to solve this?&lt;BR /&gt;I have tried adding: &lt;B&gt;&lt;P&gt;%_HINTS DB2 '&amp;amp;prefer_in_itab_opt 0&amp;amp;&amp;amp;max_blocking_factor 100&amp;amp;'.&lt;/P&gt;&lt;/B&gt; :There is no Error syntaxis but It doesn't  do anything&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is any way to solve this without to split internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 16:03:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-runtime/m-p/2142743#M451560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-02T16:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-runtime/m-p/2142744#M451561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think  r_parob_1 contains unique values of Partner objects, instead of using range , you can use for all entries statement in the select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  SELECT OBJNR  GJAHR  KSTAR  PAROB
         WTG001 WTG002 WTG003 WTG004 WTG005 WTG006 WTG007 WTG008
         WTG009 WTG010 WTG011 WTG012 WTG013 WTG014 WTG015 WTG016
  INTO TABLE gt_coss
  FROM COSS
  FOR ALL ENTRIES IN R_PAROB_1
  WHERE LEDNR = '00'      AND "Ledger para objetos de Controlling
        GJAHR = P_anyo    AND "Ejercicio
        WRTTP = '04'      AND "Tipo de valor
        VERSN = '000'     AND "Versión
        VRGNG = 'RKL'     AND "Operación
        PAROB  EQ R_PAROB_1-LOW.    " I think you don't have any value in HIGH

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 16:36:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-runtime/m-p/2142744#M451561</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-04-02T16:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-runtime/m-p/2142745#M451562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I don't have any value in HIGH. &lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 10:48:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-runtime/m-p/2142745#M451562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T10:48:20Z</dc:date>
    </item>
  </channel>
</rss>

