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

Question Please

Former Member
0 Likes
411

Experts help me please..

I need to create a code for select all button.

without using the method class.

my problem is when I used this kind of code under select all button.my back , exit button is affected.could you help me please on how to change my code because when I delete the perform display_alv_list my checkbox is not being check.please help me guys I dont want to used the method class,

WHEN 'SELECT'.

LOOP AT it_ltak INTO wa_ltak.

wa_ltak-sel = 'X'.

MODIFY it_ltak FROM wa_ltak TRANSPORTING sel.

ENDLOOP.

PERFORM display_alv_list.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
395

You can refresh the ALV in the user_call_back routine. This user_call_back routine is the form where you usually operate the user commands

FORM handle_ucomm USING r_ucomm LIKE sy-ucomm

r_selfld TYPE slis_selfield.

CASE r_ucomm.

WHEN 'SELECT ALL'

modify data internal table .

r_selfld-refresh = 'X'.

endcase.

3 REPLIES 3
Read only

Former Member
0 Likes
395

Use FM, "REUSE_ALV_GRID_DISPLAY", it already has button to "Select All"

Read only

Former Member
0 Likes
396

You can refresh the ALV in the user_call_back routine. This user_call_back routine is the form where you usually operate the user commands

FORM handle_ucomm USING r_ucomm LIKE sy-ucomm

r_selfld TYPE slis_selfield.

CASE r_ucomm.

WHEN 'SELECT ALL'

modify data internal table .

r_selfld-refresh = 'X'.

endcase.

Read only

0 Likes
395

its working fine..thank you so much ill give you points...