
Customer Defined Survey- End to End Implementation
Having the right planning and approach, along with a strong technical foundation and correct information, can smooth the pathway and ensure the perfect execution of your strategic vision. This blog is against the backdrop of end-to-end implementation of customer defined surveys in GRC Process Control. Though, there is some information already available on this topic in multiple pieces, this is an attempt to summarize all the information in one place, along with additional details on the missing pieces. Although from an operations perspective, this is just like Disclosure Survey Functionality but is very useful for clients who are already using Disclosure Surveys in PC and still want to use new surveys with Custom OWP Form, Custom email solution and a custom reporting mechanism. This blog can help as one stop shop for all the assistance needed in end-to-end implementation of Custom Surveys in GRC. So, Let’s get started!
Customers could define their own survey type and do compliance survey on specific objects. these type of Surveys come handy when you are already using standard Disclosure Surveys and still want to use a separate Survey with a Customized OWP form, Customized email solution and a Custom reporting mechanism. I faced the same situation with my client where Client is already using standard Disclosure Surveys but still wanted to have a separate line of Surveys for Internal Auditors- which will have a OWP form, emails and Reports totally different from what Disclosure Survey already has. This document will guide you on how you can implement these Surveys end to end in your systems.
The workflow task is created as a PDF as well as an online work item and includes task data. For Offline mode, It is sent as an email attachment. The title of the related attachment shows the task name. When you get the email, open the PDF file and complete the Survey and then submit the PDF. The outbound email will be launched. The system will automatically handle this workflow task after receiving the email. And, for online mode, user logs in to NWBC Work Inbox and take the action on work item created.
SAP GRC 10.0,10.1, 12.0
Note: Implement SAP note '2860253 - Customers can define their own survey types and do compliance survey on specific objects like ORGUNIT and CONTROLs. While using ORGUNIT as entity, planner throws an error 'Cannot find Activity for plan XYZ''
Given SAP Note needs to be implemented if the requirement is to Perform Surveys on Org and Sub process entity level.
New question category should be created in IMG and allowed answer types should be assigned to question category. This question category can be used in customer defined survey template.
Common Component Setting -->Surveys --> Implement New Survey Valuation
Create a custom form “ZGRFN_SURVEY_FORM” as a copy of standard form “GRFN_SURVEY_FORM” with an interface ‘ZGRFN_SURVEY_INTERFACE’ as a copy of standard interface ‘GRRM_WORKSHOP_SURVEY_FORM’.
Creating custom form will help customize the fields like client logo, organization, title, etc.
The form will reflect the configured questions and the survey can be submitted.
In case the attachments are also to be included in the form.
To activate the ‘Browse’ functionality on the form for attachments, usage rights need to be enhanced for the PDF.
Customer can define new agent slot to determine recipients.
NOTE: This demo survey is intended to be sent at SUBPROCESS Level. This can be modified to any Entity Object level.
In the example below, the new defined business event is assigned to the role for Sox Sub Process owner
Custom message class should be created to determine notification texts as required.
Three entries created with following message numbers:
For each message number, entry should be created as following steps.
Create survey usage class to return PDF form, recipient list, message variables and so on.
Agentslot is fetched based on the survey type.
rv_agentslot = 'ZPC_RF_SURVY'.
Variables like survey name, object id, object name, plan name and due date are fetched and used in the PDF as well as notifications.
WEBDYNPRO COMPONENT “GRFN_SIMPLE_SURVEY” CAN BE USED AS ONLINE WD COMPONENT DIRECTLY.
To add the required customizations, a custom webdynpro component can be created as ’ZGRFN_SIMPLE_SURVEY’.
The custom Webdynpro component ’ZGRFN_SIMPLE_SURVEY’:
Below interface methods appearing in component controller have been implemented:
This method is called by online survey framework to initialize the application. For instance: initialize survey questions.
This method is called by online survey framework to check whether the question answer or survey comments is changed by current user.
If survey interactive PDF form is filled offline and uploaded in online application, this method will be called by online survey framework. Interface method ‘INIT’ of WebDynpro Component ‘GRFN_SURVEY_RESPONSE’ should be called in this method.
Note: Parameter ‘IV_FORCE_RELOAD’ value of interface method ‘INIT’ of WebDynpro Component ‘GRFN_SURVEY_RESPONSE’ must be set as ‘X’.
This method is called by online survey framework to save survey answers.
Parameter ‘IV_CURRENCY’ value of this method is determined by the currency of organization.
New survey type should be created with Question Category ID, agent Slot, survey usage class, PDF Form Interface, PDF Form and Online component.
Common Component Setting --> Surveys --> Maintain Survey Types.
Survey type must be defined in customer name space, begin with ‘Y’ or ‘Z’.
Description for survey type
Compliance survey should be used.
The new defined question category must be used here. Then planner can retrieve survey templates which are created for this question category.
The new defined agent slot must be used here.
The new defined survey usage class must be used here.
The new defined PDF Interactive Form interface must be used here.
The new defined PDF Interactive Form must be used here.
To support online survey function, online WD component must be used here.
Common Component Setting --> Planning and Scheduling --> Define Plan Usage
Note:Fill the fields with proper value, the field “ABAP Class” must be filled with value “CL_GRFN_PLANUSAGE_SURVEY" and check box “Need Survey” must be selected.
Plan usage for entity “ORGUNIT”--Need Select Objects checkbox is not required for ORGUNIT compliance survey
NOTE: DO NOT PERFORM THIS STEP IF THE ENTITY IS “ORGUNIT”
A new Report Id is created in report configuration in below given SPRO path:
SPRO-> SAP Customizing Implementation Guide-> Governance, Risk and Compliance-> Reporting-> Maintain Report Configuration
A custom Webdynpro ‘ZGRFN_REPORT_SELECTION’ can be created to customize the selection screen for Reporting.
Implements interface ‘GRFN_REPORT_SELECTION’.
Create custom view with a following layout:
Method LINK_CLICKED in Component controller is updated to handle hyperlinks in the report.
Set mandatory fields from selection and Initialize in method SELECTION_INIT.
Get data from selection in Method SELECTION_GET.
All the tabs in the hierarchy are updated for the Report:
A new custom Entity ID is created:
Create below two Custom classes and maintain in view GRFNVENTITY and implement the
methods of these classes to meet the customized requirements.
ZCL_GRFN_API_CUST_PLAN- ‘Fetch’ and ‘traverse’
ZCL_GRFN_OBJTYPE_DESCR- s
An entry is maintained in table GRFNNAVENTITY for survey link creation in Report
Some of the fields have been activated as hyperlinks by updating the LINK as below:
Create survey questions with new defined questions category in question library. Path NWBC --> Assessment --> Question Library. For example: create question for answer type: Yes/No/NA
Create survey template with new defined question category in survey library. Path NWBC --> Assessment --> Survey Library
If offline function is configured in IMG, customer can receive survey via email.
Customer can always open the work inbox to receive survey and open survey online.
Run The report with Plan Name, Period and Org Data as shown below
Use Print and Export button to Export results to Excel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.