SAP ABAP Class CL_BTP_DL_AUTH (BTP Authorization Checks)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷
CA-EUR (Application Component) European Monetary Union: Euro
⤷
BTP_DL (Package) BTP Application Data Layer Basis
⤷
⤷
Properties
| Class | CL_BTP_DL_AUTH | |
| Short Description | BTP Authorization Checks | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | BTP_DL | BTP Application Data Layer Basis |
| Created | 20100423 | SAP |
| Last change | 20141030 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_BTP_DL_AUTH has no interface implemented.
Friends
Class CL_BTP_DL_AUTH has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | AGR_NAME | 'SAP_LT_MASTER' | SAP LT Master Role | 20100506 | ||
| 2 | Constant | Private | Type reference (TYPE) | AGR_NAME | 'SAP_TDMS_MASTER' | SAP LT Master Role | 20110720 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check if blueprint view can be accessed | 20100423 | |
| 2 | Static method | Public | Method | Check authorization for blueprint creation | 20100423 | |
| 3 | Static method | Public | Method | Check authorization for blueprint deletion | 20100423 | |
| 4 | Static method | Public | Method | Check authorization for blueprint display | 20100423 | |
| 5 | Static method | Public | Method | Check authorization for blueprint modification | 20100423 | |
| 6 | Static method | Public | Method | Check on MBT authorization objects PDV | 20100423 | |
| 7 | Static method | Public | Method | Check on MBT authorization objects PPM | 20100423 | |
| 8 | Static method | Public | Method | Check if project view can be accessed | 20100423 | |
| 9 | Static method | Public | Method | Check authorization for project composition | 20100506 | |
| 10 | Static method | Public | Method | Check authorization for project creation | 20100423 | |
| 11 | Static method | Public | Method | Check authorization for project deletion | 20100423 | |
| 12 | Static method | Public | Method | Check authorization for project display | 20100423 | |
| 13 | Static method | Public | Method | Check authorization for project extender | 20100506 | |
| 14 | Static method | Public | Method | Check authorization for project modification | 20100423 | |
| 15 | Static method | Public | Method | Check authorization to display workcenter | 20100506 | |
| 16 | Static method | Private | Method | Determine if the current user has a special role | 20100506 | |
| 17 | Static method | Public | Method | Determine if the current user is Master | 20100506 |
Events
Class CL_BTP_DL_AUTH has no event.
Types
Class CL_BTP_DL_AUTH has no local type.
Method Signatures
Method CHECK_BLUEPRINT_AUTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SCENARIO | Call by reference | Type reference (TYPE) | CNV_MBT_SCENARIO | MBT PCL: Scenario | 20111028 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100423 |
Method CHECK_BLUEPRINT_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_BLUEPRINT | Call by reference | Object reference (TYPE REF TO) | CL_BTP_DL_BLUEPRINT | BTP Blueprint | 20100423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100423 |
Method CHECK_BLUEPRINT_DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_BLUEPRINT | Call by reference | Object reference (TYPE REF TO) | CL_BTP_DL_BLUEPRINT | BTP Blueprint | 20100423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100423 |
Method CHECK_BLUEPRINT_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_BLUEPRINT | Call by reference | Object reference (TYPE REF TO) | CL_BTP_DL_BLUEPRINT | BTP Blueprint | 20100423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100423 |
Method CHECK_BLUEPRINT_MODIFY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_BLUEPRINT | Call by reference | Object reference (TYPE REF TO) | CL_BTP_DL_BLUEPRINT | BTP Blueprint | 20100423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100423 |
Method CHECK_MBT_PDV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_OBJECT | Call by reference | Object reference (TYPE REF TO) | CL_BTP_DL_OBJECT | BTP Object (Tests on Projects) | 20100423 | |||
| 2 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Activity | 20100423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100423 |
Method CHECK_MBT_PPM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_OBJECT | Call by reference | Object reference (TYPE REF TO) | CL_BTP_DL_OBJECT | BTP Object (Tests on Projects) | 20100423 | |||
| 2 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Activity | 20100423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100423 |
Method CHECK_PROJECT_AUTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SCENARIO | Call by reference | Type reference (TYPE) | CNV_MBT_SCENARIO | MBT PCL: Scenario | 20111028 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100423 |
Method CHECK_PROJECT_COMPOSING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_PROJECT | Call by reference | Object reference (TYPE REF TO) | CL_BTP_DL_PROJECT | BTP Project | 20100506 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100506 |
Method CHECK_PROJECT_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_PROJECT | Call by reference | Object reference (TYPE REF TO) | CL_BTP_DL_PROJECT | BTP Project | 20100423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100423 |
Method CHECK_PROJECT_DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_PROJECT | Call by reference | Object reference (TYPE REF TO) | CL_BTP_DL_PROJECT | BTP Project | 20100423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100423 |
Method CHECK_PROJECT_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_PROJECT | Call by reference | Object reference (TYPE REF TO) | CL_BTP_DL_PROJECT | BTP Project | 20100423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100423 |
Method CHECK_PROJECT_EXTENDING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_PROJECT | Call by reference | Object reference (TYPE REF TO) | CL_BTP_DL_PROJECT | BTP Project | 20100506 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100506 |
Method CHECK_PROJECT_MODIFY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_PROJECT | Call by reference | Object reference (TYPE REF TO) | CL_BTP_DL_PROJECT | BTP Project | 20100423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100423 |
Method CHECK_WORKCENTER_DISPLAY Signature
Method CHECK_WORKCENTER_DISPLAY on class CL_BTP_DL_AUTH has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTP Exceptions on Objects | 20100506 |
Method HAS_ROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ROLE | Call by reference | Type reference (TYPE) | AGR_NAME | Role | 20100506 | |||
| 2 | RV_HAS_ROLE | Value transfer | Type reference (TYPE) | ABAP_BOOL | Current user has role or not | 20100506 |
Method HAS_ROLE on class CL_BTP_DL_AUTH has no exception.
Method IS_LT_MASTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_MASTER | Value transfer | Type reference (TYPE) | ABAP_BOOL | Current user is LT_MASTER or not | 20100506 |
Method IS_LT_MASTER on class CL_BTP_DL_AUTH has no exception.
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 2006_1_700 |