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 Window on screen - How

Former Member
0 Kudos
135

How to invoke a Pop up window on screens.

8 REPLIES 8

Former Member
0 Kudos
107

Use the Function Module POPUP_TO_CONFIRM.

Reward points if this helps.

Regards

Meera

anversha_s
Active Contributor
0 Kudos
107

hi,

try this.

data : WF_RES type c.

 CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
            EXPORTING
             DEFAULTOPTION        = 'N'
          TEXTLINE1            = 'Do you want to delete the record?'
*           TEXTLINE2            = ' '
              TITEL                = 'Delete Zone'
*           START_COLUMN         = 25
*           START_ROW            = 6
*           CANCEL_DISPLAY       = 'X'
           IMPORTING
             ANSWER               = WF_RES.

if wf_res = 'J'.

user selected 'YES'.

else.

user selected 'NO'.

endif.

Rgds

anver

Former Member
0 Kudos
107

hi,

there are various popup function modules available:

eg : POPUP_CONTINUE_YES_NO

Sandeep_Kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos
107

HI ,

U can try the below FM:

POPUP_TO_CONFIRM.

POPUP_TO_CONFIRM_STEP.

Hope this helps.

Former Member
0 Kudos
107

HI,

Use POPUP_TO_CONFIRM.

Regards,

Laxmi.

Former Member
0 Kudos
107

Hi Sandeep,

WINDOW STARTING AT x1 y1 ENDING AT x2 y2.

Cheers...

Santosh.

<u><i><u><b>Mark All Usefull Answers.</b></u></i></u>

Former Member
0 Kudos
107

hi,

Use the FM 'POPUP_TO_CONFIRM'

  call function 'POPUP_TO_CONFIRM'
       exporting
            titlebar              = p_title
            text_question         = p_msg
            text_button_1         = 'Yes'(001)
            text_button_2         = 'No'(002)
            display_cancel_button = ' '
       importing
            answer                = p_answer
       exceptions
            text_not_found        = 1
            others                = 2.
  if sy-subrc <> 0.
  endif.

Hope this helps.

Regards,

Richa

Former Member
0 Kudos
107

Thanks for helping it was very helpful