<?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 GENERATE_SUBPOOL_DIR_FULL  error while populating dynamic tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error-while-populating-dynamic-tables/m-p/1259837#M147271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have created a program that extensively uses dynamic internal tables. However, I faced a probelm regarding dynamic popultion of tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_fcat    TYPE lvc_t_fcat,&lt;/P&gt;&lt;P&gt;      dt_outtab TYPE REF TO DATA.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;tab&amp;gt; TYPE STANDARD TABLE.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;        EXPORTING i_structure_name = 'CSKS'&lt;/P&gt;&lt;P&gt;        CHANGING  ct_fieldcat      = t_fcat.&lt;/P&gt;&lt;P&gt;DO 100 TIMES.&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;               EXPORTING it_fieldcatalog = t_fcat&lt;/P&gt;&lt;P&gt;               IMPORTING ep_table        = dt_outtab&lt;/P&gt;&lt;P&gt;               EXCEPTIONS generate_subpool_dir_full = 1&lt;/P&gt;&lt;P&gt;                          others                    = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      WRITE / sy-index.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;      WRITE: / 'Error - sy-subrc = ', sy-subrc.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;WRITE / 'End'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using this program I found out that I can create no more than 36 internal tables for each program run. At the 37th one, the program raises an exception GENERATE_SUBPOOL_DIR_FULL.&lt;/P&gt;&lt;P&gt;Each method call creates a subroutine pool that stores a table, and obviously their number is limited somehow, in my case to 36.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can ask user to leave the program and start again, which is really not a feature of a professional application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to have the solution with no limits as my program should run for as many as 100 tables where I need to create dynamically, at one strech.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using 4.6 release. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any experiences with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Lalitha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Apr 2006 20:05:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-12T20:05:35Z</dc:date>
    <item>
      <title>GENERATE_SUBPOOL_DIR_FULL  error while populating dynamic tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error-while-populating-dynamic-tables/m-p/1259837#M147271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have created a program that extensively uses dynamic internal tables. However, I faced a probelm regarding dynamic popultion of tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_fcat    TYPE lvc_t_fcat,&lt;/P&gt;&lt;P&gt;      dt_outtab TYPE REF TO DATA.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;tab&amp;gt; TYPE STANDARD TABLE.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;        EXPORTING i_structure_name = 'CSKS'&lt;/P&gt;&lt;P&gt;        CHANGING  ct_fieldcat      = t_fcat.&lt;/P&gt;&lt;P&gt;DO 100 TIMES.&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;               EXPORTING it_fieldcatalog = t_fcat&lt;/P&gt;&lt;P&gt;               IMPORTING ep_table        = dt_outtab&lt;/P&gt;&lt;P&gt;               EXCEPTIONS generate_subpool_dir_full = 1&lt;/P&gt;&lt;P&gt;                          others                    = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      WRITE / sy-index.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;      WRITE: / 'Error - sy-subrc = ', sy-subrc.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;WRITE / 'End'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using this program I found out that I can create no more than 36 internal tables for each program run. At the 37th one, the program raises an exception GENERATE_SUBPOOL_DIR_FULL.&lt;/P&gt;&lt;P&gt;Each method call creates a subroutine pool that stores a table, and obviously their number is limited somehow, in my case to 36.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can ask user to leave the program and start again, which is really not a feature of a professional application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to have the solution with no limits as my program should run for as many as 100 tables where I need to create dynamically, at one strech.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using 4.6 release. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any experiences with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Lalitha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 20:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error-while-populating-dynamic-tables/m-p/1259837#M147271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T20:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL  error while populating dynamic tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error-while-populating-dynamic-tables/m-p/1259838#M147272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this form, is one alternative, may be is usefull for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM create_corresponding_tables TABLES not_standard&lt;/P&gt;&lt;P&gt;STRUCTURE not_standard.&lt;/P&gt;&lt;P&gt;DATA: progname LIKE sy-repid.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF repcode OCCURS 10,&lt;/P&gt;&lt;P&gt;line(72),&lt;/P&gt;&lt;P&gt;END OF repcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;repcode-line = 'REPORT NEW_INFOTYPE_DATA.'.&lt;/P&gt;&lt;P&gt;APPEND repcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;repcode-line = 'FORM DATA_DECLARATIONS.'.&lt;/P&gt;&lt;P&gt;APPEND repcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT not_standard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'P' not_standard-infty INTO repcode-line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'DATA: ' repcode-line 'LIKE' repcode-line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'OCCURS 10 WITH HEADER LINE.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INTO repcode-line SEPARATED BY space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND repcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;repcode-line = 'ENDFORM.'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND repcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GENERATE SUBROUTINE POOL repcode NAME progname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM data_declarations IN PROGRAM (progname).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " CREATE_CORRESPONDING_TABLES&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 20:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error-while-populating-dynamic-tables/m-p/1259838#M147272</guid>
      <dc:creator>LucianoBentiveg</dc:creator>
      <dc:date>2006-04-12T20:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE_SUBPOOL_DIR_FULL  error while populating dynamic tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error-while-populating-dynamic-tables/m-p/1259839#M147273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peluka,&lt;/P&gt;&lt;P&gt;Thanks the reply. &lt;/P&gt;&lt;P&gt;Can you be more detail. Can you give some sample which explains the steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 20:37:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subpool-dir-full-error-while-populating-dynamic-tables/m-p/1259839#M147273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T20:37:15Z</dc:date>
    </item>
  </channel>
</rss>

