11-23-2007 9:55 AM
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
11-23-2007 10:27 AM
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