2021 Sep 08 4:17 PM
hi,
This is my output screen. When I do a select all, I want to select all the checkbox in selection column and not the first column. How do I do It? In selectall logic this is what I have passed,
WHEN '&ALL'.
LOOP AT gt_list ASSIGNING FIELD-SYMBOL(<lw_final>)." WHERE check = abap_true.
<lw_final>-check = abap_true.
ENDLOOP.
p_selfld-refresh = abap_true.
Pls Help.
hi,
This is my output screen. When I do a select all, I want to select all the checkbox in selection column and not the first column. How do I do It? In selectall logic this is what I have passed,
WHEN '&ALL'.
LOOP AT gt_list ASSIGNING FIELD-SYMBOL(<lw_final>)." WHERE check = abap_true.
<lw_final>-check = abap_true.
ENDLOOP.
p_selfld-refresh = abap_true.
Pls Help.
2021 Sep 08 4:19 PM
2021 Sep 08 4:56 PM
I guess you are using a Table Control in SAP GUI.
In the attributes of your Table Control, you can assign this first column to a component of your internal table.
See screenshots there: https://wiki.scn.sap.com/wiki/display/ABAP/Learn+Making+First+Table+Control
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |