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

radio button in dialg program

Vijay
Active Contributor
0 Likes
719

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
Read only

Former Member
0 Likes
693

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.

Read only

Former Member
0 Likes
693

Hi,

Try this In PAI

case sy-ucomm.

when 'FCODE'

if rad1 = 'X'.

.

.

.

endif.

if rad2 = 'X'.

.

.

.

endif.

Read only

Former Member
0 Likes
693

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.

Read only

Former Member
Read only

0 Likes
693

Assign Function code also for radio button .