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 window in Selection screen

Former Member
0 Kudos

Hi All,

i want to appear popup window in selection screen.

If i select check box in selection screen automatically one popup window has to come with message. is it possible?

Thanks,

Subbu

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

In at selection-screen event you can display information message.

At selection-scree.

if chk_1 = 'X'.

message 'checkbox checkd' type I.

endif.

Regards

Sandeep Reddy

5 REPLIES 5

former_member181962
Active Contributor
0 Kudos

Call a screen in your at selection-screen event.

syntax:

CALL SCREEN dynnr 
            [STARTING AT col1 lin1 
            [ENDING   AT col2 lin2]].

Regards,

ravi

Former Member
0 Kudos

Hi,

try this

tables:

sscrfields.

parameters:

p_box type c as checkbox user-command UCM.

when you click on the check box, at selection-screen event will be triggered.

at selection-screen.

IF sscrfields-ucomm eq 'UCM'.

  • Display the popup window using the screen or thru FM like POPUP_TO_CONFIRM

  • call screen starting at 10 10

ending at 20 20.

endif.

Former Member
0 Kudos

Short and Sweet


PARAMETERS:
  cb1  AS CHECKBOX USER-COMMAND sel.

AT SELECTION-SCREEN OUTPUT.

  CASE 'X'.
    WHEN cb1.
      CALL FUNCTION 'POPUP_TO_INFORM'
           EXPORTING
                titel = 'Here''s your Pop Up'
                txt1  = 'Just saying HI!'
                txt2  = ' '.
    WHEN OTHERS.
  ENDCASE.

Former Member
0 Kudos
selection-screen : begin of block b.
parameters : p1  as checkbox.
selection-screen : end of block b.

at selection-screen .
if p1 is not initial.
message 'Selected' type 'I'.
endif.

Former Member
0 Kudos

Hi,

In at selection-screen event you can display information message.

At selection-scree.

if chk_1 = 'X'.

message 'checkbox checkd' type I.

endif.

Regards

Sandeep Reddy