CHECK_INSTANCE_AUTHORITY SAP Method Instance based authority check regarding active document
Below is documentation, parameters and attributes of ABAP Method CHECK_INSTANCE_AUTHORITY within SAP class /BOBF/IF_LIB_ACTIVE_DOCUMENT. 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_LIB_ACTIVE_DOCUMENT 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 CHECK_INSTANCE_AUTHORITY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_INSTANCE_AUTHORITY
.| Name | Type | Data Type | Description | Default Value |
| IO_MESSAGE | Importing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | ||
| IO_READ | Importing | TYPE REF TO /BOBF/IF_FRW_READ | Interface to Read Data | |
| IS_CTX | Importing | TYPE /BOBF/S_LIB_DRAFT_CTX_AUTH | Context information for authority check | |
| IT_KEY | Importing | TYPE /BOBF/T_FRW_KEY | BOPF keys of active document instances | |
| IO_MESSAGE | Importing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of message object | |
| ET_FAILED_KEY | Exporting | TYPE /BOBF/T_FRW_KEY | BOPF keys with failed authority check |
Exceptions of Method CHECK_INSTANCE_AUTHORITY
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOBF/IF_LIB_ACTIVE_DOCUMENT.
DATA: lv_ET_FAILED_KEY TYPE /BOBF/T_FRW_KEY,
lv_IO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IO_READ TYPE /BOBF/IF_FRW_READ,
lv_IS_CTX TYPE /BOBF/S_LIB_DRAFT_CTX_AUTH,
lv_IT_KEY TYPE /BOBF/T_FRW_KEY,
lv_IO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK_INSTANCE_AUTHORITY(
EXPORTING
IO_MESSAGE = lv_IO_MESSAGE
IO_READ = lv_IO_READ
IS_CTX = lv_IS_CTX
IT_KEY = lv_IT_KEY
IO_MESSAGE = lv_IO_MESSAGE
IMPORTING
ET_FAILED_KEY = lv_ET_FAILED_KEY ).
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