Skip to Content
avatar image
Former Member

"NO_FIELDCATALOG_AVAILABLE" Exception using alv_grid->set_table_for_first

Hi Everyone,

I am creating a simple ALV report with double click detection and reading a long text field with FM READ_TEXT. This is then displayed in an another window that is docked to the right of the ALV (This is called with the HANDLER

xyz->handle_double_click FOR alv_grid)

When I call method "set_table_for_first_display" of CLASS CL_GUI_ALV_GRID, I keep getting error Exception condition "NO_FIELDCATALOG_AVAILABLE" raised.

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



I feel this error is being triggered because I am not passing the correct parameters to I_STRUCTURE_NAME. I have constructed a static fieldcat that is available to use as well. When I pass in this fieldcat to I_STRUCTURE_NAME it throws the error.

I cant pass in a generic structure because I queried roughly 5 separate tables and combined them into an Output table.

Any suggestions??

Thanks in advance for your help.

- Dan -

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 18, 2007 at 04:02 AM

    Can u paste a part of ur code ? The ALV call and Field catalog part ?

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 17, 2007 at 10:25 PM

    You should be passig the field catalog to the correct parameter.

               IT_OUTTAB       = I_ALV[]
               IT_FIELDCATALOG = FIELDCAT[].       "<-  RIGHT HERE


    RIch Heilman

    Add comment
    10|10000 characters needed characters exceeded