CHECK_AUTHORITY SAP Method Authority Check
Below is documentation, parameters and attributes of ABAP Method CHECK_AUTHORITY within SAP class /BCV/CL_SIN_SERVICE. 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 /BCV/CL_SIN_SERVICE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method CHECK_AUTHORITY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_AUTHORITY
.| Name | Type | Data Type | Description | Default Value |
| IV_ACTVT | Importing | TYPE /BCV/FND_AUTH_ACTVT | Authorization Activity | |
| IV_CONTEXT_KEY | Importing | TYPE /BCV/FND_CONTEXT_KEY | Context Key | |
| IV_RAISE_EXC | Importing | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| IV_SEARCH_ID | Importing | TYPE /BCV/SIN_SEARCH_ID | Query ID | |
| EV_AUTH_EXISTS | Exporting | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') |
Exceptions of Method CHECK_AUTHORITY
/BCV/CX_SIN - Exception Class for Search Integration LayerExample ABAP coding
DATA: lv_EV_AUTH_EXISTS TYPE BOOLE_D,
lv_IV_ACTVT TYPE /BCV/FND_AUTH_ACTVT,
lv_IV_CONTEXT_KEY TYPE /BCV/FND_CONTEXT_KEY,
lv_IV_RAISE_EXC TYPE BOOLE_D,
lv_IV_SEARCH_ID TYPE /BCV/SIN_SEARCH_ID,
lv_other TYPE c.
CALL METHOD /BCV/CL_SIN_SERVICE=>CHECK_AUTHORITY(
EXPORTING
IV_ACTVT = lv_IV_ACTVT
IV_CONTEXT_KEY = lv_IV_CONTEXT_KEY
IV_RAISE_EXC = lv_IV_RAISE_EXC
IV_SEARCH_ID = lv_IV_SEARCH_ID
IMPORTING
EV_AUTH_EXISTS = lv_EV_AUTH_EXISTS ).
Links to Related Class(s)
/BCV/CL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects