Skip to Content
0
Former Member
Jul 15, 2008 at 08:02 AM

Field "CC_ALV" is unknown

412 Views

Hello,

i'm folllowing the tutorial An easy reference for ALV grif control. and i get an error message that says : Field CC_ALV is unkown. It's neither one of the specified table nor defined by a data statement.

I did declare the field CC_ALV as told in the tutorial :

*-- Global data definitions for ALV

*--- ALV Grid instance reference

DATA gr_alvgrid TYPE REF TO cl_gui_alv_grid .

*--- Name of the custom control added on the screen

DATA gc_custom_control_name TYPE scrfname VALUE u2018CC_ALVu2019 .

*--- Custom container instance reference

DATA gr_ccontainer TYPE REF TO cl_gui_custom_container .

*--- Field catalog table

DATA gt_fieldcat TYPE lvc_t_fcat .

*--- Layout structure

DATA gs_layout TYPE lvc_s_layo .

and declared a Custom container in screen painter (created a screen 100 and add a custom container)

I tried moving the declaration from my top include to the main program but it doesn't solve the problem.

I activated the screen to

Where am i missing something please ???

Edited by: Tom . on Jul 15, 2008 10:11 AM