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: 

radio button in dialg program

Vijay
Active Contributor
0 Kudos

hi all,

i have created a screen in which there are two radio buttons with same group and two parameters.

when i am checking the radiobutton value in pai of that screen in debug mode it is not detectiong the radio buttons but detecting the parameters.

can anyone please tell me the reason for the same.

regards

vijay

5 REPLIES 5

Former Member
0 Kudos

Hi,

Refer the below link for info on Radio Buttons in Dialog Programming:

http://help.sap.com/saphelp_nw04/helpdata/EN/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm

Best Regards,

Sunil.

Former Member
0 Kudos

Hi,

Try this In PAI

case sy-ucomm.

when 'FCODE'

if rad1 = 'X'.

.

.

.

endif.

if rad2 = 'X'.

.

.

.

endif.

Former Member
0 Kudos

hi..

you can use...

SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE t03.

PARAMETERS: alv_list RADIOBUTTON GROUP g1,

alv_grid RADIOBUTTON GROUP g1,

c_rep RADIOBUTTON GROUP g1.

SELECTION-SCREEN END OF BLOCK b3.

and then check

IF c_rep = 'X'

to check whether radiobutton was selected or not..

If it helps please reward.

thanks.

Former Member

0 Kudos

Assign Function code also for radio button .