DELETE_VIEW SAP Method Delete WD View
Below is documentation, parameters and attributes of ABAP Method DELETE_VIEW within SAP class CL_BSP_WD_WB_OBJECT. 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 CL_BSP_WD_WB_OBJECT 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 DELETE_VIEW can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DELETE_VIEW
.| Name | Type | Data Type | Description | Default Value |
| IV_ENHANCEMENT_SET | Importing | TYPE BSP_WD_ENHANCEMENT_SET | Enhancement Set | |
| IV_MODEL | Importing | TYPE REF TO IF_BSP_WD_APPL_MODEL | Generic Tree Nodes Interface | |
| IV_SRC_APPL | Importing | TYPE O2APPLNAME | Name of BSP Application | |
| IV_VIEWNAME | Importing | TYPE O2PAGEEXT | Name of a BSP Page/Controller (Upper and Lower Case) | |
| SUCCESS | Returning | TYPE BOOLEAN | Boolean Variable (X=true, -=false, space=unknown) |
Exceptions of Method DELETE_VIEW
This method does not have any exceptionsExample ABAP coding
DATA: lv_IV_ENHANCEMENT_SET TYPE BSP_WD_ENHANCEMENT_SET,
lv_IV_MODEL TYPE IF_BSP_WD_APPL_MODEL,
lv_IV_SRC_APPL TYPE O2APPLNAME,
lv_IV_VIEWNAME TYPE O2PAGEEXT,
lv_SUCCESS TYPE BOOLEAN,
lv_other TYPE c.
CALL METHOD CL_BSP_WD_WB_OBJECT=>DELETE_VIEW(
EXPORTING
IV_ENHANCEMENT_SET = lv_IV_ENHANCEMENT_SET
IV_MODEL = lv_IV_MODEL
IV_SRC_APPL = lv_IV_SRC_APPL
IV_VIEWNAME = lv_IV_VIEWNAME
RECEIVING
SUCCESS = lv_SUCCESS )
"Alternate coding for Method Call with returning parameter
lv_SUCCESS = CL_BSP_WD_WB_OBJECT=>DELETE_VIEW(
EXPORTING
IV_ENHANCEMENT_SET = lv_IV_ENHANCEMENT_SET
IV_MODEL = lv_IV_MODEL
IV_SRC_APPL = lv_IV_SRC_APPL
IV_VIEWNAME = lv_IV_VIEWNAME ).
Links to Related Class(s)
CL_BSP_W...Full list of available SAP object classes
Search for further information about these or an SAP related objects