<?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: GENERATE_SUBPOOL_DIR_FULL error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653824#M1445328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any alternative .....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Mar 2010 21:36:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-08T21:36:14Z</dc:date>
    <item>
      <title>GENERATE_SUBPOOL_DIR_FULL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653818#M1445322</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;I am getting this error GENERATE_SUBPOOL_DIR_FULL in my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; DATA: I_ALV_CAT TYPE TABLE OF LVC_S_FCAT.
DATA : D_REF2 TYPE REF TO DATA .
FIELD-SYMBOLS: &amp;lt;F_FS&amp;gt; TYPE STANDARD TABLE.

CALL METHOD CL_ALV_TABLE_CREATE=&amp;gt;CREATE_DYNAMIC_TABLE
      EXPORTING
        IT_FIELDCATALOG = I_ALV_CAT
      IMPORTING
        EP_TABLE        = D_REF2.

    ASSIGN D_REF2-&amp;gt;* TO &amp;lt;F_FS&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the forum but i couldn't find the solution from anybody.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 19:26:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653818#M1445322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T19:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653819#M1445323</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;I think there is a limit to the number of dynamic itabs you can create in a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also a similar exception class&lt;/P&gt;&lt;P&gt;CX_SY_GENERATE_SUBPOOL_FULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try clearing / unassigning the old dynamic itabs if you don't need them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 20:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653819#M1445323</guid>
      <dc:creator>former_member189059</dc:creator>
      <dc:date>2010-03-08T20:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653820#M1445324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It refers to same error.&lt;/P&gt;&lt;P&gt;CX_SY_GENERATE_SUBPOOL_FULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Try clearing / unassigning the old dynamic itabs if you don't need them.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;How to do the above ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 20:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653820#M1445324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T20:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653821#M1445325</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;Since this error is due to a large number of dynamic itabs, i'm guessing that you are either calling this in a loop or you have similar statements elsewhere in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as you do not require any field symbol, use&lt;/P&gt;&lt;P&gt;unassign &amp;lt;F_FS&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, free d_ref2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 20:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653821#M1445325</guid>
      <dc:creator>former_member189059</dc:creator>
      <dc:date>2010-03-08T20:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653822#M1445326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did the same way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unassign &amp;lt;F_FS&amp;gt;&lt;/P&gt;&lt;P&gt;free d_ref2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still same error at 37 the time of table creation....till 36 is ok...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'LVC_TABLE_CREATE'
      exporting
           it_fieldcat               = it_fieldcatalog
           I_CALLBACK_PROGRAM        =
           I_FORMNAME                =
           I_OO_CLASS_REFERENCE      =
           i_style_table             = i_style_table
           i_length_in_byte          = i_length_in_byte
           i_oo_class_name           = 'CL_ALV_TABLE_CREATE'
           i_oo_method               = l_oo_method
      exceptions
           generate_subpool_dir_full = 1
           others                    = 2.
 case sy-subrc.
   when 0.
     ep_table = mp_table.
   when 1.
    raise generate_subpool_dir_full.
when others.
     message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
 endcase.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: fract_get on Mar 8, 2010 10:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 21:25:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653822#M1445326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T21:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653823#M1445327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this has been explained many times. This limit of 36 is in the statement [GENERATE SUBROUTINE POOL|http://sandraros.free.fr/abap_docu.htm?url=ABAPGENERATE_SUBROUTINE_POOL.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 21:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653823#M1445327</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-03-08T21:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653824#M1445328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any alternative .....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 21:36:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653824#M1445328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T21:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653825#M1445329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This method eventually does:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;generate subroutine pool&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;From the help for this command:&lt;/P&gt;&lt;P&gt;&amp;gt;...a maximum of 36 temporary subroutine pools may be created.&lt;/P&gt;&lt;P&gt;So, this appears to be a hard error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry Sandra - didn't see your (better) explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Mar 8, 2010 4:38 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 21:38:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653825#M1445329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T21:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653826#M1445330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As explained in the documentation, this is a limit within the internal session (an internal session starts by SUBMIT, CALL TRANSACTION, and a few other statements). It means that you have to leave this internal session and restart one.&lt;/P&gt;&lt;P&gt;But instead of using CL_ALV_TABLE_CREATE=&amp;gt;CREATE_DYNAMIC_TABLE which should be considered as obsolete, use the RTTC classes. There are many examples, so I let you search.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 22:37:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653826#M1445330</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-03-08T22:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653827#M1445331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the message. Can you please give some sample code or links for RTTC classes....I searched in the forum but i couldn't find...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 23:14:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653827#M1445331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T23:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653828#M1445332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search a little harder then.&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, 09 Mar 2010 02:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653828#M1445332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T02:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653829#M1445333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Applause Rob ! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fract_get, there is a global SCN search field at the top of the navigator page. Entering RTTC triggers that: &lt;A href="http://www.sdn.sap.com/irj/scn/advancedsearch?query=rttc" target="test_blank"&gt;http://www.sdn.sap.com/irj/scn/advancedsearch?query=rttc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So what's your problem with that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 08:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error/m-p/6653829#M1445333</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-03-09T08:54:26Z</dc:date>
    </item>
  </channel>
</rss>

