ADD_PLUG SAP Method Create an Inbound or Outbound Plug
Below is documentation, parameters and attributes of ABAP Method ADD_PLUG within SAP class CL_BSP_WD_ENHANCEMENT_API. 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_ENHANCEMENT_API 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 ADD_PLUG can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_PLUG
.| Name | Type | Data Type | Description | Default Value |
| IV_BSP_APPL | Importing | TYPE O2APPLNAME | ||
| IV_LOGICAL_BSP_APPL | Importing | TYPE O2APPLNAME | Logical BSP Application Where the View Is Used | |
| IV_PLUG_NAME | Importing | TYPE SEOCMPNAME | ||
| IV_TYPE | Importing | TYPE C | I=Inbound; O=Outbound | |
| IV_VIEW_NAME | Importing | TYPE O2PAGEEXT |
Exceptions of Method ADD_PLUG
ERROR -Example ABAP coding
DATA: lv_IV_BSP_APPL TYPE O2APPLNAME,
lv_IV_LOGICAL_BSP_APPL TYPE O2APPLNAME,
lv_IV_PLUG_NAME TYPE SEOCMPNAME,
lv_IV_TYPE TYPE C,
lv_IV_VIEW_NAME TYPE O2PAGEEXT,
lv_other TYPE c.
CALL METHOD CL_BSP_WD_ENHANCEMENT_API=>ADD_PLUG(
EXPORTING
IV_BSP_APPL = lv_IV_BSP_APPL
IV_LOGICAL_BSP_APPL = lv_IV_LOGICAL_BSP_APPL
IV_PLUG_NAME = lv_IV_PLUG_NAME
IV_TYPE = lv_IV_TYPE
IV_VIEW_NAME = lv_IV_VIEW_NAME ).
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