Setting up Configuration for Workflows

Objective

After completing this lesson, you will be able to determine the specific apps and roles necessary to define workflows in sourcing and procurement

Configurations for Flexible Workflow

Configurations Required for Defining Flexible Workflows

There are several optional and mandatory configuration steps for flexible workflows. These configurations are used when defining the workflows.

The following table shows some of the roles and apps required for the settings used in flexible workflows.

Flexible Workflow Configuration in a Nutshell

WhoRoleApp
Users who activate or deactivate flexible workflow for procurement documentsConfiguration Expert - Business Process Configuration (SAP_BR_BPC_EXPERT)Configuration apps using Manage Your Solution or Central Business Configuration
Users who make the settings so that predefined roles can be assigned as approversAdministrator (SAP_BR_ADMINISTRATOR)Manage Workforce
Business Process Specialist (SAP_BR_BUSINESS_PROCESS_SPEC)Manage Teams and Responsibilities
Cost Accountant - Overhead (SAP_BR_OVERHEAD_ACCOUNTANT)Manage Cost Centers
Project Manager - Commercial Services (SAP_BR_PROJ_MANAGE_COMM)Plan Customer Projects or Plan Internal Projects
Users who define your own rules for recipient determination and your own preconditions for workflowsAdministrator (SAP_BR_ADMINISTRATOR)Custom Logic App
Users who configure the sending of e-mail notificationsAdministrator (SAP_BR_ADMINISTRATOR)Maintain Email Templates

Activation Using Configuration Apps

Watch the following video to learn about some of the essential configurations required for defining workflows in sourcing and procurement.

Activate Flexible Workflows for Procurement Documents

In your configuration environment, the flexible workflow must be activated for the document type that you want to define the workflow. It is, by default, active for some of the standard document types; for instance, for purchase orders, the document type NB (standard purchase order) is active by default. You can change the settings using the configuration app for the corresponding business object Activate Flexible Workflow for Business Object in SAP S/4HANA Cloud system using Manage your Solution or SAP Central Business Configuration, depending on how your system is managed.

Activate Flexible Workflow for the corresponding business object using Activate Flexible Workflow for Business Object configuration apps

To change the settings in your configuration environment, use the search function to open the activity.

After starting the configuration app for the corresponding object Activate Flexible Workflow for <Business Object>, you can activate the business object/document by selecting the check box for the line item of the business object.

Activate Inquiry Workflow for Purchase Orders

In the step definition of a workflow, you can define the workflow step type as Release of Reworkable Purchase Order so that the approvers can request a rework of the document in the My Inbox app. The document is then returned to the creator. To use the workflow step type Release of Reworkable Purchase Order, you need to activate this in your system using the configuration app Activate Inquiry Workflow for Purchase Orders. Otherwise, it will not be available for selection as step type in the Manage Workflows for Purchase Orders app.

Activate Rework of Purchase Orders using the Activate Inquiry Workflow for Purchase Orders configuration app

Note

Once you turn on this switch in your system, you cannot switch it off again.

Settings for Assigning Predefined Roles as Approvers

Watch the following video to learn some of the required settings for assigning predefined roles as approvers in flexible workflows.

Manage Workforce

Using the Manage Workforce app, you can create and update workers (employees and contingent workers), including work agreements, and change employment situations. Using this app, you can import the available template from the system and import the employee data in CSV format.

Manage Workforce app is used for defining the relationships between managers and employees

When defining the recipients for a workflow step in Manage Workflows for <Object> apps, you can select several agent determination rules when you use the role assignment, for example:

  • Manager of Workflow Initiator

  • Manager of Workflow Initiator's Manager

  • Manager of Last Approver

To ensure these rules work, you must define the relationships between managers and employees. When importing employees into your system, you can also import the relationships of managers and employees. This is not required if you use roles, such as Creator of Purchase Order or Accounting Object Responsible, as recipients in the corresponding workflow app.

Manage Teams and Responsibilities - Procurement

Using the Manage Teams and Responsibilities - Procurement app, you can manage teams or team members associated with specific functions. You can define teams along with tasks and functions.

When specifying the recipients for a workflow step in the app Manage Workflows for <Business Object>, you can use teams created using responsibility management. For example, you can use teams with the following team categories and functions:

  • Team category: Procurement (PROC)

  • Team Member - Functions:

    • Strategic Purchasing

    • Operational Purchasing

    • Workflow Administration

Using Manage Teams and Responsibilities - Procurement app, you can define responsible teams with specific tasks and functions

If required, you can create your own team functions and hide the standard functions.

In Responsibility Management, a team member is a business user (business partner associated with an SAP user) with one of these roles:

  • Employee (BUP003)
  • Service Provider (BBP005)
  • Freelancer (BBP010)

The Status of a business partner should not be:

  • Blocked
  • Marked for Archiving
  • Business Purpose Completed

Watch the following video to learn how to create and use teams in purchase requisition approval workflows.

Manage Teams and Responsibilities

When defining the recipients for a workflow step, you can select persons responsible for specific cost centers. To assign the responsible approver as the cost center responsible, the setting User Responsible must be maintained for the cost center. You can assign the role of cost center responsible, for instance, for the scenarios Workflow for Purchase Order, Workflow for Blocked Invoice, and Workflow for Parked Invoice as Complete.

Using the Manage Cost Center app you can display or define the cost center responsible

Using the Manage Cost Centers app, you can create and edit master data of cost centers. Using this app, you can define or display the person responsible for a cost center who can be assigned as an approver in the defined workflow. In the app Manage Cost Centers, the user ID of the person responsible for a cost center is entered as the value for User Responsible.

Define Persons Responsible for Projects, Internal Orders, and Profit Centers

You maintain the person responsible for projects to assign the responsible as an approver. In apps for projects, for example, the apps Create Internal Projects, Plan Internal Projects , and Plan Customer Projects, the person responsible is entered in the field Project Manager , who can then be assigned as approvers.

Project Manager, as the person responsible for the project, can be assigned as an approver in flexible workflows

In the app Manage Internal Orders, the user ID of the person responsible is entered in the field Person Responsible for the responsible of the accounting objects Internal order and Profit center so that can be assigned as approvers.

Define Your Own Rules

Watch the following video to learn how to define your own rules in flexible workflows.

You can use the Custom Logic app to create your implementations and define your own rules for recipient determination and your own preconditions for workflows.

Use the Custom Logic app to create implementations for defining your own rules for recipient determination and preconditions

Configure Sending E-mail Notifications

Watch the following video to learn some of the configurations required for sending e-mail notifications.

Copy E-Mail Templates using Maintain Email Templates app

Using the Maintain Email Templates app, you can configure the system so that approvers receive e-mail notifications when a work item is created. You can also configure the system so that requestors receive e-mail notifications when the task is approved or rejected or approvers are notified when the deadline is reached.

Templates consist of fixed content, such as subject or disclaimer, and variable parts, such as the form of address. You can create your custom template as a copy of pre-delivered templates. You need the Administrator role to use this Maintain Email Templates app.

For the Notification Tab to be visible for the workflow scenario, you must copy specific templates. For instance, for Manage Workflows for Purchase Orders, you must copy the template MMPUR_PO_WFL_APPROVAL_EMAIL for purchase order approvals. Once you have copied the e-mail template, the Notification Tab will be visible on the workflow scenario. See SAP Note ​https://userapps.support.sap.com/sap/support/knowledge/en/3304179.

You must configure the system's e-mail setup to send emails in the workflow process. The minimum requirement is configuring the default system e-mail address to send emails using this e-mail. You can check the solution process Output Management (1LQ) for the complete setup. Setup Guide and Test Script: Process Navigator - SAP for Me

Configure default system e-mail address using the configuration app for sending e-mails

For the e-mail notification, the e-mail of the recipient (business user) must be maintained. You can display the business user's e-mail using the Manage Workforce app.

Maintain the e-mail address of the recipient using the Manage Workforce app

Log in to track your progress & complete quizzes