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: 

user input values with out parameters and select options

0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

0 Kudos

using checkboxes and radiobuttons??

Former Member
0 Kudos

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

Former Member
0 Kudos

A dialogue program.

Rob