SAP Basis, Functional and ABAP Programming Reference Books
ABAP Pop-out box for user confirmation
*
* To pop-out a box for the user to confirm
*
* Written by : SAP Basis, ABAP Programming and Other IMG Stuff
*              http://www.sap-img.com
*
REPORT ZPOPUPCONFIRM.

DATA: X_ANS(1) TYPE C.

call function 'POPUP_TO_CONFIRM_STEP'
  exporting
*   DEFAULTOPTION        = 'Y'
    textline1            = 'Do you want to continue'
*   TEXTLINE2            = ' '
    titel                = 'Please Confirm'
*   START_COLUMN         = 25
*   START_ROW            = 6
*   CANCEL_DISPLAY       = 'X'
  IMPORTING
    ANSWER               = X_ANS.

WRITE: / X_ANS.

*-- End of Program