INITIALIZE SAP Method Initializng the Proxy (Replaces Constructor with Parameters)
Below is documentation, parameters and attributes of ABAP Method INITIALIZE within SAP class IF_RSO_REPOSITORY_OBJECT_WRITE. 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 IF_RSO_REPOSITORY_OBJECT_WRITE 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 INITIALIZE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method INITIALIZE
.| Name | Type | Data Type | Description | Default Value |
| I_BYPASSING_BUFFER | Importing | TYPE RS_BOOL | Do Not Use Buffer When Reading | |
| I_CLASSID | Importing | TYPE STRING | Class | |
| I_ID | Importing | TYPE STRING | ID | |
| I_NO_MESSAGE | Importing | TYPE RS_BOOL | Do Not Send A Message | |
| I_OBJLOGSYS | Importing | TYPE LOGSYS | Original System | |
| I_OBJVERS | Importing | TYPE RS_OBJVERS | Object version | |
| I_S_OBJECT | Importing | TYPE RSO_S_TLOGO | Type And Name Of Object |
Exceptions of Method INITIALIZE
OBJECT_NOT_FOUND - Object Could Not Be FoundExample ABAP coding
DATA: lo_class TYPE REF TO IF_RSO_REPOSITORY_OBJECT_WRITE.
DATA: lv_I_BYPASSING_BUFFER TYPE RS_BOOL,
lv_I_CLASSID TYPE STRING,
lv_I_ID TYPE STRING,
lv_I_NO_MESSAGE TYPE RS_BOOL,
lv_I_OBJLOGSYS TYPE LOGSYS,
lv_I_OBJVERS TYPE RS_OBJVERS,
lv_I_S_OBJECT TYPE RSO_S_TLOGO,
lv_other TYPE c.
CALL METHOD lo_class=>INITIALIZE(
EXPORTING
I_BYPASSING_BUFFER = lv_I_BYPASSING_BUFFER
I_CLASSID = lv_I_CLASSID
I_ID = lv_I_ID
I_NO_MESSAGE = lv_I_NO_MESSAGE
I_OBJLOGSYS = lv_I_OBJLOGSYS
I_OBJVERS = lv_I_OBJVERS
I_S_OBJECT = lv_I_S_OBJECT ).
Links to Related Class(s)
IF_RSO_R...Full list of available SAP object classes
Search for further information about these or an SAP related objects