SAP ABAP Class CL_GRAC_MODEL_SPM_REASON (Reason Code Model Class)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-AC (Application Component) Access Control
     GRAC_SUPPERUSER_ACCESS (Package) GRC SPM Support
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_MODEL Interface for handling of GRC API models 20090819
Properties
Class CL_GRAC_MODEL_SPM_REASON  
Short Description Reason Code Model Class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRAC_SUPPERUSER_ACCESS   GRC SPM Support 
Created 20090819   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_GRAC_API_SPM_AUDIT_WF Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
# Interface Abstract Final Description Created on
1 IF_GRFN_API_MODEL Interface for handling of GRC API models 20090819
Friends
Class CL_GRAC_MODEL_SPM_REASON has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MS_DATES Instance attribute Private Type reference (TYPE) GRFN_S_TF_DATES Timeframe details 20090819
2 MT_LOCK_BUFFER Instance attribute Private Type reference (TYPE) YT_LOCK_BUFFER 20090911
3 MT_REASONCOD_BUFFER Instance attribute Private Type reference (TYPE) YT_REASONCOD_BUFFER 20090821
4 MT_REASONCOD_UPDATE Instance attribute Private Type reference (TYPE) YT_REASONCOD_BUFFER 20100610
5 MT_REASONSYS_BUFFER Instance attribute Private Type reference (TYPE) YT_REASONSYS_BUFFER 20090915
6 MT_REASONSYS_UPDATE Instance attribute Private Type reference (TYPE) YT_REASONSYS_BUFFER 20100610
7 MV_LANG Instance attribute Private Type reference (TYPE) LANGU Language Key 20090819
8 MV_MESSAGE Instance attribute Private Type reference (TYPE) SYMSGV Message Variable 20111109
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_VALID_TITLE Instance method Private Method 20091117
2 CONSTRUCTOR Instance method Public Constructor Constructor 20090819
3 CREATE_GUID Instance method Private Method Create a guid 20090820
4 CREATE_REASON_CODE Instance method Public Method Create reason code depending on command 20090911
5 DELETE_REASON_CODE Instance method Public Method Delete Reason Code 20090819
6 DEQUEUE_ALL_REASONCODES Instance method Private Method Release the user lock on all the locked reason codes 20090827
7 ENQUEUE_REASON_CODE Instance method Public Method 20090915
8 GET_REASON_CODE_BY_NAME Static method Public Method Retreive lReason Code by name 20121105
9 GET_REASON_CODE_COUNT Instance method Private Method 20091104
10 GET_REASON_CODE_LIST Instance method Public Method Retreive list of Reason Codes 20090819
11 GET_SYSTEM_REASON_COUNT Instance method Private Method 20091105
12 IS_REASON_LOCKED Instance method Public Method 20090915
13 RAISE_ERROR Instance method Private Method Raise Exception 20090820
14 READ_REASON_CODE Instance method Public Method Read Reason Code information 20090819
15 READ_SYSTEM_ASSIGNMNT Instance method Public Method Returns List of reason codes assigned to system 20090915
16 REFRESH_BUFFERS Instance method Private Method Refresh all the buffers 20090820
17 SAVE Instance method Private Method 20090917
18 SAVE_REASONCOD_DATA Instance method Private Method Save all the buffred data based on the command 20090825
19 SAVE_REASONSYS_DATA Instance method Private Method Save all the buffred data based on the command 20090917
20 UPDATE_REASON_CODE Instance method Public Method Update reason code depending on command 20090911
21 UPDATE_SYSTEM_ASSIGNMNT Instance method Public Method Update System assignment 20090827
Events
Class CL_GRAC_MODEL_SPM_REASON has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_LOCK_BUFFER Private See coding 20090827 BEGIN OF ys_lock_buffer, reason_code TYPE grfn_guid, END OF ys_lock_buffer
2 YS_REASONCOD_BUFFER Private See coding 20090825 BEGIN OF ys_reasoncod_buffer, reason_code TYPE grfn_guid , reason_text TYPE grfn_title , status TYPE grac_status, count TYPE grac_reason_code_count , updated_by TYPE grac_updated_by , updated_on TYPE grac_updated_on , command TYPE grfn_command, descn TYPE grac_descn, reset_count TYPE grac_timestamp, is_reset TYPE grfn_boolean, fully_buffered TYPE abap_bool, END OF ys_reasoncod_buffer
3 YS_REASONSYS_BUFFER Private See coding 20090915 BEGIN OF ys_reasonsys_buffer, reason_code TYPE grfn_guid , connector TYPE grfn_connectorid , conn_descn TYPE rfcdoc_d, updated_by TYPE grac_updated_by , updated_on TYPE grac_updated_on , command TYPE grfnh_command, END OF ys_reasonsys_buffer
4 YT_LOCK_BUFFER Private See coding 20090827 yt_lock_buffer TYPE HASHED TABLE OF ys_lock_buffer WITH UNIQUE KEY reason_code
5 YT_REASONCOD_BUFFER Private See coding 20090825 yt_reasoncod_buffer TYPE HASHED TABLE OF ys_reasoncod_buffer WITH UNIQUE KEY reason_code
6 YT_REASONSYS_BUFFER Private See coding 20090915 yt_reasonsys_buffer TYPE HASHED TABLE OF ys_reasonsys_buffer WITH UNIQUE KEY reason_code connector
Method Signatures

Method CHECK_VALID_TITLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REASON_CODE Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20091117
2 Importing IV_TITLE Value transfer Type reference (TYPE) GRFN_TITLE Title/Short Name 20091117
3 Returning RV_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL 20091117

Method CHECK_VALID_TITLE on class CL_GRAC_MODEL_SPM_REASON has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGUAGE Call by reference Type reference (TYPE) LANGU Language Key 20090819
2 Importing IV_TF_YEAR Call by reference Type reference (TYPE) GRFN_TF_YEAR Timeframe Year 20090819
3 Importing IV_TIMEFRAME Value transfer Type reference (TYPE) GRFN_TIMEFRAME Timeframe 20090819

Method CONSTRUCTOR on class CL_GRAC_MODEL_SPM_REASON has no exception.

Method CREATE_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_GUID Value transfer Type reference (TYPE) GRFN_GUID 20090820
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION 20090820

Method CREATE_REASON_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_REASONCOD_DATA Call by reference Type reference (TYPE) GRAC_S_REASONCOD UUID of the GRC object (char32) 20090911
2 Returning RV_REASON_CODE Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20090911
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090918

Method DELETE_REASON_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REASON_CODE Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20090825
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090915

Method DEQUEUE_ALL_REASONCODES Signature

Method DEQUEUE_ALL_REASONCODES on class CL_GRAC_MODEL_SPM_REASON has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION 20090827

Method ENQUEUE_REASON_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REASON_CODE Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20090915
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090915

Method GET_REASON_CODE_BY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REASON_CODE Call by reference Type reference (TYPE) GRFN_TITLE Title/Short Name 20121105
2 Returning RS_REASON_CODE Value transfer Type reference (TYPE) GRAC_S_REASONCOD Table type for Reason Code 20121105

Method GET_REASON_CODE_BY_NAME on class CL_GRAC_MODEL_SPM_REASON has no exception.

Method GET_REASON_CODE_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REASON_CODE Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20091104
2 Returning RV_COUNT Value transfer Type reference (TYPE) INT4 Natural number 20091104

Method GET_REASON_CODE_COUNT on class CL_GRAC_MODEL_SPM_REASON has no exception.

Method GET_REASON_CODE_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CONNECTOR Call by reference Type reference (TYPE) STRING 20111213
2 Returning RT_REASONCOD_LIST Value transfer Type reference (TYPE) GRAC_T_REASONCOD Table type for Reason Code 20091028

Method GET_REASON_CODE_LIST on class CL_GRAC_MODEL_SPM_REASON has no exception.

Method GET_SYSTEM_REASON_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SYSTEM_LIST Call by reference Type reference (TYPE) GRAC_T_REASONSYS Reason Code and System Maintenance 20091105

Method GET_SYSTEM_REASON_COUNT on class CL_GRAC_MODEL_SPM_REASON has no exception.

Method IS_REASON_LOCKED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REASON_CODE Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20090915
2 Returning RV_LOCKED Value transfer Type reference (TYPE) ABAP_BOOL 20090915

Method IS_REASON_LOCKED on class CL_GRAC_MODEL_SPM_REASON has no exception.

Method RAISE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NUM Value transfer Type reference (TYPE) SYMSGNO 20090820
2 Importing IV_PAR1 Value transfer Type reference (TYPE) SYMSGV 20090820
3 Importing IV_PAR2 Value transfer Type reference (TYPE) SYMSGV 20090820
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION 20090820

Method READ_REASON_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_REASONCODE_DATA Call by reference Type reference (TYPE) GRAC_S_REASONCOD Reason Codes 20090825
2 Exporting ET_REASONSYS_LIST Call by reference Type reference (TYPE) GRAC_T_REASONSYS Reason Code and System details 20090915
3 Importing IV_REASON_CODE Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20090825
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090915

Method READ_SYSTEM_ASSIGNMNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_REASONSYS_LIST Call by reference Type reference (TYPE) GRAC_T_REASONSYS Reason Code and System details 20090915
2 Importing IV_CONNECTOR Call by reference Type reference (TYPE) STRING 20111213
3 Importing IV_REASON_CODE Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20090915
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110202

Method REFRESH_BUFFERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CANCEL Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20090820
2 Importing IV_CLEAN_ALL Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20090920

Method REFRESH_BUFFERS on class CL_GRAC_MODEL_SPM_REASON has no exception.

Method SAVE Signature

Method SAVE on class CL_GRAC_MODEL_SPM_REASON has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091022

Method SAVE_REASONCOD_DATA Signature

Method SAVE_REASONCOD_DATA on class CL_GRAC_MODEL_SPM_REASON has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091022

Method SAVE_REASONSYS_DATA Signature

Method SAVE_REASONSYS_DATA on class CL_GRAC_MODEL_SPM_REASON has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091022

Method UPDATE_REASON_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_REASONCOD_DATA Call by reference Type reference (TYPE) GRAC_S_REASONCOD UUID of the GRC object (char32) 20090911
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090911

Method UPDATE_SYSTEM_ASSIGNMNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SYSTEM_LIST Call by reference Type reference (TYPE) GRAC_T_REASONSYS table type for controller group to Controller assignment 20090915
2 Importing IV_REASON_CODE Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20090915

Method UPDATE_SYSTEM_ASSIGNMNT on class CL_GRAC_MODEL_SPM_REASON has no exception.
History
Last changed by/on SAP  20141106 
SAP Release Created in 600