Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV Runtime Error : "NO_FIELDCATALOG_AVAILABLE"

Hi,

I am getting an error : "CL_GUI_ALV_GRID===============CM01J

" "SET_SORT_CRITERIA".

The program works fine in 4.6 but in 4.7 it is terminating.

*****************************************************

ERROR DESCRIPTION.

<b>Error analysis </b>

A RAISE statement in the program "CL_GUI_ALV_GRID===============CP" raised the

exception

condition "NO_FIELDCATALOG_AVAILABLE".

Since the exception was not intercepted by a superior program

in the hierarchy, processing was terminated.

Short description of exception condition:

For detailed documentation of the exception condition, use

Transaction SE37 (Function Library). You can take the called

function module from the display of active calls.

-

<b>Information on where terminated </b>

The termination occurred in the ABAP program "CL_GUI_ALV_GRID===============CP"

in "SET_SORT_CRITERIA".

The main program was "Z7IPPLRP_ZNAV_MSREPORT ".

The termination occurred in line 14 of the source code of the (Include)

program "CL_GUI_ALV_GRID===============CM01J"

of the source code of program "CL_GUI_ALV_GRID===============CM01J" (when

calling the editor 140).

<b>Source code extract</b>

000010 method set_sort_criteria.

000020

000030 *... (1) Trace?

000040 if not mr_trace is initial.

000050 call method mr_trace->add_trace_item

000060 exporting

000070 i_trace_item = 'SET_SORT_CRITERIA'

000080 ir_variant = m_cl_variant

000090 it_data = mt_data

000100 it_info = mt_info.

000110 endif.

000120

000130 if m_cl_variant->mt_fieldcatalog is initial.

> raise no_fieldcatalog_available.

000150 endif.

000160

000170 m_cl_variant->mt_sort = it_sort.

000180

000190 call function 'LVC_SORT_COMPLETE'

000200 exporting

000210 it_fieldcat = m_cl_variant->mt_fieldcatalog

000220 changing

000230 ct_sort = m_cl_variant->mt_sort.

000240

000250 endmethod.

*****************************************************

Any ideas ?

Thanks & Regards,

Ankur

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question