Flexible Workflow For Purchase Order - SAP Community
Flexible Workflow For Purchase Order - SAP Community
m
m
Products and Technology Groups Partners Topics Events What's New Get Started Explore SAP
u
ni
t
y
SAP Community Products and Technology Enterprise Resource Planning ERP Blogs by Members Flexible workflow for purchase order
@sapcommunity 1
33 Kudos 80,509
A_PurchaseOrderItem additional… 1
SAP Managed Tags: SAP Fiori, MM (Materials Management), MM Purchasing,
ABAP 5 abap cds 1
SAP Business Workflow
ABAP CDS VIEW 2
ABAP Development 2
This blog is about our experience with Customization of flexible workflow for
ABAP Extensibility 1
Purchase Orders, the issue we faced and the resolutions for the same. The below
information can also be used as a reference for the configuration of flexible workflow ABAP Programming 1 abapGit 1
for other scenarios. ACCOSTRATE 1 ACDOCP 1
Now Let’s start with the step-by-step Journey! Application Development for SAP… 1
1. Open the Manage Workflow for Purchase Orders. The application is blank with ARM 1 Artificial Intelligence (AI) 1
the message “There are currently no scenarios available”.
ASN 1 ASSET MANAGEMENT 1
Assigned budget 1
Associations in CDS 1
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 2/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
2. Go to the following the path in SPRO: SAPNETWEAVER--> Application Server -- Attachment List 1 auditlog 1
> Business Management --> SAP Business Workflow --> Flexible Workflow -->
authorization 1
Scenario Activation
Auto PO from GR 1
3. Maintain new entry for WS00800238 and set it as active Availability date 1
AzureSentinel 2 BADI 1
Bank 1
BAPI_SALESORDER_CREATEFR… 1
2. SWFFLEXSCN -> Scenario Id (for example, WS00800157) Business Partner Master Data 1
Business Processes 2
3. ACTVT -> At least you will need to have authorization to display (03)
Business Trends 1
Business Trends 1
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 3/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
Charge calculation 1
Cloud Integration 1
COGS SPLIT 1
Commitment Cost 1
Condition Records 1
Condition technique 1
Controlling 1 COPA 1
Copy Control 1
7. Enter Workflow Name, Description, Valid From, Valid To. Enter the Start Copy Inspection Results 1
Condition for the workflow. cost distribution TM 1
CRM_PRICING_CUSTOMER_USE… 1
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 4/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
desafios4hana 1
Related Content
Stop requirement transfer when
sales order is in approval
in Enterprise Resource Planning Blogs by
8. To add the Step sequence click the add button in the Step Sequence Section. SAP 4 hours ago
In the New Step page, Enter the Step Name and Step Type as Release of
SAP MM Questionnaire
Purchase Order
in Enterprise Resource Planning Blogs by
Members Friday
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 5/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
9. For Recipients Select User for Assignment By. For the user field, select a user
from the Search help.
Popular Blog Posts
10. If the search help return no data follow the below steps
1. Activate HR Integration --> Goto SM30 --> Maintain table T77S0 -->
search for entry group: HRALX, sem.abbr.: HRAC and set the value
abbreviation value to X
former_member213836
Active Participant
former_member182098
Active Contributor
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 6/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
former_member183424
Active Contributor
12. No change is needed for Deadlines or Exception Handling, click the Add Button aditya_sibal_sap 2
to Add the above step to the workflow.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 7/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
14. Repeat Steps 8-9-11-12 to add additional steps to the workflow. Click the
arafatajmal 2
Activate Button for the workflow to be activated.
Raja_S_Reddy_B 2
nipunr 2
15. Click the Define Order button to ensure that the workflow gets triggered if the
Start conditions are met.
former_member18
4574 2
SOZE73 2
Ruthvik_Chowdary 2
View all
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 8/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
17. create a Purchase order in the Manage Purchase order application. We can see
the Approval Details for the Purchase Order in the Approval Details tab.
18. Open the My Inbox application for If the relevant task is not visible do the
below steps
19. In SPRO goto Materials Management --> Purchasing --> Purchase Order -->
Flexible Workflow for Purchase Orders --> Activate Flexible workflow for
Purchase Orders
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 9/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
20. goto SAP Gateway Service Enablement --> Content --> Workflow Settings -->
Maintain Task Names and Decision Options
2. Select the above entry and click on Decision Keys and maintain the two
Decision keys as below
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 10/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
21. Assign Agents and Activate Event Linkages for Workflow ID WS 00800238 and
TS 00800531
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 11/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 12/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
5. Once done the task will be visible in the My Inbox application, but still,
there is no mail received by the recipient.
22. Now let’s set up the Email transmission. The prerequisite to set up the Email
is as below:
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 13/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
23. Open the Maintain Email Template application. In the pre-delivered section find
the template SWF_CRT_NOTIFY_RECIPIENTS.
24. Copy the above-mentioned template for each of the workflow scenarios. e.g.
YY1_00800238_CRT_ALL for PO. This workflow template will be triggered to
notify the recipients of the newly created PO, or whenever there is a PO task for
approval.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 14/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
26. Test again by creating a PO. If the mail is still not getting triggered Report
RSWF_OUTPUT_MANAGEMENT needs to be executed manually with
parameter productive in order to release the emails manually
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 15/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
With this, we conclude the configuration required for Flexible Workflow for Purchase
Order including the email trigger functionality. Please do share in the comments if
there are issues apart from the ones mentioned in the blog.
Tags:
13 Comments
former_member498483
Member 2020 Nov 22 1:50 PM
1 Kudo
M_Abdelaziz
Participant 2020 Dec 08 9:59 AM
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 16/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
0 Kudos
I have question regarding the email sending , where can i change the sender email ?
as it's uses the SAP_WFRT user and i want to send it from another email ?
rohit_dutta2
Explorer 2021 Apr 27 7:38 PM
1 Kudo
It's great, clear each and every steps. Thank you for this information.
I have a question regarding deadline monitor for PO. Is there any option to sent
reminder mail if approval is not approving after certain time. Why because, I can't see
that option in Fiori app.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 17/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
Regards,
Rohit
kunju1991
Participant 2021 Apr 28 11:52 AM
0 Kudos
Please check the link Deadline handling in Flexible Workflows. May be helpful to you.
If you find a better solution do let us know too.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 18/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
former_member317107
Discoverer 2021 Jun 30 2:56 PM
0 Kudos
hi kunjshukla
mbaconsky
Explorer 2021 Oct 01 7:48 PM
0 Kudos
Hi! Thanks for the info! I have one question: is possible to create a flexible workflow
to trigger a notification/mail to the user who created the purchase requistion when the
goods recepit is confirmed? Thank you
former_member767988
Explorer 2021 Oct 08 1:26 AM
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 19/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
0 Kudos
Hi ,
Thanks,
Subha
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 20/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
Venkatakrishnan
Participant 2021 Nov 09 5:30 PM
1 Kudo
Hi kunjshukla
Thanks
Venkatakrishnan Subramani
former_member764281
Explorer 2022 Mar 25 9:43 AM
0 Kudos
it depends from the action reslut you set up for the rejection.
If you set up as "Cancel workflow" it should work, the constraind it should be the PR
cannot be anymore changed and so you need to create a new one.
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 21/22
10/16/24, 5:08 PM Flexible workflow for purchase order - SAP Community
BR.
Bruno
former_member837377
Privacy 2023 Jan 16 2:42 PM Terms of Use
Member
Cookie Preferences
Follow
former_member542334
Participant 2023 Feb 07 3:25 AM
https://community.sap.com/t5/enterprise-resource-planning-blogs-by-members/flexible-workflow-for-purchase-order/ba-p/13468957 22/22