Skip to Content
0
Former Member
Apr 08, 2009 at 04:45 AM

How to call the perform for making one field editable in ALV using OOP

18 Views

Hi,

I have a dought in ALV using OOP.

I have wrote a form to make one field editable in my program.

FORM adjust_editables USING pt_list LIKE gt_list[] .

DATA ls_listrow LIKE LINE OF pt_list .

DATA ls_stylerow TYPE lvc_s_styl .

DATA lt_styletab TYPE lvc_t_styl .

LOOP AT pt_list INTO ls_listrow .

ls_stylerow-fieldname = 'CONNID' .

ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled .

APPEND ls_stylerow TO lt_styletab .

ENDLOOP .

ENDFORM

But I am confused where should I call this form.

Can anyone help me out.

Thanks & Regards,

Samarpita.