Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with GENERATE_SUBPOOL_DIR_FULL.

Former Member
0 Kudos

Hi,

I use this Class in zhis way:

CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE

EXPORTING

IT_FIELDCATALOG = GT_FIELDCAT

IMPORTING

EP_TABLE = GS_DATA_HEAD

EXCEPTIONS

GENERATE_SUBPOOL_DIR_FULL = 1

OTHERS = 2.

I us it in a loop. But when this class is called al lot of times i get the

EXCEPTIONS: GENERATE_SUBPOOL_DIR_FULL.

How can i avoid this exception? can i clear the memory. When i have

create a itab dynamicly i handle it. when i create a new itab, i don't need

the old one.

Any Idea?

Regards, Dieter

1 REPLY 1

matt
Active Contributor
0 Kudos

If you are in a later release, you can use the RTTS classes to create internal tables dynamically, without the restriction on subroutine pools.

These are CL_ABAP_TYPEDESCR and subclasses.

There are a few blogs on SDN that give examples of their use.

matt