SAP GRC PC Notification
SAP GRC PC Notification
Public
Warning
This document has been generated from SAP Help Portal and is an incomplete version of the official SAP product documentation.
The information included in custom documentation may not reflect the arrangement of topics in SAP Help Portal, and may be
missing important aspects and/or correlations to other topics. For this reason, it is not for production use.
This is custom documentation. For more information, please visit SAP Help Portal. 1
5/19/25, 5:49 AM
Purpose
Prerequisites
1 Understanding the Notifications, Reminders and Escalations
1.1 Overview
1.2 Difference between Notifications vs the Reminders and Escalations
2 Configuring Notifications, Reminder and Escalations
2.2 SWNCONFIG
2.2.1 Scenario Specific Settings
2.2.2 Schedule Selection
2.2.3 Delivery Schedule
2.2.4 General Settings
2.2.5 Message Template
2.3 SWN_SELSEN
2.4 Reminders and Escalations Configuration
2.4.1 Control Tab
2.4.2 Requested End Tab - Reminder
2.4.3 Latest End Tab - Escalation
3 Testing and troubleshooting the Notifications, Reminders and Escalations
3.1 Checking the work items for Reminder and Escalations activity
Purpose
The purpose of this page is to clarify the operation and configuration of workflow e-mail notifications, reminders and escalations.
Prerequisites
1 - It is necessary to have SAPConnect properly configured in the GRC system and be sure that e-mails can be sent from the GRC
system to the user's e-mail address maintained in SU01. Check with your E-mail server team to make sure everything is in place. If
this is not configured yet, check the SMTP Configuration Guide. Additional SMTP configuration articles: Configuring SAP SMTP |
SAP Configuring E-mail SCOT
2 - Since this scenario is based on the Extended Business Workflow, all the workflow configuration must be performed prior to
configuring the Notifications, Reminders and Escalations. Make sure to have followed all the configurations on SPRO > Default IMG
> Governance, Risk and Compliance > General Settings > Workflow.
1.1 Overview
Notifications are sent to the performer of a task when the task is created. They are used to notify the receiver about the
new task in their work inbox.
Reminders are e-mails sent to the performer of a task a short time before the end date or the due date of the task, in case
the task is not completed.
This is custom documentation. For more information, please visit SAP Help Portal. 2
5/19/25, 5:49 AM
Escalations are notifications sent to the performer's supervisor or to another responsible person, in case the performer
misses the task completion due date, as specified in their work inbox.
The notifications will only inform the user that one or more work items have reached his/her work inbox. This is almost completely
delivered through the BC Set GRFN-WORKFLOW-NOTIFICATION. Reminders and Escalations, however, will require specific
customizing for each workflow/task, because these scenarios will need to calculate when and who to receive the reminder and the
escalation.
The Reminders and Escalations are not delivered for Risk Management. These scenarios can only be used by Process Control
workflows.
We start from SPRO > Default IMG > Governance, Risk and Compliance > General Settings > Workflow > Workflow E-mail
Notifications
The first activity is to set the SAPConnect. As informed in the prerequisites, this should already be done. The GRC Scenarios are
activated through BC SET GRFN-WORKFLOW-NOTIFICATION. This BC set can be found on the following IMG activity: SPRO >
Default IMG > Governance, Risk and Compliance > General Settings > Workflow > Workflow E-mail Notifications > Maintain
Workflow Notifications (Maintain Workflow for Reminders and Escalations activity will not be used for now).
This is custom documentation. For more information, please visit SAP Help Portal. 3
5/19/25, 5:49 AM
This is custom documentation. For more information, please visit SAP Help Portal. 4
5/19/25, 5:49 AM
After the BC set is active, the Maintain Workflow Notifications activity itself can be run, it will lead to the transaction SWNCONFIG:
Image 3: SWNCONFIG transaction showing the GRCNOTIFICATION, PCESCALATION and PCREMINDER scenarios.
2.2 SWNCONFIG
The SWNCONFIG transaction is the main structure for all the workflow related e-mails. For each scenario one can set specific
details, like the message type that will be sent and the Task Filter, which can be used to limit the use of the scenarios to specific
tasks. Having the GRCNOTIFICATION scenario selected (Image 3) double-click the Category folder to set the first choice for this
scenario, which is the grouping of items in the message:
Not Supported - This option does not allow grouping of items. It will create one single e-mail for each task. If the user received 5
new work items since the last run of SWN_SELSEN, 5 e-mails will be sent containig one work item each.
Grouping Within the Same Category Permitted - This option will create only one E-mail containing all the work items from each
category that needs to be informed. If the user received 5 new work items since the last run of SWN_SELSEN, only 1 e-mail will be
sent containing all the 5 work items. You can see details on the Multiple Items E-mail here.
Grouping with Other Categories Permitted - This is the default option and since on each delivered Scenario there is only one
category available, this option will work the same as the previous one. You can see details on the Multiple Items E-mail here.
This is custom documentation. For more information, please visit SAP Help Portal. 5
5/19/25, 5:49 AM
Image 4: The Collective Message field is scenario specific and determines how many work items can be notified on one
single e-mail.
The other configuration that is scenario specific is the Filter. The GRCNOTIFYFILTER is the default filter delivered for the
GRCNOTIFICATION Scenario:
This is custom documentation. For more information, please visit SAP Help Portal. 6
5/19/25, 5:49 AM
By selecting this filter then opening the filter settings, we can see that all the tasks that will be considered for notification are
explicity maintained here. If there is one or few tasks that are not being reported on the notification e-mail, it is probably because
they are missing in this filter. Any tasks can be included here (even RM or AC) and they will be reported on the E-mail on the next
run of SWN_SELSEN after their creation.
This is custom documentation. For more information, please visit SAP Help Portal. 7
5/19/25, 5:49 AM
Image 6: GRCNOTIFYFILTER settings showing the tasks that will generate notifications to the user when created.
This is custom documentation. For more information, please visit SAP Help Portal. 8
5/19/25, 5:49 AM
The Schedule Selection determines which work items are selected and when:
Image 7: Schedule Selection showing that all the 3 scenarios are going to select the tasks of the respective filters for all the work
days.
The Delivery Schedule determines when the items selected on the Schedule Selection are delivered (sent by E-mail).
This is custom documentation. For more information, please visit SAP Help Portal. 9
5/19/25, 5:49 AM
Image 8: Delivery Schedule showing that E-mails can be sent on all work days, if the Schedule Selection finds anything to be sent.
This is custom documentation. For more information, please visit SAP Help Portal. 10
5/19/25, 5:49 AM
Let's see as example the Subject text of the Multiple Items Notification e-mail (the one used by default granularity "Grouping with
Other Categories Permitted" ) (SUBJECT_WF_MULTI). We can see that the default value for this setting is NASWN072. This means
This is custom documentation. For more information, please visit SAP Help Portal. 11
5/19/25, 5:49 AM
NA is the message type, SWN is the message class and 072 is the message number. So the text that comes form this value can be
checked on SE91 transaction, by searching for the SWN message class and message number 072:
Image 10: Checking the message number 072 of SWN message class on SE91 transaction
This is custom documentation. For more information, please visit SAP Help Portal. 12
5/19/25, 5:49 AM
Image 11: The text contained in the message 072 of SWN message class.
For the other settings where a Dialog Text is used, you can check then on SE61 by selecting the DIALOG TEXT Document Class and
the name will be the rest of the value, like SWN_PROLOG_MULTI. You can create custom ZSWN message class on SE91 or
customer dialog text Z* and determine your own texts/messages to customise the e-mail texts.
Here we can point the message template to the handler and custom html engine. See more on How To change Notification E-mail
Content
Image 12: Message Template configuration where one can point a new Z (custom) BSP application capable of creating
diferent e-mail contents for the Notifications, Reminders and Escalation scenarios.
2.3 SWN_SELSEN
For the schedules to run and the e-mails be delivered, the SWN_SELSEN program needs to be scheduled to run periodically. This
can be done by following the instructions of the IMG Activity "Schedule Job for Workflow E-mail Notification".
Notifications should work right away after the SWNCONFIG is all performed and the SWN_SELSEN program is running periodically
on the background. But for the Reminders and Escalations, the additional, task-specific customizing needs to be performed to set
the details of when and who to send the reminder and escalations.
From SWDD transaction one can enter any workflow ID. From the workflow we can enter the tasks and set the reminder and
escalation. This needs to be done for each task that you wish to have reminders and escalations for. To know which step represents
This is custom documentation. For more information, please visit SAP Help Portal. 13
5/19/25, 5:49 AM
each task, first we need to understand the SWDD transaction and the possible workflows to be used which are:
Remadiation Plan WS76300038 14/18 TS76307972 Enter Details for Remediation Plan
Process: Issue WS75900003 139 TS75900010 Resolve Issue without Remediation Plan
Process: Testlog WS75900005 186 TS75900016 Create Issue For Testlog (Perform Manual Test of Control
Effectiveness)
200 TS75900018 Review Testlog & Issue (Review Manual Test of Control
Effectiveness)
215 TS75900019 Rework The Issue for The Testlog (Rework Manual Test of
Control Effectiveness)
This is custom documentation. For more information, please visit SAP Help Portal. 14
5/19/25, 5:49 AM
Process: CAPA Plan WS76300012 137 TS76300020 Enter Details for CAPA Plan
Process: CAPA Plan WS76300041 137 TS76307989 Enter Details for CAPA Plan
This is custom documentation. For more information, please visit SAP Help Portal. 15
5/19/25, 5:49 AM
2.4.1 Control Tab
Entering the workflow and then clicking on the step 186 (perform assessment) we can see the main tab (control) of the task. Here
we can see there is already a rule for the agent. This is the same rule used by the workflow to determine the recipient of the WI.
Image 13: Control Tab which contains the same rule to be used in the Reminder (requested end tab), so that the same task
recipient is reminded to finish the task.
Here we are going to configure it similarly as the control tab. In this case we are setting an expression to calculate the date when to
send the reminder. I am using the reference date as the due date of the assessment and then setting the reminder to be sent -1
days before that due date. The action is display text, this will send the user the email and the actual user is determined by the rule,
which one can see is the same as the maintained in the control tab, so the same user who received the work item will also receive
this reminder.
Image 15: Here we set the expression of when to send an e-mail to the agent of escalation to inform that the task was not
completed yet.
Now that you have configured the Notifications, Reminders and Escalations that you want to use in your system, let's see how to
confirm the configuration and understand if any error/issue happens. In the case of Notifications once the work item is created, if
the task is in the filter for the scenario, program SWN_SELSEN should directly notify it to the user, so go directly to 3.2
For Reminders and Escalations, we need to confirm if the activity is created inside the task, so let's look into the work item first:
3.1 Checking the work items for Reminder and Escalations activity
We can enter transaction SWIA and check the work item for the reminder and/or escalation activities that should be created along
with the WI.
If any changes are made to the workflow on SWDD transaction, only work items created after those changes are active will
consider them, so make sure you have saved and activated the last version of the workflow before creating your test work items.
Follow the steps form the images below to understand how to open the WI log and check for deadline monitoring tasks. These
tasks need to be generated otherwise the Reminder and Escalations e-mails will never reach the endusers:
This is custom documentation. For more information, please visit SAP Help Portal. 17
5/19/25, 5:49 AM
Image 16: Open SWIA transaction and look for Work Items. You can filter using the TASK ID.
Image 17: Select one of the tasks by double-clicking the line of the task.
This is custom documentation. For more information, please visit SAP Help Portal. 18
5/19/25, 5:49 AM
Image 18: Now click on the log so we can see all logged details of this Work Item.
Image 19: Make sure to use the Technical Details function so we can see detailed info.
Image 20: Click on the Expand all Nodes to open the Dialog Tasks which are the ones the user receives.
This is custom documentation. For more information, please visit SAP Help Portal. 19
5/19/25, 5:49 AM
Image 21: Finally click on top of the dialog task for which you want to check if deadline monitoring is working you should see
the Bell sign on the Deadlines tab, it means that deadlines were calculated for the work item and these should trigger the e-
mails on the calculateddate.
In transaction SM37 we can check the SWN_SELSEN program by filtering using this ABAP Program Name:
This is custom documentation. For more information, please visit SAP Help Portal. 20
5/19/25, 5:49 AM
Then one can select the entry and click on JOB LOG to see if notifications, reminders and escalations were processed:
Image 23: Selecting one specific run of SWN_SELSEN job to see the logs.
Image 24: Log of SWN_SELSEN job showing notifications sent on 2 messages (e-mails).
The final step is to actually deliver the e-mails to the endusers who will be notified, reminded or receive an escalation. That
happens on SOST transaction were we can see e-mails leaving the SAP System:
This is custom documentation. For more information, please visit SAP Help Portal. 21
5/19/25, 5:49 AM
Image 25: SOST transaction showing the e-mails of notification sent to the endusers. If the e-mails are not being created here
confirm the SMTP configuration is complete.
4 Related Content
4.1 More related information and troubleshooting guides
Purpose
The purpose of this page is to clarify the steps over the workflow e-mail notification configuration. Configure e-mail routing,
reminders and escalation, notifications and schedule the job for notifications.
This is custom documentation. For more information, please visit SAP Help Portal. 22
5/19/25, 5:49 AM
Overview
This document is divided in the following topics:
1. Set up SAPConnect: The first task is the transaction SCOT, a standard e-mail routing task. This is usually done by the
BASIS team.
2. Maintain Workflow for Reminders and Escalations: these are usually configured after the initial proof-of-concept during
the main implementation phase.
3. Maintain Workflow Notifications: this takes you to SE61.
4. Schedule Job for Workflow E-mail Notification: This will be configured according to the IMG documentation.
Notifications Overview
Notifications are sent to the performer of a task when the task is created. They are used to notify the receiver about the
new task in their work inbox.
Reminders are e-mails sent to the performer of a task a short time before the end date or the due date of the task, in case
the task is not completed.
Escalations are notifications sent to the performer's supervisor or to another responsible person, in case the performer
misses the task completion due date, as specified in their work inbox.
Set up SAPConnect:
This option directs you to SCOT transaction.
In this Customizing activity, you configure the communication interface SAPconnect, which allows you to send external e-mails
from the SAP System.
This is custom documentation. For more information, please visit SAP Help Portal. 23
5/19/25, 5:49 AM
Make the following settings:
Reminders for automated testing and monitoring, which includes semi-automated test and pending reviews of rules
Escalations for dates that are past due; generally, you can set up escalation for control design, assessments of controls and
processes, entity-level controls, manual testing, and such others
The recipients of the reminders and escalations can be process owners, subprocess owners, automated test reviewers, and
internal auditors, along with specific activity owners such as self-assessment reviewers and entity-level control (ELC) reviewers. In
addition to this, reminders and escalation can be sent to specific role owners and internal audit managers.
Requirements
You have necessary authorization for development and workflow maintenance of Process Control.
Activities
1. On the Application Components tab page search for the application component, GRC-SPC. A list appears displaying
the Process Controls folder and Multistep tasks subfolder.
2. On the Application Components tab page search for the application component, GRC-SPC. A list appears displaying
the Process Controls folder and Multistep tasks subfolder.
3. Select a multistep task that you want to set up reminders and escalations. The right pane of the screen displays the task
details.
4. Under the Task column, select a task folder, and then double-click the folder. The Workflow Builder screen appears in the
change mode.
5. In the Navigation Area pane, select the step that requires reminders and escalations.
6. Note: Steps with the Arrow can be set up with reminders and escalation. The right pane is active and displays the Task
ID and the associated step.
7. To set up a reminder, select theRequested End tab page, or to set up an escalation, select the Latest End tab page, as
requierd.
8. You can set up the date and time using the following options:
Recommended Option: You can define the expression for a reference date within a workflow
container. Several dates related to the planning activity are available to support this option. Select
Expression from the Reference date/time dropdown menu to activate the Date and Time fields.
You can define a fixed amount of time after creation of the work item or the workflow.
9. Press the F4 key. The Expression for reference date dialog box appears.
10. Select a relevant date (highlighted in green), and then enter the number of days after this reference date you want the
reminder or escalation to be sent.
11. Select Time field, and select Day(s) from the dropdown list .
12. Enter the number of days after the issue plan end date that the reminder is sent.
13. In the Action pane, select Recipient of messag when requested end missed, and then choose either Expression or Rule.
This is custom documentation. For more information, please visit SAP Help Portal. 24
5/19/25, 5:49 AM
14. For Expression: select the recipient from the workflow container. Subsequently, this becomes a case for the owner of the
workflow.
15. For Rule:
This is custom documentation. For more information, please visit SAP Help Portal. 25
5/19/25, 5:49 AM
Go to SPRO -> Governance, Risk and Compliance -> General Settings -> Workflow -> Workflow e-mail notifications and click on
"Existing BC Sets" in the top of the screen.
You must create one subscription for each subscenario, and define the required settings. The following steps illustrate a new task
notification:
1. Double-click Subscription Settings and choose the New Entries pushbutton; then enter parameter values as specified
below:
1. Choose the node Business Scenario; then repeat Steps b to e to create the subscription and to define settings for
reminder and escalation. The difference lies in the name and description. In addition to this, an escalation does not have the
parameter SHOW_INBOX_AS.
2. To enter the portal address, choose General Settings, and then enter the portal address in the field INBOX_LINK_URL.
3. Choose the Save pushutton and exit.
This is custom documentation. For more information, please visit SAP Help Portal. 26
5/19/25, 5:49 AM
Check in SU01 if the user WF-BATCH (or the relevant service user) has an e-mail account configured:
Related Content
Related Documents
How to Solve Errors with Reminder and Escalation Mails in GRC
Related Notes
SAP Note: 83020 What is consulting, what is support
This is custom documentation. For more information, please visit SAP Help Portal. 27
5/19/25, 5:49 AM
Logon to the system and execute Transaction SWI1 with task WS75900004:
Execute
Mark one item and and choose fifth button from left “Display Workflow Log”:
Click second button from left (“List with Technical Details”) or “Goto-> List with Technical Details” from the menu an open the
items until step “Perform Control Self-Assessment” is shown:
Under Tab “Deadlines” the deadlines (latest end, requested end) are listed (in this sample there were none). Under Tab “Step
History” you sometimes find errors during evaluation of the recipient of the deadline, e.g. when the customer defined a rule for
“Recipient when Latest/Requested End missed” in the workflow and the binding is missing so no agent could be determined.
You can check the workflow by clicking on the task id WS75900004 in the workflow log (marked red in the above picture).
Please check, which container element is used for the Date and also check the binding of the rule and maybe copy the values to
some text file. Then navigate back to the workflow log, mark the first line of the workflow and go to tab “Container”:
There you find the respective fields of the workflow container that were used for the Date and the binding of the rule. You can open
the structure “Assessment” to navigate to the child elements. As you can see in this sample the container element “Reassessment”
is not filled, but this is used by the customer for the Date. If there is an error with rule evaluation you can also use the container
values found here (again copy to text file) to test the rule (either directly via transaction PFAC -> Button “Simulate rule resolution”
or navigate forward from the workflow definition where the rule is used).
Purpose
The purpose of this wiki is to explain how to change the email notification content for GRC Process Control 10.0.
Overview
GRC Process Control Notification is implemented based on SAP Extended Notification Framework.
Steps:
1 - Run transaction code SE80, open package SWN, find the SAP application SWN_MESSAGE1, and copy it to a local application. In
my example, it is ZHBSWN_MESSAGE1. Check the picture of it below:
This is custom documentation. For more information, please visit SAP Help Portal. 28
5/19/25, 5:49 AM
2 - Open the new BSP application, ZHBSWN_MESSAGE1, and double click html_multi.htm. Then open the tab Layout. Check the
picture below:
This is custom documentation. For more information, please visit SAP Help Portal. 29
5/19/25, 5:49 AM
3- Click the change button , and copy & paste below copy to replace the original content.
5- Run Transaction code swnconfig, click the node Message Template, find the entry for GRCNOTIFICATION and replace your
SWN_MESSAGE1 by the new BSP application as below. Check the picture below:
This is custom documentation. For more information, please visit SAP Help Portal. 30
5/19/25, 5:49 AM
This is custom documentation. For more information, please visit SAP Help Portal. 31
5/19/25, 5:49 AM
The email content is only define in the below but in case you want to define the content, you would best create a new Dialog Text by
transaction SE61 and replace SWN_PROLOG_MULTI by your new dialog text name. Please, check the picture below:
Related Content
Related Documents
This is custom documentation. For more information, please visit SAP Help Portal. 32
5/19/25, 5:49 AM
Related Notes
Purpose
This page purpose is to explain how the multi-item e-mail notification layout works
Overview
Overview Section of the E-mail
As we can see on the image below, the e-mail contains two main parts, the overview section and the Actual links to the work items.
On the overview, the listed items DO NOT contain a link to the GRC work item. They are simply anchors that point to the item
details.
This is custom documentation. For more information, please visit SAP Help Portal. 33
5/19/25, 5:49 AM
Purpose
This document is a technical document, so it is only for the user with technical background.
Overview
Workflow is running is background, so when any issue, it is hard for user to analysis. The only appearance is no task received. And
now, please follow this document to analysis. Because most of PC workflows are triggered by Planner, so this document will start
from Planner and then go together with other scenarios.
In PC3.0, planner is running by workflow. However, in PC10.0, to satisfy period functionality, Planner backend is changed to run by
job.
This is custom documentation. For more information, please visit SAP Help Portal. 34
5/19/25, 5:49 AM
PS: here, the job name is the guid for the planner. If you would like to find its name input from frontend. You can check table
GRFNTASKPLAN and GRFNTASKPLANGRP.
The job status should be green. Or there should be something wrong, then please look at next chapter.
Input grpc into object, planner into subobject.And if we obtain the planner id from above chap, input it into external ID. And also
choose the time restriction.
This is custom documentation. For more information, please visit SAP Help Portal. 35
5/19/25, 5:49 AM
Green means all thing go well. If any red light, it means something wrong, and the message will supply more detail information.
From the planner log, we can also obtain the case id. See also the last line of the message.
After planner runs successfully, the event should be triggered. And not only for planner but also for other scenario, like policy,
adhoc issue, report and so on. All the workflow is triggered by event, in another word, from event trace we can check the workflow
is triggered successfully or not.
From front chapter, in the planner log, we can obtain the case id. Input the case id into ’Creator’ object instance, and if you are
experienced enough, you can also input ‘Creator’ object type and Event as filter.
This is custom documentation. For more information, please visit SAP Help Portal. 36
5/19/25, 5:49 AM
We can see two events are triggered for this case. And this entry is wild event, because it is “No receiver entered”, which means
after this event nothing happen. And the second entry works, and it is the “CREATE” event. Just as its name, this event will create a
workflow instance.
This is custom documentation. For more information, please visit SAP Help Portal. 37
5/19/25, 5:49 AM
The best news for us is showing an Object Key, whose another name is workflow item id.
System shows us the workflow log, where we can find the agent information.
This is custom documentation. For more information, please visit SAP Help Portal. 38
5/19/25, 5:49 AM
Here we can check who received the task. If it is not as you expected, go to next chapter.
4. Agent determination
Different scenario may have different solution. However, most of them use the agentslot approach.
Open transaction SM30, and input GRFNAGENTSLOTCV into view and click Display.
This is custom documentation. For more information, please visit SAP Help Portal. 39
5/19/25, 5:49 AM
From the Business Event Name, it shows this is for “perform assessment“.
From the Subentity, see also below F4 help, it shows it is for “Subprocess Design Assessment“.
From Role, it shows the role “cross subprocess owner“ will receive the task.
So, in one word, “cross subprocess owner“ will receive the task of “perform subprocess design assessment“.
Because authorization engine is able to clumb the master data tree to find recipient until getting one. So it is possible that a role in
high level received the task on a lower level object. For example, we can assign subprocess owner to perform control design
assessment.
Based above chapter, we obtain which role will perform the task. Then we should check whether the role assignment is wrong. The
normal problems:
If no recepient obtain, and fallback receiver is configurated. The workflow will goto fallback receiver’s inbox, so that someone is
aware about these tasks.
This is custom documentation. For more information, please visit SAP Help Portal. 40
5/19/25, 5:49 AM
Under IMG Workflow folder, find Maintain Fallback Receiver activity.
This is custom documentation. For more information, please visit SAP Help Portal. 41
5/19/25, 5:49 AM
We may meet the issue that no recipient of the task, and fallback recever isn’t setup. Then the workflow will go into Error status.
System admin could use transacation SWPR to find out them.
Input the created date and time. And click execute or F8.
At last, choose the entry and click Restart workflow, to restart the workflow.
Related Content
Related Documents
Related Notes
1621649 - Workflow Initial configuration
Purpose
The purpose of this page is to clarify the understanding of the system logic and requirements in relation to the program
GRFN_GET_AGENTS.
This is custom documentation. For more information, please visit SAP Help Portal. 42
5/19/25, 5:49 AM
Overview
The program GRFN_GET_AGENTS is used to track the correct agent without the need of scheduling workflows. You can keep track
of the objects retrieved when an agent is found. Also, you can find the reason why the agents were not found in a specific scenario.
Creation of dummy data is avoided.
4. Agent Slot: the agent slot must be filled out according to the business event scheduled (e.g. Control test of effectiveness);
This is custom documentation. For more information, please visit SAP Help Portal. 43
5/19/25, 5:49 AM
Detailed explanation of the fields
Date
The date that will be checked in table HRP1852 (User role assignments table);
Regulation ID
The end user must know whether the workflows are capturing cross regulation roles, Risk management roles, Process Control
roles or regulation specific roles by choosing a regulation ID.
This configuration is defined in the following screen (SPRO -> Maintain Entity Role Assignment). The roles will be retrieved
according to the application column.
IF_GRFN_API_REGULATION
Object ID
This field must be typed using the correct structure. In this field, the information must be entered using format entity/object ID.
Example:
Local Subprocess SUBPROCESS/50000809 (where 50000809 is the ID of the object in my system). Although the process is
quite simple, there are some objects that need a different structure. Check them in the list below. I will use the same object
This is custom documentation. For more information, please visit SAP Help Portal. 44
5/19/25, 5:49 AM
(50000809) as the example.
For Controls:
Case Types
Any case types (G_TL, G_IS, G_AI, etc) 005056BC279E1ED58CF6D2E0800D5626 (unique ID composed by 32 char)
Agent Slot
Check the following link to know what to use to test your workflow.
Agents Routes
Purpose
The purpose of this page is to clarify the understanding of the agents routes when scheduling a workflow in Process Control
Application.
Overview
When scheduling a workflow in Process Control, system follows a set of rules. A preset business event will be called depending
on the task scheduled. Refer to the tasks in the list below to find the business events called.
List of tasks:
Testings
This is custom documentation. For more information, please visit SAP Help Portal. 45
5/19/25, 5:49 AM
ReworkingIG003 0PC_PERF_TESTING
Compliance Testing
Assessments
This is custom documentation. For more information, please visit SAP Help Portal. 46
5/19/25, 5:49 AM
Self-Assessment
Risk Assessment
This is custom documentation. For more information, please visit SAP Help Portal. 47
5/19/25, 5:49 AM
Issues
CO 0PC_RECE_ISSUE
MO 0PC_RECE_ISSUE
CAPA details:
Purpose
The purpose of this page is to provide examples about how to use program GRFN_GET_AGENTS.
Overview
How to analyze whether the correct agent is receiving the workflow? There are three ways of testing the agents via
GRFN_GET_AGENTS:
This is custom documentation. For more information, please visit SAP Help Portal. 48
5/19/25, 5:49 AM
In this example, the workflow is with status error.
One solution is to go to the container tab and check the object IDs of the task.
1. 01
2. O
3. 50002253
4. 01
5. P2
6. 50002271
This is custom documentation. For more information, please visit SAP Help Portal. 49
5/19/25, 5:49 AM
Remove the 01 and the organization ID appears (O 50002253). Afterwards, the local control object appears (P2 50002271).
Based on this string, we have the local control object ID to use in GRFN_GET_AGENTS program.
Use the Agents wiki to find the correct agent slot for your workflow.
Results:
One good way to find whether the problem is the configuration or the workflow itself is to assign a fallback receiver. If the fallback
receiver receives the task, the problem is with the agents configuration.
If the program is run again, the results are different, meaning that the problem is with the agents configuration.
This is custom documentation. For more information, please visit SAP Help Portal. 50
5/19/25, 5:49 AM
By assigning an agent to the object + defining the agent slot correctly, we have different results without even the need of executing
the workflow again.
This is custom documentation. For more information, please visit SAP Help Portal. 51