Skip to Content
0
Former Member
Mar 03, 2008 at 03:58 AM

Save checkbox value in custom table

99 Views

Hi Experts,

I have created an interactive ALV whis is also having a checkbox field & a blank field for comments.

I have to save the chekbox value in a z table so that next time when the report run it wil not show those rows which are ticked my user earlier.

for user action a added the functionality to save button in toolbar but & putting a logic like below.

CASE r_ucomm.

WHEN '&DATA_SAVE'.

Loop at gt_final where cut = 'X'.

gt_ztable-aufnr = gt_final-aufnr.

gt_ztable-cut = gt_final-cut.

gt_ztable-probl = gt_final-probs.

INSERT zcut_list FROM gt_ztable.

ENDLOOP.

ENDCASE.

Still i am not getting anything in z table, even while debugging i found nothing in gt_final which is the internal table used for grid display.

Can anyone please guide me or send me some code which is someone did it earlier.

Regards,

Nik