SAP ABAP Class CL_LAW2_STATUS (LAW 2.0 Status Management Class)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-LIM (Application Component) License Measurement
⤷
SLIM3 (Package) License Administration Workbench 2.0
⤷
⤷
Properties
| Class | CL_LAW2_STATUS | |
| Short Description | LAW 2.0 Status Management Class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | LAW2_MESSAGES | |
| Program status | ||
| Category | 0 | |
| Package | SLIM3 | License Administration Workbench 2.0 |
| Created | 20110606 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_LAW2_STATUS has no forward declaration.
Interfaces
Class CL_LAW2_STATUS has no interface implemented.
Friends
Class CL_LAW2_STATUS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_LAW2_APPL_LOG | LAW Application Log | 20110606 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check if a given LAW status change is allowed | 20110607 | |
| 2 | Instance method | Public | Constructor | 20110606 | ||
| 3 | Instance method | Public | Method | Get the final status for a given field | 20110606 | |
| 4 | Instance method | Public | Method | Get the initial status for a given field | 20110606 | |
| 5 | Instance method | Public | Method | Get the description for a given status (Default: SY-LANGU) | 20110606 | |
| 6 | Instance method | Public | Method | Get the description for a given status (Default: SY-LANGU) | 20110708 |
Events
Class CL_LAW2_STATUS has no event.
Types
Class CL_LAW2_STATUS has no local type.
Method Signatures
Method CHECK_STATUS_CHANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | LAW2_STATUS_FIELDNAME | LAW 2.0 Status Management Fieldname | 20110607 | |||
| 2 | IV_STATUS | Call by reference | Type reference (TYPE) | LAW2_STATUS_VALUE | LAW 2.0 Status Value | 20110607 | |||
| 3 | IV_STATUSOBJECT | Call by reference | Type reference (TYPE) | LAW2_STATUS_OBJECT | LAW 2.0 Status object | 20110608 | |||
| 4 | IV_STATUSTYPE | Call by reference | Type reference (TYPE) | LAW2_STATUS_TYPE | LAW 2.0 Status Management status type | 20110607 | |||
| 5 | IV_TARGET_STATUS | Call by reference | Type reference (TYPE) | LAW2_STATUS_VALUE | LAW 2.0 Status Value | 20110607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for the LAW 2.0 status class | 20110627 |
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_LAW2_STATUS has no parameter.
Method CONSTRUCTOR on class CL_LAW2_STATUS has no exception.
Method GET_FINAL_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_STATUS | Call by reference | Type reference (TYPE) | LAW2_T_STATUS_VALUE | LAW 2.0 Status Value table type | 20110606 | |||
| 2 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | LAW2_STATUS_FIELDNAME | LAW 2.0 Status Management Fieldname | 20110606 | |||
| 3 | IV_STATUSOBJECT | Call by reference | Type reference (TYPE) | LAW2_STATUS_OBJECT | LAW 2.0 Status object | 20110608 | |||
| 4 | IV_STATUSTYPE | Call by reference | Type reference (TYPE) | LAW2_STATUS_TYPE | LAW 2.0 Status Management status type | 20110606 |
Method GET_FINAL_STATUS on class CL_LAW2_STATUS has no exception.
Method GET_INITIAL_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | LAW2_STATUS_FIELDNAME | LAW 2.0 Status Management Fieldname | 20110606 | |||
| 2 | IV_STATUSOBJECT | Call by reference | Type reference (TYPE) | LAW2_STATUS_OBJECT | LAW 2.0 Status object | 20110608 | |||
| 3 | IV_STATUSTYPE | Call by reference | Type reference (TYPE) | LAW2_STATUS_TYPE | LAW 2.0 Status Management status type | 20110606 | |||
| 4 | RV_STATUS | Value transfer | Type reference (TYPE) | LAW2_STATUS_VALUE | LAW 2.0 Status Value | 20110606 |
Method GET_INITIAL_STATUS on class CL_LAW2_STATUS has no exception.
Method GET_STATUS_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_TEXT | Call by reference | Type reference (TYPE) | LAW2_STATUS_TEXT | Status Text | 20110606 | |||
| 2 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | LAW2_STATUS_FIELDNAME | LAW 2.0 Status Management Fieldname | 20110606 | |||
| 3 | IV_LANGU | Call by reference | Type reference (TYPE) | SPRAS | Language Key | 20110606 | |||
| 4 | IV_STATUS | Call by reference | Type reference (TYPE) | LAW2_STATUS_VALUE | LAW 2.0 Status Value | 20110606 | |||
| 5 | IV_STATUSOBJECT | Call by reference | Type reference (TYPE) | LAW2_STATUS_OBJECT | LAW 2.0 Status object | 20110608 | |||
| 6 | IV_STATUSTYPE | Call by reference | Type reference (TYPE) | LAW2_STATUS_TYPE | LAW 2.0 Status Management status type | 20110606 |
Method GET_STATUS_TEXT on class CL_LAW2_STATUS has no exception.
Method GET_STATUS_TEXTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TEXT | Call by reference | Type reference (TYPE) | LAW2_T_STATUS_TEXTS | Status Text | 20110708 | |||
| 2 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | LAW2_STATUS_FIELDNAME | LAW 2.0 Status Management Fieldname | 20110708 | |||
| 3 | IV_LANGU | Call by reference | Type reference (TYPE) | SPRAS | Language Key | 20110708 | |||
| 4 | IV_STATUSOBJECT | Call by reference | Type reference (TYPE) | LAW2_STATUS_OBJECT | LAW 2.0 Status object | 20110708 | |||
| 5 | IV_STATUSTYPE | Call by reference | Type reference (TYPE) | LAW2_STATUS_TYPE | LAW 2.0 Status Management status type | 20110708 |
Method GET_STATUS_TEXTS on class CL_LAW2_STATUS has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |