Register Login

Pop-up Dialog Screens

Updated May 18, 2018

SAP (Systems Applications and Products) has many build in functions that displays pop-up dialog screens.

Pop up a dialog screen and allow user to pick a selection

WS_MSG - Create a dialog box in which you display an one-line message.

POPUP_TO_CONFIRM_STEP - Create a dialog box in which you make a question whether the user wishes to perform the step.

POPUP_TO_CONFIRM_WITH_MESSAGE - Create a dialog box in which you inform the user about a specific decision point during an action.

POPUP_TO_CONFIRM_WITH_VALUE - Create a dialog box in which you make a question whether the user wishes to perform a processing step with a particular object.

POPUP_TO_DECIDE - Provide user with several choices as radio buttons

POPUP_TO_DECIDE_WITH_MESSAGE - Create a dialog box in which you inform the user about a specific decision point via a diagnosis text.

POPUP_TO_DISPLAY_TEXT - Create a dialog box in which you display a two-line message.

POPUP_TO_SELECT_MONTH - Popup to choose a month

POPUP_WITH_TABLE_DISPLAY - Provide a display of a table for user to select one, with the value of the table line returned when selected.

POPUP_TO_CONFIRM - Pop-up dialog confirm an action before it is carried out.

POPUP_TO_DISPLAY_TEXT - Displays a text in a modal screen

POPUP_TO_INFORM - Displays several lines of text. No OK or Cancel buttons.

POPUP_TO_CONFIRM/POPUP_TO_DISPLAY_TEXT.

TH_POPUP - Display a popup system message on a specific users screen.

POPUP_TO_CONFIRM_LOSS_OF_DATA - Create a dialog box in which you make a question whether the user wishes to perform a processing step with loss of data.

POPUP_TO_CONFIRM_STEP - Create a dialog box in which you make a question whether the user wishes to perform the step.

POPUP_TO_CONFIRM_WITH_MESSAGE - Create a dialog box in which you inform the user about a specific decision point during an action.

POPUP_TO_CONFIRM_WITH_VALUE - Create a dialog box in which you make a question whether the user wishes to perform a processing step with a particular object.

POPUP_TO_DECIDE - Provide user with several choices as radio buttons

POPUP_TO_DECIDE_WITH_MESSAGE - Create a dialog box in which you inform the user about a specific decision point via a diagnosis text.

POPUP_TO_DISPLAY_TEXT - Create a dialog box in which you display a two-line message.

POPUP_WITH_TABLE_DISPLAY - Provide a display of a table for user to select one, with the value of the table line returned when selected.

POPUP_TO_CONFIRM_LOSS_OF_DATA - Create a dialog box in which you make a question whether the user wishes to perform a processing step with loss of data.

POPUP_TO_CONFIRM_STEP - Create a dialog box in which you make a question whether the user wishes to perform the step.

POPUP_TO_CONFIRM_WITH_MESSAGE - Create a dialog box in which you inform the user about a specific decision point during an action.

POPUP_TO_CONFIRM_WITH_VALUE - Create a dialog box in which you make a question whether the user wishes to perform a processing step with a particular object.

POPUP_TO_DECIDE - Provide user with several choices as radio buttons

POPUP_TO_DECIDE_WITH_MESSAGE - Create a dialog box in which you inform the user about a specific decision point via a diagnosis text.

POPUP_TO_DISPLAY_TEXT - Create a dialog box in which you display a two-line message.

POPUP_WITH_TABLE_DISPLAY - Provide a display of a table for user to select one, with the value of the table line returned when selected.

Below are an example of the use of POPUP_TO_CONFIRM:

data returncode(1) type c.

call function 'POPUP_TO_CONFIRM'
exporting
titlebar = 'Delete selected lines'
text_question = 'Are you sure you want to delete ?'
text_button_1 = 'OK'
icon_button_1 = 'ICON_OKAY'
text_button_2 = 'Cancel'
icon_button_2 = 'ICON_CANCEL'
default_button = '2'

display_cancel_button = ''
importing
answer = returkode.

* Test the returnkode. If the first button is pushed the returncode is 1 and if the second
* button is pushed the returncode is 2
if returncode = 1.
perform delete.
endif.


Comments

  • 26 Jul 2010 12:56 pm Guest
    Please tell me how to create a popup window in module pool program it should accept table fields and there should be continue(symbol i.e tick mark).

×