‎2007 Aug 21 10:09 AM
Hi All,
I am using function module , fieldcatalog merge in my program.
its going to dump at some point inside the function module .
Trigger Location of Runtime Error
Program CL_GUI_ALV_GRID===============CP
Include CL_GUI_ALV_GRID===============CM01G
Row 14
Module type (METHOD)
Module Name SET_SORT_CRITERIA
Here its going to dump,
and showing 'No field catalog available.
can anyone pls tell me how to rectify this.
thanks in advance.
Regards,
Bindu.
‎2007 Aug 21 10:12 AM
‎2007 Aug 21 10:12 AM
‎2007 Aug 21 10:27 AM
Hi prema,
gv_table = 'T_SUMMARY'(002).
gv_repid = sy-repid.
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = gv_repid
i_internal_tabname = gv_table
i_inclname = gv_repid
CHANGING
ct_fieldcat = t_fldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
others = 3.
Regards,
Bindu
‎2007 Aug 21 11:04 AM
hi
population is correctly only
did u declare the t_fldcat as an internal table or as a structure....
if u declare it as internaltable then pass only the structure of it...
ie
t_fldcat type slis_t_fieldcat_alv occurs 0 with header line.
then pass t_fldcat[] to FM
just chk this....u again run the same program ....
can u plz paste the code....