Application Development 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: 

Check Box for Row Selection

Former Member
0 Kudos

Hi,

My Req changes as follows, I should use only check box for row selection in Table Control(used Table control Wizard), once i select the check boxes corresponding to the rows,the selected rows should be displayed in next screen,plz provide the sample code for catching the selected rows and displaying them in the next screen.

Thanks & Regards,

Vijaya.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi vijaya,

Use checkbox option in screen painter and placed it in

each row.

Then follow the below codings,

data pick type c value 'X'.

MODULE INITCHECK INPUT.

modify itab INDEX rowdeleting-current_line.

ENDMODULE.

MODULE USER_COMMAND_0100 INPUT.

CASE OK_CODE.

WHEN 'OK'.

if pick eq 'X'.

call screen 100.

endif.

ENDCASE.

ENDMODULE.

Hope it will solves ur problem.

1 REPLY 1

Former Member
0 Kudos

Hi vijaya,

Use checkbox option in screen painter and placed it in

each row.

Then follow the below codings,

data pick type c value 'X'.

MODULE INITCHECK INPUT.

modify itab INDEX rowdeleting-current_line.

ENDMODULE.

MODULE USER_COMMAND_0100 INPUT.

CASE OK_CODE.

WHEN 'OK'.

if pick eq 'X'.

call screen 100.

endif.

ENDCASE.

ENDMODULE.

Hope it will solves ur problem.