GET_OWNING_CONTEXT_OF_BO SAP Method Get Owning Context of BOs
Below is documentation, parameters and attributes of ABAP Method GET_OWNING_CONTEXT_OF_BO within SAP class IF_EX_BADI_EAMS_ACC_READ. 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_EX_BADI_EAMS_ACC_READ 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_OWNING_CONTEXT_OF_BO can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_OWNING_CONTEXT_OF_BO
.| Name | Type | Data Type | Description | Default Value |
| IS_OWNACC_KEY | Importing | TYPE EAMS_S_BO_OWNACC_OBJ_ID | Assigned Objects ID used by Owning Context | |
| ES_OWNACC_DATA | Exporting | TYPE EAMS_S_BO_AUTH_ACC_OWNACC_DESC | Owning Context Description | |
| ET_MESSAGES | Exporting | TYPE /PLMB/T_SPI_MSG | Message | |
| EV_MSG_SEVERITY | Exporting | TYPE /PLMB/SPI_MSG_SEVERITY | Message Severity |
Exceptions of Method GET_OWNING_CONTEXT_OF_BO
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_EAMS_ACC_READ.
DATA: lv_ES_OWNACC_DATA TYPE EAMS_S_BO_AUTH_ACC_OWNACC_DESC,
lv_ET_MESSAGES TYPE /PLMB/T_SPI_MSG,
lv_EV_MSG_SEVERITY TYPE /PLMB/SPI_MSG_SEVERITY,
lv_IS_OWNACC_KEY TYPE EAMS_S_BO_OWNACC_OBJ_ID,
lv_other TYPE c.
CALL METHOD lo_class=>GET_OWNING_CONTEXT_OF_BO(
EXPORTING
IS_OWNACC_KEY = lv_IS_OWNACC_KEY
IMPORTING
ES_OWNACC_DATA = lv_ES_OWNACC_DATA
ET_MESSAGES = lv_ET_MESSAGES
EV_MSG_SEVERITY = lv_EV_MSG_SEVERITY ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects