Skip to Content

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

alv edit error

i'm using fieldcatalog to rename the column header(name) like this..

CLEAR g_wa_fieldcat.

g_wa_fieldcat-coltext = 'Module'.

g_wa_fieldcat-fieldname = 'MODULETYPE'.

g_wa_fieldcat-style = cl_gui_alv_grid=>mc_style_enabled.

g_wa_fieldcat-ref_table = 'G_IT_DEV_LIST'.

g_wa_fieldcat-just = 'C'.

g_wa_fieldcat-col_opt = 'X'.

APPEND g_wa_fieldcat TO g_fieldcat.

and after edit the alv

CALL METHOD g_grid->set_table_for_first_display


i_structure_name = 'ZDEVELOP_LIST'

is_layout = g_layout


it_outtab = g_it_dev_list

it_fieldcatalog = g_fieldcat.

after i renamed the column name..

after edit or add the new column and when i use

CALL METHOD g_grid->check_changed_data.

the errors are occur!!

Selected Logs(Local Time) : 2007.10.09 03:07:

NameOfTheColumn | Message Text

지연 Field G_IT_DEV_LIST-LIGHT is not in the ABAP Dictionary

Module Field G_IT_DEV_LIST-MODULETYPE is not in the ABAP Dictionary

ID Field G_IT_DEV_LIST-ID is not in the ABAP Dictionary

T-CODE Field G_IT_DEV_LIST-T_CODE is not in the ABAP Dictionary

g_it_dev_list has above fieldname. if i don't rename the column name, it doesn's occur!!

plz help me!!!!

Message was edited by:

Seung Chul Yang

Former Member
Former Member replied

no need of this statement g_wa_fieldcat-ref_table = 'G_IT_DEV_LIST'.

0 View this answer in context

Helpful Answer

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