cancel
Showing results for 
Search instead for 
Did you mean: 

ALV with checkboxes

former_member563268
Participant
0 Kudos

Hello,

I have a requirement to generate an ALV with 2 static columns and remaining columns as dynamic in nature. All of these dynamic columns(upto 50 columns), rather cells under these columns are represented as checkboxes. Could you please advise on the how this can be achieved. Any sample programs on this would be helpful. ALV output as alv-output.png. It is also required to fill this cehckboxes based on conditions and after dispaly in edit mode, the users are allowed to change the entries in checkboxes which is later saved and updated to the system using a function module.

Await your expert suggestions.

Regards,

Sandra_Rossi
Active Contributor

So, it's a table with 52 fields. In the field catalog, choose which columns you want to display, and define CHECKBOX = 'X' for all checkbox columns. For the rest, search the forum and the web for editable ALV grids.

venkateswaran_k
Active Contributor
0 Kudos

Hi

1. You said static (two columns). You mean to say first two columns to be frezee and remaining 50 columns to be scrolled horizontally. ?

former_member563268
Participant
0 Kudos

By dynamic i meant its a dynamic ALV. Of which first 2 columns which are key will be permanent and others will vary. I was trying out a method to use cl_salv_table=>factory to generate the ALV with checkboxes which are editable in nature. Any inputs on this. Or would you suggest me go with CL_ALV_GUI_GRID=> SET_TABLE_FOR_DISPLAY.

Sandra_Rossi
Active Contributor

See in this comment a minimal CL_SALV_TABLE code snippet with "editable" checkboxes.

Accepted Solutions (0)

Answers (0)