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

Pop up with 4 radio button in abap

Ravialter
Participant
3,689


Hi All ,

I need pop up with 4 radio button option .

We have FM for 2 , 3 ..etc like - K_KKB*RADIO2 or 3 ...

But not for 4 ?

Regards,

Ravi

1 ACCEPTED SOLUTION
Read only

Ravialter
Participant
0 Likes
2,347

Hi All ,

Thanks for your reply but I am looking standard FM .

Now I got it for 4 radio button its - wcf*popup*radio

In this we have 6 radio button option in which we have choose any no like 4 o3 etc .

Regards,

Ravi

5 REPLIES 5
Read only

mayur_priyan
Active Participant
0 Likes
2,346

Hi,

Try the attached code. By this means you can add multiple radio buttons as per your requirement.

Read only

Former Member
0 Likes
2,346

Hello Ravi

You can copy  FM K_KKB_POUP_RADIO3 and in your Z function module you add a new radio button

Regards,

Hamza

Read only

Ravialter
Participant
0 Likes
2,348

Hi All ,

Thanks for your reply but I am looking standard FM .

Now I got it for 4 radio button its - wcf*popup*radio

In this we have 6 radio button option in which we have choose any no like 4 o3 etc .

Regards,

Ravi

Read only

0 Likes
2,346

How to hide rest of two buttons.

Read only

walliston_tavares
Discoverer
0 Likes
2,346

Hello!

Function '/SSC/POPUP_RADIO_8', use this function and you will have up to 8 possible inputs as a radiobutton. The quantity you fill in will be the quantity considered in the popup.

CALL FUNCTION '/SSC/POPUP_RADIO_8'
EXPORTING
textline1 = 'First option '
textline2 = 'Second option '
textline3 = 'Third option '
textline4 = 'Fourth option '
* textline5 = '5'
* textline6 = '6'
* textline7 = '7'
* textline8 = '8'
titel = 'Make your choice'
infotext = 'Choose one of the options below!'
left = 55 " left column
top = 3 " top line
* NO_BACK = NO_BACK
imp_numcol = 30 " popup window width
* XDEFAULT = XDEFAULT
IMPORTING
answer = lv_answer.

*** ANSWER will return the chosen value or 'A' as abort.