Application Development 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: 

Exception condition "NO_FIELDCATALOG_AVAILABLE" raised.

former_member541575
Participant

Hi

i am getting the error message when i am executing ALV Report for Grid Display

Exception condition "NO_FIELDCATALOG_AVAILABLE" raised.

Error analysis

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

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.

while i have declared field catalog and also pass in FM

Regards

Atul

1 ACCEPTED SOLUTION

Former Member

Hi,

I understand you used REUSE_ALV_FIELDCATALOG_MERGE, and it returned sy-subrc as 0.

But still ur fieldcatalog table would have been empty.

This occurs due to a simple problem. Even i have faced.

Considering IT_OUTPUT as your output table, check its declaration, Try to declare its fields with LIKE instead of TYPE.

Then your problem will be resolved hopefully.

Regards

Meenakshi

  • Reward is useful

7 REPLIES 7

Former Member
0 Kudos

hi atul,

there is some problem in ur field catalog function module,,

im here pasting a field catalog code..tat works perfectly fine..

TYPE-POOLS: slis.

DATA: itab_fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'

EXPORTING

i_program_name = 'ZSALES_REPORT' " rep program name

i_internal_tabname = 'ITAB_OUTPUT' " output internal table

i_inclname = 'ZSALES_REPORT'

CHANGING

ct_fieldcat = itab_fieldcat " int table for field catalog..

EXCEPTIONS

inconsistent_interface = 1

program_error = 2

OTHERS = 3.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

let me knw if it helps u...

regards

kanika

Former Member
0 Kudos

Hi,

see below SDN link...

hope it will help...

Former Member
0 Kudos

Hi,

What was the type of your fieldcatalog internal table?

Was it 'lvc_t_fcat' ?

Regards,

Shailaja

Former Member
0 Kudos

Hi,

The fieldcatalog you have created and the fieldcatalog name which you have given in the set table for first display or refresh table for display may not be same. Check it once.

Sharin.

0 Kudos

HI,

Please check the table for Field catalog was filled or Empty.

I have got same kind of Exception when i used an emtpy internal table for Field catalog .

Regards,

Sreekanth.G

Former Member

Hi,

I understand you used REUSE_ALV_FIELDCATALOG_MERGE, and it returned sy-subrc as 0.

But still ur fieldcatalog table would have been empty.

This occurs due to a simple problem. Even i have faced.

Considering IT_OUTPUT as your output table, check its declaration, Try to declare its fields with LIKE instead of TYPE.

Then your problem will be resolved hopefully.

Regards

Meenakshi

  • Reward is useful

0 Kudos

Thanks A Lot Meenakshi

My report has been successfully executed i used Like instead of TYPE in tb_itab.

Regards

Atul Mohan Mishra