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

module pool

Former Member
0 Likes
378

Hi all,

There are 5 check boxes in a screen

correp to each check boxes there are 5 i/o fields

My requirement is if i check 1st two check boxes and press a button a report o/p screen should be displayed Showing the details of the checked check box . Sample codes will be preferable

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
319

Hi,

Lets say the Chek box names are Checkbox1,Checkbox2,Checkbox3,Checkbox4,Checkbox5

write the code in the PAI as below

IF sy-ucomm = <Ok Code of that push button>.

if the Checkbox1 = 'X' and Checkbox2 = 'X'.

SUBMIT zreport AND RETURN.

elseif the Checkbox3 = 'X' and Checkbox4 = 'X'.

SUBMIT zreport AND RETURN.

endif.

endif.

Thanks

Sudheer

2 REPLIES 2
Read only

andreas_mann3
Active Contributor
0 Likes
319

hi,

use abap command:

1) parameters: ... USER-COMMAND ucom

2) fm like POPUP_TO_INFORM (search in se37 for popup*)

A.

Read only

Former Member
0 Likes
320

Hi,

Lets say the Chek box names are Checkbox1,Checkbox2,Checkbox3,Checkbox4,Checkbox5

write the code in the PAI as below

IF sy-ucomm = <Ok Code of that push button>.

if the Checkbox1 = 'X' and Checkbox2 = 'X'.

SUBMIT zreport AND RETURN.

elseif the Checkbox3 = 'X' and Checkbox4 = 'X'.

SUBMIT zreport AND RETURN.

endif.

endif.

Thanks

Sudheer