REGISTER_COMPONENT SAP Method Register a new component
Below is documentation, parameters and attributes of ABAP Method REGISTER_COMPONENT within SAP class /BOBF/IF_CONF_GENIL_REGISTER. 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 /BOBF/IF_CONF_GENIL_REGISTER 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 REGISTER_COMPONENT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method REGISTER_COMPONENT
.| Name | Type | Data Type | Description | Default Value |
| IV_GENIL_COMPONENT | Importing | TYPE /BOBF/CONF_GENIL_COMP_NAME | GenIL Component Name | |
| IV_SIMULATE | Importing | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| EO_MESSAGE | Exporting | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Returned messages | |
| EV_SUCCESS | Exporting | TYPE BOOLE_D | Registration was successfull | |
| CV_TRANSPORT_REQUEST | Changing | TYPE TRKORR | Request/Task |
Exceptions of Method REGISTER_COMPONENT
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOBF/IF_CONF_GENIL_REGISTER.
DATA: lv_CV_TRANSPORT_REQUEST TYPE TRKORR,
lv_EO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_EV_SUCCESS TYPE BOOLE_D,
lv_IV_GENIL_COMPONENT TYPE /BOBF/CONF_GENIL_COMP_NAME,
lv_IV_SIMULATE TYPE BOOLE_D,
lv_other TYPE c.
CALL METHOD lo_class=>REGISTER_COMPONENT(
EXPORTING
IV_GENIL_COMPONENT = lv_IV_GENIL_COMPONENT
IV_SIMULATE = lv_IV_SIMULATE
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE
EV_SUCCESS = lv_EV_SUCCESS
CHANGING
CV_TRANSPORT_REQUEST = lv_CV_TRANSPORT_REQUEST ).
Links to Related Class(s)
/BOBF/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects