Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

user input values with out parameters and select options

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

Tags:
Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question