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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IV_CANCEL_BUTTONImportingTYPE
XFELD
IV_DEFAULT_BUTTONImportingTYPE
CHAR1
Default 'No'
IV_DOCUImportingTYPE
DOKU_OBJ
IV_QUESTIONImportingTYPE
ANY
IV_TITLEImportingTYPE
ANY
EV_ANSWERReturningTYPE
XFELD



Exceptions of Method TO_CONFIRM

This method does not have any exceptions

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!