Professional Documents
Culture Documents
Sales Order Workflow
Sales Order Workflow
Sales Order Workflow
2
Business Example
Prerequisites:
• The BAdI has been implemented and the authorizations are set by the
Administrator.
• The teams and responsibilities have been defined by the Business
Process Specialist.
• The workflow has been defined by the Configuration Expert.
Several sales documents are supported in the Fiori application Manage Sales Document Workflows. The
sales document Sales Order is used as example in this document.
3
Settings relevant to approval management
• Approval request reasons and assignment to sales document categories
• Approval relevance using BadI implementation
• Authorizations for the Fiori My Inbox
• Teams & Responsibilities
• Sales Document Workflows
4
Manage Sales Document Workflows
In the Manage Sales Document Workflows Fiori application, you can define four different workflows.
5
Mandatory and Optional settings
Determine if Sales
Define Reasons for Assign Reasons for
Documents are
Approval Requests Approval Requests
relevant to Approval
Define Function
Define Functions
Profiles
6
Mandatory: Performed by Administrator (Client 100)
This is the only IMG configuration that is mandatory from the functional point of view. You will have to define
and assign Reasons for Approval Requests so the system will trigger a Workflow. If these Reasons are not
assigned to a Sales Document, then the workflow will not work. You can create as many reasons as you
require, and these reasons can be assigned to different Document Categories (i.e. Sales Order, Quotation and
Credit Memo Request)
Follow this IMG path to define your Reasons for Approval Request:
IMG: Sales and Distribution > Sales > Sales Documents > Sales Document Approvals > Define Reasons for
Approval Requests
7
Mandatory: Performed by Administrator (Client 100)
This one is more of Workflow Description
troubleshooting. Be
WS02000006 Workflow for Sales Orders
aware that the Flexible
Workflow relies on the WS02000029 Workflow for Credit Memo Requests
standard workflow WS02000447 Workflow for Sales Quotation
scenarios. You may
need help from Basis
and SAP Fiori experts Tcode: SWDD
to check missing
customizing and
settings.
These are the standard
workflows you should
worry about when using
the Flexible workflow
functionality in Sales for
SAP S/4HANA 1909.
8
Mandatory: Performed by Administrator (Client 100)
Some customizing settings need to be checked. Again, if you installed Best Practices for the latest SAP
S/4HANA release, all these customizing should be already in place.
First, make sure that make the scenario for the specific flexible Workflow is active.
IMG: SAP NetWeaver > Application Server > Business Management > SAP Business Workflow > Flexible
Workflow > Scenario Activation
Sales Order
Sales Quotation
9
Mandatory: Performed by Administrator (Client 100)
Then, make sure that all the Tasks Names and Decision Options are maintained so they are not filtered on My
Inbox App.
IMG: SAP NetWeaver > SAP Gateway Service Enablement > Content > Workflow Settings > Maintain Task
Names and Decision Options
10
Mandatory: Performed by Administrator (Client 100)
11
Prerequisite for Custom Fields and Logic
You can work with your Basis Expert and Fiori Consultant Expert to create a new Z-role through transaction
PFCG to include the SAP Fiori Tile Catalog SAP_BASIS_BC_EXT for activation Custom Fields and Logic in
Fiori Apps.
12
Mandatory: Performed by Administrator (Client 100)
13
Mandatory: Performed by Administrator (Client 100)
14
Mandatory: Performed by Administrator (Client 100)
15
Optional: Performed by Administrator (Client 100)
16
Optional: Performed by Administrator (Client 100)
17
Prerequisite for Roles, Teams and Business Partner
Most of the apps required are already part of standard roles you can find on your SAP S/4HANA system. The
first two roles in the following table have been used to set up this scenario. The latter two were used to
perform the scenario in which the Sales Flexible Workflow is used. You can easily add the roles to your user
in a Development environment for initial testing, and then define the specific roles and users that will require
the apps and permissions that will be used effectively in a Quality and Production environment.
Role Description
SAP_BR_BPC_EXPERT Configuration Expert – Business Process
Configuration
SAP_BR_BUSINESS_PROCESS_S Business Process Specialist
PEC
SAP_BR_INTERNAL_SALES_REP Internal Sales Representative
18
Prerequisite for Roles, Teams and Business Partner
19
Prerequisite for Roles, Teams and Business Partner
Users that are going to be used as approvers on the Manage Teams and Responsibilities App require to be
created both as an employee (Person Number) and a Business Partner. Also, the Business Partner needs to
be created linked to the employee, so the correct role is created in its Master Data. Steps described in the
below should be enough to do this. In the end, the Business Partner should have the correct BP role as in
the following image.
Basic HCM configurations that needs to be in place for creating employee (Please Contact your HCM
Consultant) :
1.Enterprise Structure
2.Personnel Structure
3.Infotype Configuration (HCM Mini Master)
• Infotype 0000 – Actions
• Infotype 0001 – Organization assignment
• Infotype 0002 – Personal data
• Infotype 0006 – Address
• Infotype 0009 – Bank details
• Infotype 0105 – Communication
20
How to create Employee using Transaction Code PA30
https://blogs.sap.com/2018/03/12/how-to-
create-employee-in-s4hana-for-customer-
management/
21
How to create synchronize Employee Master Data and Business Partner
Run Report /SHCM/RH_SYNC_BUPA_EMPL_SINGLE from SE38
22
How to check log synchronize Employee Master Data and Business Partner
Execute tcode SLG1
Object SHCM_EE_INTEGRATION
Subobject BUPA_SYNC
For reference please
follow SAP Notes below :
https://launchpad.supp
ort.sap.com/#/notes/255
3518
23
Tcode: BP
Tcode: PA30
Tcode: PA30
24
Sales Man1:
Daniel Suganda
Sales Supervisor1:
Gregor Mack
Sales Manager:
Jaya Baya
25
26
27
28
Mandatory: Performed by Configuration Expert (Client 110)
Define the workflow for a sales document. For example, you can pick Workflow for Sales Orders to define
workflows for sales orders and Workflow for Sales Quotation to define workflows for sales quotations.
29
Mandatory: Performed by Configuration Expert (Client 110)
Define the preconditions at workflow and step levels. Several precondition attributes can be used to refine
your workflow and steps. For example, you can use the Order Type at workflow level and the Total Value at
step level.
30
Mandatory: Performed by Configuration Expert (Client 110)
31
Mandatory: Performed by Configuration Expert (Client 110)
Activate and define the order for all workflows that should be considered by the workflow process.
32
Mandatory: Performed by Business Process Specialist (Client 110)
33
Mandatory: Performed by Business Process Specialist (Client 110)
34
Optional: Performed by Administrator (Client 100)
Define the authorizations for the My Inbox. This step is strongly recommended if you want to give the
authorization to approve sales document workflows solely to the approver.
35
Approval Process
36
Sales Document Workflow Processing – Sales Supervisor
Prerequisite: The Internal Sales Representative creates a sales quotation with net value under IDR 50
million relevant for approval to trigger the workflow process.
37
Sales Document Workflow Processing – Sales Supervisor
38
Sales Document Workflow Processing – Sales Supervisor
When the Sales When the Sales Supervisor When the Sales Supervisor
Supervisor releases the asks that the sales document rejects the sales document,
sales document, the be reworked, the sales the workflow sets the
approval status is set to document is sent back to the approval status to Rejected,
Released and the sales Internal Sales Representative. and ends the process.
document process
continues normally. The Sales Manager should
leave a comment to explain
their decision.
39
Sales Document Workflow Processing – Sales Supervisor
Prerequisite: The Internal Sales Representative creates a sales quotation with net value over IDR 50 million
relevant for approval to trigger the workflow process.
40
Sales Document Workflow Processing – Sales Supervisor
41
Sales Document Workflow Processing – Sales Supervisor
When the Sales When the Sales Supervisor When the Sales Supervisor
Supervisor releases the asks that the sales document rejects the sales document,
sales document, the be reworked, the sales the workflow sets the
approval status still set to document is sent back to the approval status to Rejected,
In Approval and need Internal Sales Representative. and ends the process.
approval from Sales
Manager to set status to The Sales Manager should
Released. leave a comment to explain
their decision.
42
Sales Document Workflow Processing – Sales Manager
43
Sales Document Workflow Processing – Sales Manager
When the Sales When the Sales Manager asks When the Sales Manager
Manager releases the that the sales document be rejects the sales document,
sales document, the reworked, the sales document the workflow sets the
approval status is set to is sent back to the Internal approval status to Rejected,
Released and the sales Sales Representative. and ends the process.
document process
continues normally. The Sales Manager should
leave a comment to explain
their decision.
44
Sales Document Workflow Processing – Internal Sales Representative
45
Sales Document Workflow Processing – Internal Sales Representative
46
Sales Document Workflow Processing – Internal Sales Representative
47
Sales Document Workflow Processing – Internal Sales Representative
48
Sales Document Workflow Processing – Internal Sales Representative
The Internal Sales Representative can use the Withdraw option of a Sales Document pending for approval.
49
Sales Document Workflow Processing – Reject Sales Document
50
Sales Document Workflow Processing – Reject Sales Document
51
Sales Document Workflow Processing – Internal Sales Representative
Prerequisite: The Internal Sales Representative creates a sales sales order with net value over IDR 50
million relevant for approval to trigger the workflow process.
52
Sales Document Workflow Processing – Sales Supervisor
53
Sales Document Workflow Processing – Sales Supervisor
When the Sales When the Sales Supervisor When the Sales Supervisor
Supervisor Release the Reject the sales document, asks that the sales document
sales document, the the workflow sets the be Request Rework, the sales
approval status still set to approval status to Rejected, document is sent back to the
In Approval and need and ends the process. Internal Sales Representative.
approval from Sales
Manager to set status to The Sales Manager should
Released. leave a comment to explain
their decision. 54
Sales Document Workflow Processing – Sales Manager
Sales documents pending approval are visible in the Sales Manager’s My Inbox.
55
Sales Document Workflow Processing – Sales Manager
When the Sales When the Sales Manager When the Sales Manager asks that the
Manager Release the Rejects the sales sales document be Request Rework,
sales document, the document, the workflow the sales document is sent back to the
approval status is set to sets the approval status to Internal Sales Representative.
Released and the sales Rejected, and ends the
document process process. The Sales Manager should leave a
continues normally. comment to explain their decision.
56
Summary
57
Reference
1. https://support.sap.com/content/dam/productfeatures/assets/00026/005056821C321ED9A5CFBDAC08E2
610C/presentations/EKT_Manage_Sales_Document_Workflows_OP_1909.pdf
2. https://blogs.sap.com/2020/07/17/flexible-workflow-in-sales-documents/
3. https://help.sap.com/viewer/7b24a64d9d0941bda1afa753263d9e39/1909.001/en-
US/82db0a77a4ee48cda01f873d5a416bd2.html
4. https://help.sap.com/viewer/7b24a64d9d0941bda1afa753263d9e39/1909.002/en-
US/5a5f3f686c06490893a588c99b36adca.html
5. https://help.sap.com/viewer/7b24a64d9d0941bda1afa753263d9e39/1909.002/en-
US/d457e9e16faa4608be4e2b89a558dfeb.html
58
Thank you.
Name : Frederikus Dwiputra P.
Email Address : frederikus.dp@gmail.com
Contact Number : +62812 1800 6612