GET_ASSOC SAP Method Returns Information of a Association
Below is documentation, parameters and attributes of ABAP Method GET_ASSOC within SAP class /BOBF/IF_FRW_CONFIGURATION. 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_FRW_CONFIGURATION 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_ASSOC can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_ASSOC
.| Name | Type | Data Type | Description | Default Value |
| IV_ASSOC_CAT | Importing | TYPE /BOBF/OBM_ASSOC_CAT | Association Type | |
| IV_ASSOC_KEY | Importing | TYPE /BOBF/OBM_ASSOC_KEY | Association Key | |
| IV_ASSOC_TYPE | Importing | TYPE /BOBF/OBM_ASSOC_TYPE | Type of Association (Composition or Aggregation) | |
| IV_NODE_KEY | Importing | TYPE /BOBF/OBM_NODE_KEY | Node Key | |
| ES_ASSOC | Exporting | TYPE /BOBF/S_CONFRO_ASSOC | Configuration: Link |
Exceptions of Method GET_ASSOC
/BOBF/S_CONFRO_ASSOC
Example ABAP coding
DATA: lo_class TYPE REF TO /BOBF/IF_FRW_CONFIGURATION.
DATA: lv_ES_ASSOC TYPE /BOBF/S_CONFRO_ASSOC,
lv_IV_ASSOC_CAT TYPE /BOBF/OBM_ASSOC_CAT,
lv_IV_ASSOC_KEY TYPE /BOBF/OBM_ASSOC_KEY,
lv_IV_ASSOC_TYPE TYPE /BOBF/OBM_ASSOC_TYPE,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_other TYPE c.
CALL METHOD lo_class=>GET_ASSOC(
EXPORTING
IV_ASSOC_CAT = lv_IV_ASSOC_CAT
IV_ASSOC_KEY = lv_IV_ASSOC_KEY
IV_ASSOC_TYPE = lv_IV_ASSOC_TYPE
IV_NODE_KEY = lv_IV_NODE_KEY
IMPORTING
ES_ASSOC = lv_ES_ASSOC ).
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