Application Development and Automation 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: 
Read only

cl_alv_table_create=>create_dynamic_table is dumping

Former Member
0 Likes
586

Dear Xperts,

cl_alv_table_create=>create_dynamic_table is dumping with message "LOAD_PROGRAM_NOT_FOUND"

Pls Help:

Thanks

Raj

Dear Xperts,

cl_alv_table_create=>create_dynamic_table is dumping with message "LOAD_PROGRAM_NOT_FOUND"

Pls Help:

Thanks

Raj

3 REPLIES 3
Read only

Former Member
0 Likes
504

It might be that you have not defined the <b>custom container</b> on which you want to Create Dynamic Table.

If this is not the case, copy paste your program, i'll try to rectify the error.

Regards,

Pavan P.

Read only

0 Likes
504

My Code:

DATA: T_DATA TYPE REF TO DATA,

T_FIELDCAT TYPE LVC_T_FCAT,

T_HEADER TYPE SLIS_T_LISTHEADER,

T_SORT TYPE SLIS_T_SORTINFO_ALV.

  • Field Symbols

FIELD-SYMBOLS : <FS_DATA> TYPE STANDARD TABLE," REF TO DATA,

<FS_BATCH> TYPE STANDARD TABLE,

<FS_FREE> TYPE STANDARD TABLE,

<FS_STOR> TYPE STANDARD TABLE,

<FS_WA_FREE>,

<FS_WA_STOR>,

<FS_WA_BATCH>,

<FS_VAR>,

<FS_VAL> TYPE KONP-KBETR .

  • To create the dynamic Internal Table.

  • The fields of this table are obtained at runtime

CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE

EXPORTING

IT_FIELDCATALOG = T_FIELDCAT

IMPORTING

EP_TABLE = T_DATA

EXCEPTIONS

GENERATE_SUBPOOL_DIR_FULL = 1

OTHERS = 2

.

IF SY-SUBRC <> 0.

MESSAGE E074 WITH TEXT-015. " Error Creating int table.

EXIT.

ENDIF.

ASSIGN T_DATA->* TO <FS_BATCH>.

Read only

Former Member
0 Likes
504

i think the error is not in that method...are you using any SUBMIT statement,

try to catch that exception

TRY.
submit (V_REPID) via selection-screen.
CATCH LOAD_PROGRAM_NOT_FOUND.
ENDTRY.