SAP ABAP Class CL_GRRM_MODEL_SURVEY (GRRM Survey model)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-RM (Application Component) GRC Risk Management
     GRRM_SURVEY (Package) Risk Management Surveys
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 20080820
Properties
Class CL_GRRM_MODEL_SURVEY  
Short Description GRRM Survey model    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRRM_SURVEY   Risk Management Surveys 
Created 20080820   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 GRFNH Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 GRRMA Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 GRRMS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_GRFN_API_MODEL Interface for handling of GRC API models 20080820
Friends
Class CL_GRRM_MODEL_SURVEY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_ERRORS Instance attribute Private Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080821
2 MT_SVYANAL_BUFFER Instance attribute Private Type reference (TYPE) GRRMS_T_SVYANAL_BUFFER Survey Analysis data buffer 20081014
3 MT_SVYINST_BUFFER Instance attribute Private Type reference (TYPE) GRRMS_T_SVYINST_BUFFER Survey Instance Buffer 20080820
4 MT_SVYINST_BUFFER_ORIG Instance attribute Private Type reference (TYPE) GRRMS_T_SVYINST_BUFFER Survey Instance Buffer Orig 20080820
5 MV_DATEFROM Instance attribute Private Type reference (TYPE) GRFN_VALIDFROM Begin Date 20080820
6 MV_DATETO Instance attribute Private Type reference (TYPE) GRFN_VALIDTO End Date 20080820
7 MV_LANGUAGE Instance attribute Private Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20080820
8 MV_SENDER Instance attribute Private Type reference (TYPE) UNAME Sender Username 20080911
9 MV_SENDER_EMAIL Instance attribute Private Type reference (TYPE) AD_SMTPADR E-Mail Address 20080911
10 MV_TIMEFRAME Instance attribute Private Type reference (TYPE) GRRM_TIMEFRAME Timeframe 20080820
11 MV_TIMEFRAME_YEAR Instance attribute Private Type reference (TYPE) GRFN_TF_YEAR Timeframe Year 20080820
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20080820
2 CONVERT_FORMATTED_TEXT Instance method Private Method Convert formatted text to normal text 20081007
3 CREATE_SURVEY Instance method Public Method Create Survey Instance 20080821
4 DELETE_SURVEY Instance method Public Method Delete Survey Instance 20080821
5 GENERATE_ACTIVITY_SURVEY_FORM Instance method Private Method Generate survey pdf form 20081015
6 GENERATE_KRI_SURVEY_FORM Instance method Private Method Generate survey pdf form 20080924
7 GENERATE_RISK_SURVEY_FORM Instance method Private Method Generate survey pdf form 20080924
8 GET_OIF_URL Instance method Private Method Get the URL of OIF 20091016
9 GET_RESPONSE_CREATE_URL Instance method Private Method Get the URL of Response Creating application 20081105
10 GET_SENDER_EMAIL Instance method Private Method Get sender's email address 20080911
11 GET_TASKPLAN_NAME Instance method Private Method Get the name of plan 20090708
12 QUERY_SURVEY Instance method Public Method Query Survey Instances 20080821
13 RETRIEVE_SURVEY Instance method Public Method Retrieve Survey Instance 20080821
14 SAVE_SURVEY Instance method Private Method Save Survey 20080821
15 SEND_ACTIVITY_SURVEY Instance method Private Method Send Activity Survey 20081015
16 SEND_KRI_SURVEY Instance method Private Method Send KRI Survey 20080924
17 SEND_RISK_SURVEY Instance method Private Method Send Risk Survey 20080827
18 SEND_SURVEY_VIA_EMAIL Instance method Private Method Send Risk Survey via email 20081001
19 SET_SVYINST_EDITABLE Instance method Private Method Set editable or not, lock/unlock object 20080821
20 UPDATE_SURVEY Instance method Public Method Update Survey Instance 20080821
21 VALIDATE_SURVEY Instance method Private Method Validate Survey 20080821
22 _RAISE_ERROR Instance method Private Method Raise Error 20080821
23 _RAISE_ERROR_BAPIRETTAB Instance method Private Method Raise Error 20080924
24 _RAISE_PENDING_ERRORS Instance method Private Method Raise pending errors 20080821
Events
Class CL_GRRM_MODEL_SURVEY has no event.
Types
Class CL_GRRM_MODEL_SURVEY has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGUAGE Value transfer Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20080820
2 Importing IV_TF_YEAR Value transfer Type reference (TYPE) GRFN_TF_YEAR Timeframe Year 20080820
3 Importing IV_TIMEFRAME Value transfer Type reference (TYPE) GRFN_TIMEFRAME Timeframe 20080820

Method CONSTRUCTOR on class CL_GRRM_MODEL_SURVEY has no exception.

Method CONVERT_FORMATTED_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FORMATTED_TEXT Call by reference Type reference (TYPE) STRING formatted text 20081007
2 Returning RV_TEXT Value transfer Type reference (TYPE) STRING normal text 20081007

Method CONVERT_FORMATTED_TEXT on class CL_GRRM_MODEL_SURVEY has no exception.

Method CREATE_SURVEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SVYINST_DATA Call by reference Type reference (TYPE) GRRM_S_SVYINST Survey Instance 20080821
2 Importing IT_SVYANAL_DATA Call by reference Type reference (TYPE) GRRM_T_SVYANAL Survey Analysis data table 20081014
3 Returning RV_SVYINSTID Value transfer Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20080825
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080821

Method DELETE_SURVEY Signature

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

Method GENERATE_ACTIVITY_SURVEY_FORM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ACT_DATA Call by reference Type reference (TYPE) GRRM_S_API_ACTIVITY_DATA Activity Data 20081015
2 Importing IS_ACT_VALIDATE Call by reference Type reference (TYPE) GRRM_S_API_VALIDATION_DATA Activity Validate 20081015
3 Importing IS_SURVEY Call by reference Type reference (TYPE) GRRM_S_SVYINST_UI Survey data 20081015
4 Importing IT_IMPACT_LEVEL Call by reference Type reference (TYPE) GRFN_T_API_VALUESET Table type for Value Set 20081015
5 Importing IT_QUESTIONS Call by reference Type reference (TYPE) GRFN_T_API_QUESTION_ANSWER Question with answer 20081015
6 Importing IT_SVYANAL Call by reference Type reference (TYPE) GRRM_T_SVYANAL_UI Survey Analysis Data 20081015
7 Returning RV_PDF Value transfer Type reference (TYPE) FPFORMOUTPUT-PDF Form Processing: Content from XFT, XFD, PDF, and so on 20081015
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081015

Method GENERATE_KRI_SURVEY_FORM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_KRIINST_DATA Call by reference Type reference (TYPE) GRRM_S_KRI_INSTANCE_SURVEY KRI Data Structure 20080924
2 Importing IS_SURVEY Call by reference Type reference (TYPE) GRRM_S_SVYINST_UI Survey data 20080924
3 Importing IT_KRI_BUSIRULE Call by reference Type reference (TYPE) GRRM_T_KRI_BUSIRULE_SURVEY KRI Business Rule list table type 20080924
4 Importing IT_QUESTIONS Call by reference Type reference (TYPE) GRFN_T_API_QUESTION_ANSWER Question with answer 20080924
5 Returning RV_PDF Value transfer Type reference (TYPE) FPFORMOUTPUT-PDF Form Processing: Content from XFT, XFD, PDF, and so on 20080924
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080924

Method GENERATE_RISK_SURVEY_FORM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RISK_DATA Call by reference Type reference (TYPE) GRRM_S_API_RISK_DATA Risk Data Structure 20080924
2 Importing IS_RISK_STATUS Call by reference Type reference (TYPE) GRRM_S_API_RISK_STATUS Risk Status 20080924
3 Importing IS_SURVEY Call by reference Type reference (TYPE) GRRM_S_SVYINST_UI Survey data 20080924
4 Importing IT_QUESTIONS Call by reference Type reference (TYPE) GRFN_T_API_QUESTION_ANSWER Question with answer 20080924
5 Importing IT_RESPONSES Call by reference Type reference (TYPE) GRRM_T_API_RESPONSE_LIST response list table type 20080924
6 Returning RV_PDF Value transfer Type reference (TYPE) FPFORMOUTPUT-PDF Form Processing: Content from XFT, XFD, PDF, and so on 20080924
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080924

Method GET_OIF_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTION Call by reference Type reference (TYPE) GRRM_OIF_ACTION GRRMU_C_OIF_ACTION-DISPLAY OIF Action 20091016
2 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20091016
3 Returning RV_URL Value transfer Type reference (TYPE) STRING 20091016

Method GET_OIF_URL on class CL_GRRM_MODEL_SURVEY has no exception.

Method GET_RESPONSE_CREATE_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_URL Value transfer Type reference (TYPE) GRFN_URL URL 20081105

Method GET_RESPONSE_CREATE_URL on class CL_GRRM_MODEL_SURVEY has no exception.

Method GET_SENDER_EMAIL Signature

Method GET_SENDER_EMAIL on class CL_GRRM_MODEL_SURVEY has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080911

Method GET_TASKPLAN_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TASKPLAN_GRP_ID Call by reference Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20090708
2 Returning RV_TASKPLAN_GRP_NAME Value transfer Type reference (TYPE) GRFN_TEXT100 Text 20090708
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090708

Method QUERY_SURVEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SVYINST_LIST Call by reference Type reference (TYPE) GRRM_T_SVYINST_LIST Survey Instance list table 20080821
2 Importing IV_OBJECT_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20080902
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080821

Method RETRIEVE_SURVEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_SVYINST_DATA Call by reference Type reference (TYPE) GRRM_S_SVYINST Survey Instance 20080821
2 Exporting ET_SVYANAL_DATA Call by reference Type reference (TYPE) GRRM_T_SVYANAL Survey Analysis data table 20081014
3 Importing IV_EDITABLE Call by reference Type reference (TYPE) GRFN_BOOLEAN Boolean 20080821
4 Importing IV_SVYINSTID Call by reference Type reference (TYPE) GRFN_GUID UUID of the GRC object (char32) 20080821
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080821

Method SAVE_SURVEY Signature

Method SAVE_SURVEY on class CL_GRRM_MODEL_SURVEY has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080826

Method SEND_ACTIVITY_SURVEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SVYINST_BUFFER Call by reference Type reference (TYPE) GRRM_S_SVYINST_BUFFER GRRM Survey Instance Buffer 20081015
2 Importing IS_TASKPLAN Call by reference Type reference (TYPE) GRFN_S_TASKPLAN structure for task plan 20081015
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081015

Method SEND_KRI_SURVEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SVYINST_BUFFER Call by reference Type reference (TYPE) GRRM_S_SVYINST_BUFFER GRRM Survey Instance Buffer 20080924
2 Importing IS_TASKPLAN Call by reference Type reference (TYPE) GRFN_S_TASKPLAN structure for task plan 20081001
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080924

Method SEND_RISK_SURVEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SVYINST_BUFFER Call by reference Type reference (TYPE) GRRM_S_SVYINST_BUFFER GRRM Survey Instance Buffer 20080902
2 Importing IS_TASKPLAN Call by reference Type reference (TYPE) GRFN_S_TASKPLAN structure for task plan 20081001
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080827

Method SEND_SURVEY_VIA_EMAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AGENTSLOT Call by reference Type reference (TYPE) GRFN_AGENTSLOT Agent Slot 20081001
2 Importing IV_MESSAGE_NO Call by reference Type reference (TYPE) SYMSGNO Message Number 20081001
3 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20091016
4 Importing IV_OBJECT_NAME Call by reference Type reference (TYPE) STRING Parameter in Subject 20081212
5 Importing IV_PDF Call by reference Type reference (TYPE) FPFORMOUTPUT-PDF Form Processing: Content from XFT, XFD, PDF, and so on 20081001
6 Importing IV_RECIPIENT Call by reference Type reference (TYPE) UNAME User Name 20081001
7 Importing IV_TASKPLAN_NAME Call by reference Type reference (TYPE) GRFN_TEXT100 Name of taskplan 20090708
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081001

Method SET_SVYINST_EDITABLE Signature

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

Method UPDATE_SURVEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SVYINST_DATA Call by reference Type reference (TYPE) GRRM_S_SVYINST Survey Instance 20080821
2 Importing IT_SVYANAL_DATA Call by reference Type reference (TYPE) GRRM_T_SVYANAL Survey Analysis data table 20081014
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080821

Method VALIDATE_SURVEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_BUFFER Call by reference Type reference (TYPE) GRRM_S_SVYINST_BUFFER Survey Instance Buffer 20080821
2 Importing IV_ACTION Call by reference Type reference (TYPE) GRFNH_COMMAND 20080821
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080821

Method _RAISE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FIELD Call by reference Type reference (TYPE) BAPI_FLD Field in parameter 20080821
2 Importing IV_NO Call by reference Type reference (TYPE) SY-MSGNO Message Number 20080821
3 Importing IV_PAR1 Call by reference Type reference (TYPE) SY-MSGV1 Message Variable 20080821
4 Importing IV_PAR2 Call by reference Type reference (TYPE) SY-MSGV2 Message Variable 20080821
5 Importing IV_RAISE Call by reference Type reference (TYPE) BOOLEAN 'X' Raise error or not 20080821
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080821

Method _RAISE_ERROR_BAPIRETTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BAPIRETTAB Call by reference Type reference (TYPE) BAPIRETTAB Message table 20080924
2 Importing IV_RAISE Call by reference Type reference (TYPE) BOOLEAN 'X' Raise error or not 20080924
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080924

Method _RAISE_PENDING_ERRORS Signature

Method _RAISE_PENDING_ERRORS on class CL_GRRM_MODEL_SURVEY has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20080821
History
Last changed by/on SAP  20141106 
SAP Release Created in 300