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: 

Pop up with 4 radio button in abap

Ravialter
Participant
2,171


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

Ravialter
Participant
0 Kudos
829

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

mayur_priyan
Active Participant
0 Kudos
828

Hi,

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

Former Member
0 Kudos
828

Hello Ravi

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

Regards,

Hamza

Ravialter
Participant
0 Kudos
830

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

0 Kudos
828

How to hide rest of two buttons.

walliston_tavares
Discoverer
0 Kudos
828

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.