Managing the Approval Process Using Workflows

Objectives

After completing this lesson, you will be able to:
  • Submit a quote for approval in SAP CPQ.
  • Describe quote statuses.
  • Define actions in certain statuses.

The Approval Process in SAP CPQ

There are several reasons to require approval for a quote. Some examples include the following:

  • The discount is higher than allowed.
  • The total amount is higher than allowed.
  • A rule set by the company has been violated.

Hint

Some operations could vary for different users depending on the way SAP CPQ is configured.

No matter the reason for requiring an approval, the process of submitting a quote is always the same.

The figure displays the information when submitting a quote for approval.

Once a product is configured and added to a quote, the discount and total price for products can be modified.

If the resulting discount is higher than the range allowed by business rules and if approval rule is set to be triggered on discount violation, the quote will require approval.

If the discount amount entered is higher than the allowed range, the quote will also require approval.

Discounts are calculated when the quote is saved. If a discount violates a rule, the Discount Percent field displays in red and the place order and checkout actions become unavailable. Users can hover over the red text to determine the rule that was violated. At the bottom of the cart, a table displays the products and the applied discounts. What's more, users can update the discount by selecting the percentage field.

After selecting the Request Approval button, the user is given the option to add comments for each violation and submit the quote for approval. Once submitted for approval, the quote's status changes, and e-mail notifications are sent to the approvers alerting them that action is required.

Quote Resolution

Once a quote is submitted for approval, it displays on the Quotes page of the approval parent (approver) under Waiting for Approval. The approver can act on the quote by approving or rejecting the request with comments. The comments are displayed under the Approval History action located in Actions on the Quotes screen.

Step 1 of 2 of organizing the workflow.

Organizing the workflow to configure the approval process includes the following tasks:

  • Defining each status where a quote may reside.
  • Defining which actions are available when the quote has a given status.

Modeling the workflow is the most important process of the implementation. Administrators can account for every status and action of their business process.

A workflow must be configured for the three visibility tabs:

  • My Quotes
  • Waiting for Approval
  • Other Quotes
Step 2 of 2 of organizing the workflow.

As the quote moves through different statuses, the number of actions available is reduced. The users aren't able to edit the quote after it has been approved.

Hint

Transitional actions move a quote from one status to the next. Non-transitional actions don't change statuses.

Typically, there's one transitional action for each status. For example, there's one action that moves the quote to the approved status. There are several non-transitional actions, such as viewing a quote, attaching a comment, or downloading documents.

Quote Status

An ilustration outlining the statuses of quotes: Open, Waiting for Approval, Approved, and Quoted.

A quote can reside in many different statuses throughout its lifespan. All quotes begin in a default status. Generally, the default status is called Preparing or Open.

Any status can be set as the default status, but there can't be two default statuses. Based on certain actions performed, the administrator may have named the quote to change its status.

The diagram above represents an example of a workflow with the statuses Open, Waiting for Approval, Approved, and Quoted. SAP CPQ is preloaded with various commonly used statuses. You can add additional statuses to the workflow.

Status Actions

The figure displays

After creating a new status, the actions of that status must be defined. There are three states under Workflow Actions. Each state has a tab on the Load Existing Project/Quotation page. The tabs include the following:

My Quotes

The My Quotes tab is available to all users and displays the quotes that the current logged-in user created. This option is the most robust workflow because it enables users to interact with their quotes.

Waiting for Approval

The Waiting for Approval tab contains quotes for currently logged-in users who are approval parents. Being an approval parent means that they approve or reject quotes for other users. This option could be configured so that the approval parent can:

  • Approve the quote
  • Reject the quote
  • Forward the quote

Hint

Forwarding a quote is typically used to send the quote to another Approval Parent. This is applicable in cases where the value of the quote is higher than the allowed approval amount.

Other Quotes

The Other Quotes tab contains quotes that can be viewed by users with visibility rights. Visibility rules are configured in the SetupQuotesQuote Visibility section.

The figure displayed the Table view and the LIst view for workflow actions.
Table View

The default view of the Workflow Actions workspace is the Table View. The Table View displays the workflow in a table or grid pattern. The table view is efficient for defining workflow actions because it offers fewer mouse clicks and displays all the actions on one screen.

The left side of the table represents start statuses. The top of the table represents end statuses. The list of actions within the intersecting areas specify the actions that prompt a quote. You can view the list by selecting the arrow within the cell. To close the list of actions, select the arrow again.

List View

Alternatively, you can view the workflow as a list by selecting Switch to: List View. List view provides users with a list of Start and End Statuses. The List view also displays the tabs, Action Name, Condition, Pre Action, Post Action, and associated notifications. The List view is useful for determining which actions define conditions, notifications, pre actions, and post actions. It also allows you to copy, delete, edit, and search for workflow events.

Discount Approvals

When quotes are submitted for approval, there could be conditional rules that specify which specific approval parents are required for the quote's approval. Quotes can be approved by one or multiple parents. Specifications of one or all parents can be created for quote approvals.

Next, let's follow some exercises for creating a workflow status and actions, define discounts and approvals, and creating an approval rule using CTX tags.

Create a Workflow Status and Define Actions

Business Scenario

Supertech is ready to set up its workflow. They'll begin by defining a new workflow status to supplement out-of-the-box statuses like Awaiting Approval, Approved, and Rejected.

Task Flow

In this exercise, you’ll learn how to:

  • Create a workflow status.
  • Define the actions for a workflow.
  • Send approval notification emails.

Exercise Options

To carry out the three tasks of this exercise, you can choose the following option: Platform Simulation: Watch the step-by-step instructions within the simulation.

To start the simulations, choose Start Exercise in the figures below.

Task 1: Create a Workflow Status

Task 2: Define the Actions for a Workflow

Now that Supertech has added the status, Request Support, they need to define the actions that will drive the workflow from one status to another.

Task 3: Send Approval Notification E-mails

Some of the transitions that Supertech has added to its workflow require notification to the affected party. For simplicity’s sake, we'll configure only two notification e-mails: one notifying the approver that a quote is pending their approval, and the other notifying the user that their quote was approved.

Create and Define Discounts and Approvals

Business Scenario

Supertech sales representatives have the authority to provide customers with up to a 20% discount. Any discounts over20% must be approved. They're ready to put the approval process in place to ensure that quotes are sufficiently approved when the discount is exceeded.

Task Flow

In this exercise, you’ll learn how to create an approval rule and then submit and approve a discount.

Exercise Options

To carry out this exercise, you can choose the following option: Platform Simulation: Watch the step-by-step instructions within the simulation.

To start the simulation, choose Start Exercise in the figure below.

Create an Approval Rule With CTX Tags

Business Scenario

Supertech sales representatives are allowed to change a quote’s expiration date within certain boundaries. We want quotes created by these users to require approval when their expiration date is set to be more than 90 days after their creation date.

Task Flow

In this exercise, you will learn to create an approval rule using CTX tags.

Exercise Options

To carry out this exercise, you can choose the following option: Platform Simulation: Watch the step-by-step instructions within the simulation.

To start the simulation, choose Start Exercise in the figure below.