SAP ABAP Class CL_GRRM_SURVEY_UTILITY (Survey Utility class)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-RM (Application Component) GRC Risk Management
     GRRM_SURVEY (Package) Risk Management Surveys
Properties
Class CL_GRRM_SURVEY_UTILITY  
Short Description Survey Utility class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRRM_SURVEY   Risk Management Surveys 
Created 20081209   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)
Interfaces
Class CL_GRRM_SURVEY_UTILITY has no interface implemented.
Friends
Class CL_GRRM_SURVEY_UTILITY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_ERRORS Static Attribute Private Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20090714
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ADS Static method Public Method Check ADS connection 20090728
2 CONVERT_AMOUNT_OUTPUT Static method Public Method Convert the amount to be ready for WRITE TO CURRENCY 20090724
3 ERROR_PDF_GENERATION Static method Public Method Raise exception for pdf generation error 20090715
4 GENERATE_ACTIVITY_SURVEY_FORM Static method Private Method Generate Activity survey pdf form 20081209
5 GENERATE_KRI_SURVEY_FORM Static method Private Method Generate KRI survey pdf form 20081209
6 GENERATE_RISK_SURVEY_FORM Static method Private Method Generate Risk survey pdf form 20081209
7 GET_ACTIVITY_SURVEY_PDF Static method Private Method Get Activity survey pdf form 20081209
8 GET_CONTROL_OWNER Static method Private Method Get control owner 20091015
9 GET_EMAIL_ADDRESS Static method Public Method Get email address of user 20090728
10 GET_KRI_SURVEY_PDF Static method Private Method Get KRI survey pdf form 20081209
11 GET_RESPONSE_CREATE_URL Static method Private Method Get the URL of Response Creating application 20081209
12 GET_RISK_PROPOSAL_URL Static method Private Method Get the URL of Risk Proposal application 20081212
13 GET_RISK_SURVEY_PDF Static method Private Method Get Risk survey pdf form 20081209
14 GET_SENDER_UNAME Static method Public Method Get the user name of sender 20090728
15 GET_SURVEY_PDF Static method Public Method Get survey pdf form 20081209
16 GET_TASKPLAN_NAME Static method Public Method Get the name of taskplan 20090714
17 _RAISE_ERROR Static method Private Method Raise Error 20081209
18 _RAISE_ERROR_BAPIRETTAB Static method Private Method Raise Error 20090714
Events
Class CL_GRRM_SURVEY_UTILITY has no event.
Types
Class CL_GRRM_SURVEY_UTILITY has no local type.
Method Signatures

Method CHECK_ADS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TASK Call by reference Type reference (TYPE) GRFN_PLAN_USAGE Plan usage 20090728
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090728

Method CONVERT_AMOUNT_OUTPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_AMOUNT Call by reference Type reference (TYPE) DATA 20090724
2 Importing IV_AMOUNT Call by reference Type reference (TYPE) DATA 20090724
3 Importing IV_CURK Call by reference Type reference (TYPE) GRFN_CURRENCY Currency 20090724
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090724

Method ERROR_PDF_GENERATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_EX Call by reference Object reference (TYPE REF TO) CX_ROOT Abstract Superclass for All Global Exceptions 20090715
2 Importing IV_TEXT Call by reference Type reference (TYPE) STRING 20090715
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090715

Method GENERATE_ACTIVITY_SURVEY_FORM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PDF Call by reference Type reference (TYPE) FPFORMOUTPUT-PDF Form Processing: Content from XFT, XFD, PDF, and so on 20081209
2 Importing IS_ACT_DATA Call by reference Type reference (TYPE) GRRM_S_API_ACTIVITY_DATA API data structure for activity 20081209
3 Importing IS_ACT_VALIDATE Call by reference Type reference (TYPE) GRRM_S_API_VALIDATION_DATA Validation Data 20081209
4 Importing IS_SURVEY Call by reference Type reference (TYPE) GRRM_S_SVYINST_UI Survey Template UI 20081209
5 Importing IT_IMPACT_LEVEL Call by reference Type reference (TYPE) GRFN_T_API_VALUESET Table type for Value Set 20081209
6 Importing IT_QUESTIONS Call by reference Type reference (TYPE) GRFN_T_API_QUESTION_ANSWER Question with answer 20081209
7 Importing IT_SVYANAL Call by reference Type reference (TYPE) GRRM_T_SVYANAL_UI Survey Analysis Data for UI 20081209
8 Importing IV_EDITABLE Call by reference Type reference (TYPE) BOOLEAN Edit Mode 20081209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081209

Method GENERATE_KRI_SURVEY_FORM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PDF Call by reference Type reference (TYPE) FPFORMOUTPUT-PDF Form Processing: Content from XFT, XFD, PDF, and so on 20081209
2 Importing IS_KRIINST_DATA Call by reference Type reference (TYPE) GRRM_S_KRI_INSTANCE_SURVEY KRI Instance data used in KRI Survey 20081209
3 Importing IS_SURVEY Call by reference Type reference (TYPE) GRRM_S_SVYINST_UI Survey Template UI 20081209
4 Importing IT_QUESTIONS Call by reference Type reference (TYPE) GRFN_T_API_QUESTION_ANSWER Question with answer 20081209
5 Importing IV_EDITABLE Call by reference Type reference (TYPE) BOOLEAN Edit mode of the form 20081209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081209

Method GENERATE_RISK_SURVEY_FORM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PDF Call by reference Type reference (TYPE) FPFORMOUTPUT-PDF Form Processing: Content from XFT, XFD, PDF, and so on 20081209
2 Importing IS_RISK_DATA Call by reference Type reference (TYPE) GRRM_S_API_RISK_DATA API DATA STRUCTURE 20081209
3 Importing IS_RISK_STATUS Call by reference Type reference (TYPE) GRRM_S_API_RISK_STATUS Risk Status 20081209
4 Importing IS_SURVEY Call by reference Type reference (TYPE) GRRM_S_SVYINST_UI Survey Template UI 20081209
5 Importing IT_QUESTIONS Call by reference Type reference (TYPE) GRFN_T_API_QUESTION_ANSWER Question with answer 20081209
6 Importing IT_RESPONSES Call by reference Type reference (TYPE) GRRM_T_RISK_SURVEY_RESPONSE Response List 20081209
7 Importing IV_EDITABLE Call by reference Type reference (TYPE) BOOLEAN Edit mode 20081209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081209

Method GET_ACTIVITY_SURVEY_PDF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PDF Call by reference Type reference (TYPE) FPFORMOUTPUT-PDF Form Processing: Content from XFT, XFD, PDF, and so on 20081209
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20081209
3 Importing IS_SVYINST_UI Call by reference Type reference (TYPE) GRRM_S_SVYINST_UI Survey Template UI 20081209
4 Importing IT_QUESTIONS Call by reference Type reference (TYPE) GRFN_T_API_QUESTION_ANSWER Question with answer 20081209
5 Importing IT_SVYANAL_DATA Call by reference Type reference (TYPE) GRRM_T_API_SURVEY_ANAL_DATA Survey Analysis Data 20081209
6 Importing IV_EDITABLE Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20081209
7 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20081209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081209

Method GET_CONTROL_OWNER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20091015
2 Importing IV_CONTROL_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20091015
3 Returning RV_OWNER_NAME Value transfer Type reference (TYPE) AD_NAMTEXT Full name of control owner 20091015
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20091015

Method GET_EMAIL_ADDRESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME User Name 20090728
2 Returning RV_EMAIL Value transfer Type reference (TYPE) AD_SMTPADR E-Mail Address 20090728
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090728

Method GET_KRI_SURVEY_PDF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PDF Call by reference Type reference (TYPE) FPFORMOUTPUT-PDF Form Processing: Content from XFT, XFD, PDF, and so on 20081209
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20081209
3 Importing IS_SVYINST_UI Call by reference Type reference (TYPE) GRRM_S_SVYINST_UI Survey UI data 20081209
4 Importing IT_QUESTIONS Call by reference Type reference (TYPE) GRFN_T_API_QUESTION_ANSWER Question with answer 20081209
5 Importing IT_SVYANAL_DATA Call by reference Type reference (TYPE) GRRM_T_API_SURVEY_ANAL_DATA Survey Analysis Data 20081209
6 Importing IV_EDITABLE Call by reference Type reference (TYPE) BOOLEAN Edit mode 20081209
7 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20081209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081209

Method GET_RESPONSE_CREATE_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORGUNIT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20090305
2 Returning RV_URL Value transfer Type reference (TYPE) GRFN_URL URL 20081209

Method GET_RESPONSE_CREATE_URL on class CL_GRRM_SURVEY_UTILITY has no exception.

Method GET_RISK_PROPOSAL_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 20081212

Method GET_RISK_PROPOSAL_URL on class CL_GRRM_SURVEY_UTILITY has no exception.

Method GET_RISK_SURVEY_PDF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PDF Call by reference Type reference (TYPE) FPFORMOUTPUT-PDF Form Processing: Content from XFT, XFD, PDF, and so on 20081209
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20081209
3 Importing IS_SVYINST_UI Call by reference Type reference (TYPE) GRRM_S_SVYINST_UI Survey Template UI 20081209
4 Importing IT_QUESTIONS Call by reference Type reference (TYPE) GRFN_T_API_QUESTION_ANSWER Question with answer 20081209
5 Importing IT_SVYANAL_DATA Call by reference Type reference (TYPE) GRRM_T_API_SURVEY_ANAL_DATA Survey Analysis Data 20081209
6 Importing IV_EDITABLE Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20081209
7 Importing IV_OBJECT_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20081209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081209

Method GET_SENDER_UNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SENDER Value transfer Type reference (TYPE) UNAME User Name 20090728
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090728

Method GET_SURVEY_PDF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PDF Call by reference Type reference (TYPE) FPFORMOUTPUT-PDF Form Processing: Content from XFT, XFD, PDF, and so on 20081209
2 Importing IO_SESSION Call by reference Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20081209
3 Importing IV_EDITABLE Call by reference Type reference (TYPE) BOOLEAN ABAP_FALSE Edit Mode 20081209
4 Importing IV_SENDER_EMAIL Call by reference Type reference (TYPE) AD_SMTPADR E-Mail Address 20081209
5 Importing IV_SVYINST_ID Call by reference Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20081209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081209

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) GRFN_GUID Taskplan Group ID 20090714
2 Importing IV_TASKPLAN_ID Call by reference Type reference (TYPE) GRFN_GUID Taskplan ID 20090714
3 Returning RV_TASKPLAN_NAME Value transfer Type reference (TYPE) GRFN_TEXT100 The name of taskplan 20090714
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090714

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 20081209
2 Importing IV_NO Call by reference Type reference (TYPE) SY-MSGNO Message Number 20081209
3 Importing IV_PAR1 Call by reference Type reference (TYPE) SY-MSGV1 Message Variable 20081209
4 Importing IV_PAR2 Call by reference Type reference (TYPE) SY-MSGV2 Message Variable 20081209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20081209

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 20090714
2 Importing IV_RAISE Call by reference Type reference (TYPE) BOOLEAN 'X' Raise error or not 20090714
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20090714
History
Last changed by/on SAP  20141106 
SAP Release Created in 300