SAP CL_BSP_WD_COMPONENT_USAGE OO Class - Component Usage
CL_BSP_WD_COMPONENT_USAGE is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_BSP_WD_COMPONENT_USAGE including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Interface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class IF_BSP_WD_COMPONENT_USAGEMethod list of CL_BSP_WD_COMPONENT_USAGE SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| CONSTRUCTOR | Constructor | Public |
| CALL METHOD cl_bsp_wd_component_usage=>CONSTRUCTOR...more details | ||
| CREATE_COMPONENT | Generates a Component Instance | Public |
| CALL METHOD cl_bsp_wd_component_usage=>CREATE_COMPONENT...more details | ||
| DELETE_COMPONENT | Deletes a Component Instance | Public |
| CALL METHOD cl_bsp_wd_component_usage=>DELETE_COMPONENT...more details | ||
| GET_CONTEXT_NODE | Public | |
| CALL METHOD cl_bsp_wd_component_usage=>GET_CONTEXT_NODE...more details | ||
| GET_INTERFACE_VIEW_CONTR | Returns the Controller of an Interface View | Public |
| CALL METHOD cl_bsp_wd_component_usage=>GET_INTERFACE_VIEW_CONTR...more details | ||
| GET_INTERFACE_VIEW_DEF | Returns the Controller of an Interface View | Public |
| CALL METHOD cl_bsp_wd_component_usage=>GET_INTERFACE_VIEW_DEF...more details | ||
|
| ||
| GET_WINDOW_ID | Private | |
| CALL METHOD cl_bsp_wd_component_usage=>GET_WINDOW_ID...more details | ||
| INTERFACE_VIEW_SET_ACTIVE | Deactivates an Interface View | Public |
| CALL METHOD cl_bsp_wd_component_usage=>INTERFACE_VIEW_SET_ACTIVE...more details | ||
| ON_COMPONENT_EVENT | Private | |
| CALL METHOD cl_bsp_wd_component_usage=>ON_COMPONENT_EVENT...more details | ||
| REGISTER_EMBEDDING | Public | |
| CALL METHOD cl_bsp_wd_component_usage=>REGISTER_EMBEDDING...more details | ||
| WD_INTERFACE_VIEW_INITIALIZE | Activates and Initializes an Interface View | Public |
| CALL METHOD cl_bsp_wd_component_usage=>WD_INTERFACE_VIEW_INITIALIZE...more details | ||
CL_BSP_WD_COMPONENT_USAGE attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| CHILD_COMPONENT | Instance Attribute | BSP WD Component Controller | LIKE CL_BSP_WD_COMPONENT_CONTROLLER | Private | |
| CHILD_COMPONENT_ID | Instance Attribute | LIKE STRING | Private | ||
| COMPONENT_FACTORY | Instance Attribute | Component Administration | LIKE CL_BSP_WD_COMPONENT_FACTORY | Private | |
| COMPONENT_TYPE | Instance Attribute | Name of BSP Application | LIKE O2APPLNAME | Private | |
| CO_PARENT_USAGE | Constant | Component Name | '*PARENT*' | LIKE BSP_WD_COMPONENT_NAME | Public |
| EVENT_REGISTRY | Instance Attribute | LIKE LTYPE_EVENT_REGISTRY | Private | ||
| IS_REFERENCING | Instance Attribute | Indicator: Usage Delegates to Other Application | ABAP_FALSE | LIKE ABAP_BOOL | Protected |
| PARENT_COMPONENT | Instance Attribute | BSP WD Component Controller | LIKE CL_BSP_WD_COMPONENT_CONTROLLER | Private | |
| USAGE_NAME | Instance Attribute | Usage Name | LIKE | Public | |
| USAGE_REGISTRY | Instance Attribute | LIKE LTYPE_EMBEDDING_REGISTRY | Private | ||
| WRAPPED_USAGE | Instance Attribute | Referenced Usage | LIKE CL_BSP_WD_COMPONENT_USAGE | Protected |
Events of Class CL_BSP_WD_COMPONENT_USAGE
Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING... CHILD_COMPONENT_CREATED -CL_BSP_WD_COMPONENT_USAGE types
LTYPE_EMBEDDING_ENTRY -LTYPE_EMBEDDING_REGISTRY -
LTYPE_EVENT_ENTRY -
LTYPE_EVENT_REGISTRY -
LTYPE_HANDLER_TAB -
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