GET_ASSOCIATED_OBJECTS SAP Method Restore all References of Associated Objects
Below is documentation, parameters and attributes of ABAP Method GET_ASSOCIATED_OBJECTS within SAP class IF_RSO_REPOSITORY_OBJECT. 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 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 GET_ASSOCIATED_OBJECTS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_ASSOCIATED_OBJECTS
.Name | Type | Data Type | Description | Default Value |
I_BYPASSING_BUFFER | Importing | TYPE RS_BOOL | Do Not Use Buffer When Reading | |
I_OBJLOGSYS | Importing | TYPE LOGSYS | Original System | |
I_OBJVERS | Importing | TYPE RSOBJVERS | Object Version | |
I_TH_ASC_TYPE | Importing | TYPE RSO_TH_ASC_TYPE | Associations to be Used | |
E_TH_OBJECTS | Exporting | TYPE RSO_TH_TLOGO_OBJREF_PROXY | Associated Objects |
Exceptions of Method GET_ASSOCIATED_OBJECTS
ASC_NOT_READ - Associations Have Not Yet Been ReadExample ABAP coding
DATA: lo_class TYPE REF TO IF_RSO_REPOSITORY_OBJECT.
DATA: lv_E_TH_OBJECTS TYPE RSO_TH_TLOGO_OBJREF_PROXY,
lv_I_BYPASSING_BUFFER TYPE RS_BOOL,
lv_I_OBJLOGSYS TYPE LOGSYS,
lv_I_OBJVERS TYPE RSOBJVERS,
lv_I_TH_ASC_TYPE TYPE RSO_TH_ASC_TYPE,
lv_other TYPE c.
CALL METHOD lo_class=>GET_ASSOCIATED_OBJECTS(
EXPORTING
I_BYPASSING_BUFFER = lv_I_BYPASSING_BUFFER
I_OBJLOGSYS = lv_I_OBJLOGSYS
I_OBJVERS = lv_I_OBJVERS
I_TH_ASC_TYPE = lv_I_TH_ASC_TYPE
IMPORTING
E_TH_OBJECTS = lv_E_TH_OBJECTS ).
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