TO_CONFIRM SAP Method Popup with Information About User Request (yes/no)
Below is documentation, parameters and attributes of ABAP Method TO_CONFIRM within SAP class /SCMB/CL_ODM_POPUP. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMB/CL_ODM_POPUP into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method TO_CONFIRM can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method TO_CONFIRM
.| Name | Type | Data Type | Description | Default Value |
| IV_CANCEL_BUTTON | Importing | TYPE XFELD | ||
| IV_DEFAULT_BUTTON | Importing | TYPE CHAR1 | Default 'No' | |
| IV_DOCU | Importing | TYPE DOKU_OBJ | ||
| IV_QUESTION | Importing | TYPE ANY | ||
| IV_TITLE | Importing | TYPE ANY | ||
| EV_ANSWER | Returning | TYPE XFELD |
Exceptions of Method TO_CONFIRM
This method does not have any exceptionsExample ABAP coding
DATA: lv_EV_ANSWER TYPE XFELD,
lv_IV_CANCEL_BUTTON TYPE XFELD,
lv_IV_DEFAULT_BUTTON TYPE CHAR1,
lv_IV_DOCU TYPE DOKU_OBJ,
lv_IV_QUESTION TYPE ANY,
lv_IV_TITLE TYPE ANY,
lv_other TYPE c.
CALL METHOD /SCMB/CL_ODM_POPUP=>TO_CONFIRM(
EXPORTING
IV_CANCEL_BUTTON = lv_IV_CANCEL_BUTTON
IV_DEFAULT_BUTTON = lv_IV_DEFAULT_BUTTON
IV_DOCU = lv_IV_DOCU
IV_QUESTION = lv_IV_QUESTION
IV_TITLE = lv_IV_TITLE
RECEIVING
EV_ANSWER = lv_EV_ANSWER )
"Alternate coding for Method Call with returning parameter
lv_EV_ANSWER = /SCMB/CL_ODM_POPUP=>TO_CONFIRM(
EXPORTING
IV_CANCEL_BUTTON = lv_IV_CANCEL_BUTTON
IV_DEFAULT_BUTTON = lv_IV_DEFAULT_BUTTON
IV_DOCU = lv_IV_DOCU
IV_QUESTION = lv_IV_QUESTION
IV_TITLE = lv_IV_TITLE ).
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects