Skip to Content

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

itab_illegal_component

hi

ı 'm use REUSE_ALV_HIERSEQ_LIST_DISPLAY.

ı m add belowing row in layout

ls_layout-expand_fieldname = g_expandname .7

return error : itab_illegal_component .

the row type "u" of internal table "t_outtab_master[] does not contain a component "EXPAND". . . . .

mycode:

DATA: LS_LAYOUT TYPE SLIS_LAYOUT_ALV.

FORM build_ls_layout .

ls_layout-group_change_edit = 'X' .

ls_layout-zebra = 'X' .

ls_layout-detail_popup = 'X' .

ls_layout-get_selinfos = 'X' .

ls_layout-expand_fieldname = g_expandname .

ENDFORM. " build_ls_layout

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