Hi,
I am working on one requirement where my program has to generate Dynamic internal tables, So I am creating dynamic field catalog and passing it to the class
CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
EXPORTING
IT_FIELDCATALOG = GT_DYN_FCAT1
IMPORTING
EP_TABLE = GT_DYN_TABLE1
EXCEPTIONS
GENERATE_SUBPOOL_DIR_FULL = 1
OTHERS = 2.
IF SY-SUBRC EQ 0.
ENDIF.
The above code is written in loop and the no. of loops will vary, it is working fine for around fifteen loops and after that it is not generating the Dynamic internal table and giving the SY-SUBRC = 1. It means the exception GENERATE_SUBPOOL_DIR_FULL. I came to know that during runtime max 36 dynamic subroutine pools will be generated after that it will not create Dynamic internal tables.
Please let me know if anybody faced same issue and any alternative to resolve this issue. my SAP version is 6.0.
Dileep.