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 MO_PROTOCOL 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 CHECK_STATUS_CHANGE Instance method Public Method Check if a given LAW status change is allowed 20110607
2 CONSTRUCTOR Instance method Public Constructor 20110606
3 GET_FINAL_STATUS Instance method Public Method Get the final status for a given field 20110606
4 GET_INITIAL_STATUS Instance method Public Method Get the initial status for a given field 20110606
5 GET_STATUS_TEXT Instance method Public Method Get the description for a given status (Default: SY-LANGU) 20110606
6 GET_STATUS_TEXTS 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 Importing IV_FIELDNAME Call by reference Type reference (TYPE) LAW2_STATUS_FIELDNAME LAW 2.0 Status Management Fieldname 20110607
2 Importing IV_STATUS Call by reference Type reference (TYPE) LAW2_STATUS_VALUE LAW 2.0 Status Value 20110607
3 Importing IV_STATUSOBJECT Call by reference Type reference (TYPE) LAW2_STATUS_OBJECT LAW 2.0 Status object 20110608
4 Importing IV_STATUSTYPE Call by reference Type reference (TYPE) LAW2_STATUS_TYPE LAW 2.0 Status Management status type 20110607
5 Importing IV_TARGET_STATUS Call by reference Type reference (TYPE) LAW2_STATUS_VALUE LAW 2.0 Status Value 20110607
# Exception Resumable Description Created on
1 CX_LAW2_STATUS 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 Exporting ET_STATUS Call by reference Type reference (TYPE) LAW2_T_STATUS_VALUE LAW 2.0 Status Value table type 20110606
2 Importing IV_FIELDNAME Call by reference Type reference (TYPE) LAW2_STATUS_FIELDNAME LAW 2.0 Status Management Fieldname 20110606
3 Importing IV_STATUSOBJECT Call by reference Type reference (TYPE) LAW2_STATUS_OBJECT LAW 2.0 Status object 20110608
4 Importing 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 Importing IV_FIELDNAME Call by reference Type reference (TYPE) LAW2_STATUS_FIELDNAME LAW 2.0 Status Management Fieldname 20110606
2 Importing IV_STATUSOBJECT Call by reference Type reference (TYPE) LAW2_STATUS_OBJECT LAW 2.0 Status object 20110608
3 Importing IV_STATUSTYPE Call by reference Type reference (TYPE) LAW2_STATUS_TYPE LAW 2.0 Status Management status type 20110606
4 Returning 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 Exporting EV_TEXT Call by reference Type reference (TYPE) LAW2_STATUS_TEXT Status Text 20110606
2 Importing IV_FIELDNAME Call by reference Type reference (TYPE) LAW2_STATUS_FIELDNAME LAW 2.0 Status Management Fieldname 20110606
3 Importing IV_LANGU Call by reference Type reference (TYPE) SPRAS Language Key 20110606
4 Importing IV_STATUS Call by reference Type reference (TYPE) LAW2_STATUS_VALUE LAW 2.0 Status Value 20110606
5 Importing IV_STATUSOBJECT Call by reference Type reference (TYPE) LAW2_STATUS_OBJECT LAW 2.0 Status object 20110608
6 Importing 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 Exporting ET_TEXT Call by reference Type reference (TYPE) LAW2_T_STATUS_TEXTS Status Text 20110708
2 Importing IV_FIELDNAME Call by reference Type reference (TYPE) LAW2_STATUS_FIELDNAME LAW 2.0 Status Management Fieldname 20110708
3 Importing IV_LANGU Call by reference Type reference (TYPE) SPRAS Language Key 20110708
4 Importing IV_STATUSOBJECT Call by reference Type reference (TYPE) LAW2_STATUS_OBJECT LAW 2.0 Status object 20110708
5 Importing 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