LOAD_VIEW_4_VIEWAREA SAP Method of class CL_BSP_WD_VIEW_CONTROLLER
Below is documentation, parameters and attributes of ABAP Method LOAD_VIEW_4_VIEWAREA within SAP class CL_BSP_WD_VIEW_CONTROLLER. 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_VIEW_CONTROLLER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method LOAD_VIEW_4_VIEWAREA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method LOAD_VIEW_4_VIEWAREA
.| Name | Type | Data Type | Description | Default Value |
| IV_REP_VIEW | Importing | TYPE REF TO CL_BSP_WD_REP_VIEW | Web Screen View: Repository Object | |
| IV_VIEW2BIND | Importing | TYPE STRING | Name of View To Be Linked, with Prefix If Necessary | |
| IV_VIEWAREA | Importing | TYPE STRING | View Area Name | |
| RV_COMP_USAGE | Returning | TYPE REF TO CL_BSP_WD_COMPONENT_USAGE | Component Usage |
Exceptions of Method LOAD_VIEW_4_VIEWAREA
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_BSP_WD_VIEW_CONTROLLER.
DATA: lv_IV_REP_VIEW TYPE CL_BSP_WD_REP_VIEW,
lv_IV_VIEW2BIND TYPE STRING,
lv_IV_VIEWAREA TYPE STRING,
lv_RV_COMP_USAGE TYPE CL_BSP_WD_COMPONENT_USAGE,
lv_other TYPE c.
CALL METHOD lo_class=>LOAD_VIEW_4_VIEWAREA(
EXPORTING
IV_REP_VIEW = lv_IV_REP_VIEW
IV_VIEW2BIND = lv_IV_VIEW2BIND
IV_VIEWAREA = lv_IV_VIEWAREA
RECEIVING
RV_COMP_USAGE = lv_RV_COMP_USAGE )
"Alternate coding for Method Call with returning parameter
lv_RV_COMP_USAGE = lo_class=>LOAD_VIEW_4_VIEWAREA(
EXPORTING
IV_REP_VIEW = lv_IV_REP_VIEW
IV_VIEW2BIND = lv_IV_VIEW2BIND
IV_VIEWAREA = lv_IV_VIEWAREA ).
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