Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Checkbox not being selected

0 Likes
1,117

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.

2 REPLIES 2
Read only

0 Likes
1,066

This is my Output.
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,066

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