2007 Jul 05 9:56 AM
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
2007 Jul 05 10:09 AM
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.
2007 Jul 05 10:23 AM
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>.
2007 Jul 05 10:15 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |