SAP ABAP Class CL_VBC_AUTHORITY_CHECK (Visual Business authority checks)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-GTF-VBZ (Application Component) Visual Business
⤷
VBC_UTILITIES (Package) Utilities
⤷
⤷
Properties
| Class | CL_VBC_AUTHORITY_CHECK | |
| Short Description | Visual Business authority checks | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | VBC_UTILITIES | Utilities |
| Created | 20091116 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_VBC_AUTHORITY_CHECK has no forward declaration.
Interfaces
Class CL_VBC_AUTHORITY_CHECK has no interface implemented.
Friends
Class CL_VBC_AUTHORITY_CHECK has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | ACTIV_AUTH | '70' | Activity administrate | 20091116 | ||
| 2 | Constant | Public | Type reference (TYPE) | ACTIV_AUTH | '02' | Activity change | 20091116 | ||
| 3 | Constant | Public | Type reference (TYPE) | ACTIV_AUTH | '01' | Activity create | 20091116 | ||
| 4 | Constant | Public | Type reference (TYPE) | ACTIV_AUTH | '06' | Activity delete | 20091116 | ||
| 5 | Constant | Public | Type reference (TYPE) | ACTIV_AUTH | '03' | Activity display | 20091116 | ||
| 6 | Constant | Public | Type reference (TYPE) | ACTIV_AUTH | '16' | Activity execute | 20091116 | ||
| 7 | Constant | Private | Type reference (TYPE) | XUOBJECT | 'VBC_APPL' | Application | 20091116 | ||
| 8 | Constant | Private | Type reference (TYPE) | XUOBJECT | 'VBC_CONF' | Configuration | 20091116 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'ADMINISTRATOR' | Administrator role | 20091122 | ||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'DEVELOPER' | Developer role | 20091122 | ||
| 11 | Constant | Public | Type reference (TYPE) | STRING | 'ENDUSER' | EndUser role | 20091122 | ||
| 12 | Constant | Private | Type reference (TYPE) | STRING | '*' | Wildcard | 20091116 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check authorization for Visual Business application | 20091116 | |
| 2 | Static method | Public | Method | Check authorization for Visual Business configuration | 20091116 | |
| 3 | Static method | Private | Method | get text corresponding to activity | 20091122 | |
| 4 | Static method | Private | Method | Assemble error message **needs to be deleted** | 20091116 | |
| 5 | Static method | Public | Method | Gets the role of the user | 20091122 |
Events
Class CL_VBC_AUTHORITY_CHECK has no event.
Types
Class CL_VBC_AUTHORITY_CHECK has no local type.
Method Signatures
Method CHECK_APPLICATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Activity | 20091116 | |||
| 2 | IV_APPLICATION | Call by reference | Type reference (TYPE) | VBC_MODEL_ID | Model ID (Name) | 20091116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic exception allowing for flexible texts | 20091122 |
Method CHECK_CONFIGURATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Activity | 20091116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic exception allowing for flexible texts | 20091122 |
Method GET_ACTIVITY_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTIVITY_ID | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Activity | 20091122 | |||
| 2 | RV_ACTIVITY_TEXT | Value transfer | Type reference (TYPE) | XUTXT30 | Short text | 20091122 |
Method GET_ACTIVITY_TEXT on class CL_VBC_AUTHORITY_CHECK has no exception.
Method GET_ERROR_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Activity | 20091116 | |||
| 2 | IV_APPLICATION | Call by reference | Type reference (TYPE) | VBC_MODEL_ID | Model ID (Name) | 20091116 | |||
| 3 | IV_AUTH_OBJECT | Call by reference | Type reference (TYPE) | XUOBJECT | Authorization Object | 20091116 | |||
| 4 | RV_MESSAGE | Value transfer | Type reference (TYPE) | STRING | 20091116 |
Method GET_ERROR_MESSAGE on class CL_VBC_AUTHORITY_CHECK has no exception.
Method GET_USER_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_USER_ROLE | Value transfer | Type reference (TYPE) | STRING | 20091122 |
Method GET_USER_ROLE on class CL_VBC_AUTHORITY_CHECK has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 702 |