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

user input values with out parameters and select options

Former Member
0 Likes
595

how do we enable user input values with out using Parameters and Select Options ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
566

Using In radio buttons and check boxs.

Eg:-

Radiobuttons are treated as a group. So we need more than one in your group, whereas your requirement seems to be 1:1. So if the blocks have two radiobutton of different groups, once the radiobutton is selected it can never be un-selected. In this case itz better to go for Checkboxes. Please check on the requirement.

Below code might give you some idea on the same:

selection-screen begin of block blk1 with frame.

parameters: p_chk1 as checkbox user-command ABC.

selection-screen end of block blk1.

selection-screen begin of block blk2 with frame.

parameters: p_chk2 as checkbox.

selection-screen end of block blk2.

at selection-screen output.

loop at screen.

check screen-name = 'P_CHK2'.

if p_chk1 is initial.

screen-active = 0.

else.

screen-active = 1.

endif.

modify screen.

endloop.

Please give me reward points

Thanks

Murali Poli

how do we enable user input values with out using Parameters and Select Options ?

3 REPLIES 3
Read only

abdulazeez12
Active Contributor
0 Likes
566

using checkboxes and radiobuttons??

Read only

Former Member
0 Likes
567

Using In radio buttons and check boxs.

Eg:-

Radiobuttons are treated as a group. So we need more than one in your group, whereas your requirement seems to be 1:1. So if the blocks have two radiobutton of different groups, once the radiobutton is selected it can never be un-selected. In this case itz better to go for Checkboxes. Please check on the requirement.

Below code might give you some idea on the same:

selection-screen begin of block blk1 with frame.

parameters: p_chk1 as checkbox user-command ABC.

selection-screen end of block blk1.

selection-screen begin of block blk2 with frame.

parameters: p_chk2 as checkbox.

selection-screen end of block blk2.

at selection-screen output.

loop at screen.

check screen-name = 'P_CHK2'.

if p_chk1 is initial.

screen-active = 0.

else.

screen-active = 1.

endif.

modify screen.

endloop.

Please give me reward points

Thanks

Murali Poli

Read only

Former Member
0 Likes
566

A dialogue program.

Rob