Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

ALV grid report NO_FIELDCATALOG_AVAILABLE

$
0
0

Hi,

 

I have copied a report and all its includes, screens, etc to another program so that I can experiment on some changes required to be done on the existing report. However, I am unable to successfully execute the copy of the report due to the dump "A RAISE statement in program "CL_GUI_ALV_GRID===============CP" has raised  exception condition "NO_FIELDCATALOG_AVAILABLE".

 

Can anyone advise what to check so that I can proceed? Since this is just a copy and I have not done any changes yet, can anyone explain why I'm getting a dump?

 

Btw, in the dump, this is the detail on which the dump is generated.

 

method set_sort_criteria.

 

 

*... (1) Trace?

  if not mr_trace is initial.

    call method mr_trace->add_trace_item

      exporting

        i_trace_item = 'SET_SORT_CRITERIA'

        ir_variant   = m_cl_variant

        it_data      = mt_data

        it_info      = mt_info.

  endif.

 

 

  if m_cl_variant->mt_fieldcatalog is initial.

    raise no_fieldcatalog_available.

  endif.

 

 

  m_cl_variant->mt_sort = it_sort.

 

 

  call function 'LVC_SORT_COMPLETE'

       exporting

            it_fieldcat = m_cl_variant->mt_fieldcatalog

       changing

            ct_sort     = m_cl_variant->mt_sort.

 

 

endmethod.

 

I put a breakpoint on the report, and it appears that this is where the dump is actually generated.

 

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

      EXPORTING

        i_callback_program       = sy-repid

        i_callback_user_command = 'ALV_USER_COMMAND'

        it_fieldcat              = t_fieldcat

        is_layout                = is_layout

*       it_events                = t_events[]

        is_variant               = variant

        i_save                   = 'A'

      TABLES

        t_outtab                 = t_out.

 

 

Thanks for any advise.

 

Cholen


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>