SAP ABAP Class /BOFU/CL_D_BO_AUTHORIZATION (Check Authorization at Time of Loading (BO Level))
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-EPT-BRC (Application Component) Reusable Components of Business Suite Foundation
⤷
/BOFU/AUTH_MGMT_ADAPTER (Package) Auth Management Adapter
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | /BOBF/IF_FRW_DETERMINATION | Interface for a Determination | 20081127 |
Properties
| Class | /BOFU/CL_D_BO_AUTHORIZATION | |
| Short Description | Check Authorization at Time of Loading (BO Level) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | /BOFU/AUTH_CHECK | |
| Program status | ||
| Category | 0 | |
| Package | /BOFU/AUTH_MGMT_ADAPTER | Auth Management Adapter |
| Created | 20081127 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /BOFU/CL_D_BO_AUTHORIZATION has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | /BOBF/IF_FRW_DETERMINATION | Interface for a Determination | 20081127 |
Friends
Class /BOFU/CL_D_BO_AUTHORIZATION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | XUFIELD | '/BOFU/BO' | Authorization Field (/BOFU/BO or /SCMTMS/BO, ...) | 20090305 | ||
| 2 | Instance attribute | Protected | Type reference (TYPE) | XUOBJECT | '/BOFU/BO' | Authorization Object (/BOFU/BO or /SCMTMS/BO ...) | 20090305 | ||
| 3 | Constant | Protected | Type reference (TYPE) | TACT-ACTVT | '02' | Actvity Change | 20081127 | ||
| 4 | Constant | Protected | Type reference (TYPE) | TACT-ACTVT | '03' | Actvity Display | 20081127 | ||
| 5 | Static Attribute | Protected | Object reference (TYPE REF TO) | /BOBF/IF_FRW_CONFIGURATION | 20081127 | ||||
| 6 | Static Attribute | Protected | See coding | 20081127 | |||||
| 7 | Static Attribute | Protected | See coding | 20081127 | |||||
| 8 | Static Attribute | Protected | Type reference (TYPE) | /BOBF/S_FRW_CTX_DET-BO_KEY | Business Object | 20081127 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Buffered Auth Check | 20081127 | |
| 2 | Static method | Protected | Method | Get Business Object specific Authorization Class | 20081127 | |
| 3 | Instance method | Protected | Method | Get current user (TM can get user name from ServProv CTX ) | 20090127 |
Events
Class /BOFU/CL_D_BO_AUTHORIZATION has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_AUTHORITY | Protected | See coding | 20090305 | BEGIN OF ts_authority,
bo_name TYPE /bobf/obm_name,
subrc_change TYPE sy-subrc,
subrc_display TYPE sy-subrc,
END OF ts_authority
|
||
| 2 | TS_AUTHORIZATION_CLASS | Protected | See coding | 20090305 | BEGIN OF ts_authorization_class,
bo_name TYPE /bobf/obm_name,
class_ref TYPE REF TO /bofu/if_md_authority_check,
END OF ts_authorization_class
|
Method Signatures
Method AUTHORITY_CHECK_BUFFERED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_SUBRC_CHANGE | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20081127 | |||
| 2 | EV_SUBRC_DISPLAY | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20081127 | |||
| 3 | IV_BO_NAME | Call by reference | Type reference (TYPE) | /BOBF/OBM_NAME | Name | 20081127 |
Method AUTHORITY_CHECK_BUFFERED on class /BOFU/CL_D_BO_AUTHORIZATION has no exception.
Method GET_AUTHORIZATION_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BO_NAME | Call by reference | Type reference (TYPE) | /BOBF/OBM_NAME | Name | 20081127 | |||
| 2 | RO_AUTHORIZATION | Value transfer | Object reference (TYPE REF TO) | /BOFU/IF_MD_AUTHORITY_CHECK | BO specific authority check | 20081127 |
Method GET_AUTHORIZATION_CLASS on class /BOFU/CL_D_BO_AUTHORIZATION has no exception.
Method GET_CURRENT_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_USER_NAME | Call by reference | Type reference (TYPE) | SY-UNAME | User Name | 20090127 | |||
| 2 | IV_BO_KEY | Call by reference | Type reference (TYPE) | /BOBF/OBM_BO_KEY | Business Object | 20090127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authority Check Exceptions | 20090127 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 701 |