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: 

popup selection-screen

Former Member
0 Kudos

Hi,

In my selection-screen i have 3 radiobuttons.if i selected one of

radiobutton i need one popup selection-screen inthat i need 3 parameters.how can i approach?

Thanks in Advance,

Suresh

1 ACCEPTED SOLUTION

Former Member
0 Kudos

write your codes under

at selection-secreen ON RADIOBUTTON GROUP XXX

thanks

Ganesh

5 REPLIES 5

Former Member
0 Kudos

write your codes under

at selection-secreen ON RADIOBUTTON GROUP XXX

thanks

Ganesh

Former Member
0 Kudos

Hi ,

First fal use this FM and try, it is very useful for u ok

>call function POPUP_TO_CONFIRM

> exporting

> TITLEBAR = pop_up' (for pop-up header)

> TEXT_QUESTION = 'data u r going to save is already save!! Are you sure want to save it again?'

> TEXT_BUTTON_1 = 'Yes'

> ICON_BUTTON_1 = ' '

> TEXT_BUTTON_2 = 'No'

> ICON_BUTTON_2 = ' '

> DEFAULT_BUTTON = '1'

> DISPLAY_CANCEL_BUTTON = 'X'

> USERDEFINED_F1_HELP = ' '

> START_COLUMN = 25

> START_ROW = 6

> POPUP_TYPE = ' '

> IV_QUICKINFO_BUTTON_1 = ' '

> IV_QUICKINFO_BUTTON_2 = ' '

> importing

> ANSWER = ANS

So it wil come with three button YES, NO, CANCEL..

And after that write functionalityies to that buttons...

> case ANS.

> when '1'.

> message 'you are succes fully saved data' type 'S'

> when '2'.

> set screen N.

> when '3'.

> leave to screen M.

> endcase .

Former Member
0 Kudos

Hi ,

I am giving you a sample code snippet you can try this out .

I hope this will help you.

***************************************************

tables:SSCRFIELDS.

parameter:r1 radiobutton group g1 user-command ABCD ,

r2 radiobutton group g1.

selection-screen:begin of screen 100.

parameter:P1.

selection-screen: end of screen 100.

at selection-screen on radiobutton group g1.

if SSCRFIELDS-ucomm = 'ABCD'.

if r2 = 'X'.

CALL SELECTION-SCREEN 100 starting at 25 10

ending at 35 20.

endif.

endif.

Former Member
0 Kudos

Hi,

Check the following code:

SELECTION-SCREEN: BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.

PARAMETERS: p_rd1 RADIOBUTTON GROUP grp1,

p_rd2 RADIOBUTTON GROUP grp1,

p_rd3 RADIOBUTTON GROUP grp1.

SELECTION-SCREEN: END OF BLOCK blk1.

SELECTION-SCREEN BEGIN OF SCREEN 500 TITLE title

AS WINDOW.

PARAMETERS: q1(10) TYPE c,

q2(10) TYPE c,

q3(10) TYPE c.

SELECTION-SCREEN: END OF SCREEN 500.

SELECTION-SCREEN BEGIN OF SCREEN 600 TITLE title1 AS WINDOW.

PARAMETERS: p1(10) TYPE c,

p2(10) TYPE c,

p3(10) TYPE c.

SELECTION-SCREEN: END OF SCREEN 600.

START-OF-SELECTION.

PERFORM disp_screen.

&----


*& Form disp_screen

&----


  • text

----


  • --> p1 text

  • <-- p2 text

----


FORM disp_screen .

IF p_rd1 = 'X'.

title = 'input name'.

CALL SELECTION-SCREEN '0500' STARTING AT 10 10

.

ELSEIF p_rd2 = 'X'.

title1 = 'input name'.

CALL SELECTION-SCREEN '0600' STARTING AT 10 10

.

ENDIF.

ENDFORM. " disp_screen

Regards,

Bhaskar

Former Member
0 Kudos

Hi,

Thanks for your replies.

Regards,

Suresh