SlideShare a Scribd company logo
1 of 53
Click to edit Master title style
Developing
Purchase Order Workflow in SAP
with Arghadip Kar
SAP Workflow Expert
Click to edit Master title styleMeet your Instructor
Arghadip Kar
Currently an SAP ABAP Architect in the energy
industry – I work developing new reusable tools to
help business with SAP features used in everyday
work activities. Developing programs where
production monitoring is minimal and optimizing
ABAP coding to add flexibility across SAP modules.
Previously worked at IBM Global Services as an SAP
ABAP Workflow/Open Text Consultant.
Click to edit Master title styleLink to Tutorial
• https://www.michaelmanagement.com/sap-training-
course/developing-purchase-order-workflow-in-sap
Click to edit Master title styleAgenda
• Understanding SAP Workflow Development for Purchase Order
Process
• How to use transaction codes for SAP Workflow Development
• Programming in Business Objects for Workflow
• Using Workflow Builder to build a Workflow Template
Click to edit Master title styleIntroduction
What is SAP Workflow?
• Tool available inside SAP ECC 6.0 and SAP S/4
Hana environments
• Used to automate business processes
• Manages all approval processes for Transaction
Data and Master Data
Click to edit Master title styleIntroduction
SAP Workflow Development
• If you are running SAP, you will have SAP
Workflow. In this course, you will step through
the process for Purchase Order Approval in SAP.
• An SAP Workflow Developer is expected to have
knowledge in SAP ABAP so that they can
perform the ABAP programming required for
building
SAP Workflow.
Click to edit Master title stylePurchase Order Workflow Requirement
SAP Purchase Order Workflow Scenario
• Purchase Order should go for Approval only if the dollar value is
more than 25,000 Currency.
• Purchase Order below 25,000 Currency is Auto Released.
• Approval will be sent to a group of Users who can Approve or
Reject the order.
• If PO is Approved then the PO is Released and Notification email
is sent to Purchase Order Creator/Changer.
• If the PO is Rejected the approver enters a reason of rejection and
the reason is sent to Purchase Order Creator/Changer.
Click to edit Master title stylePurchase Order Workflow Design
SAP Purchase Order Workflow Scenario
Click to edit Master title styleTransaction Codes
Transaction codes used for Purchase Order Workflow Development
• ME23N: Display Purchase Order
• ME21N: Create Purchase Order
• SWU3: Automatic Workflow Customization
• SWO1: Business Object Builder(Workflow Coding)
• PFTC: Create Workflow Template
• SWUS: Test Workflow
• SWEL: Event Trace
• SWE2: Event Linkage
• SBWP: Business Workplace
• SWIA: Administrative Forward
• SWI2_FREQ: Work Items per Task
Click to edit Master title styleDownload to SAP Favorites
• On your course page, locate the download file
in the Appendix section.
• Save the SAP PO Workflow Development.txt file
to your desktop.
• Rename the file Extension to .file instead of .txt
• Login to your SAP session
• Click on Favorites in the SAP Menu tree
• Click Favorites on the top Menu bar -> Upload from PC
• Select the local file
• The transactions codes are saved
in Favorites
Click to edit Master title styleDownload to SAP Favorites – Demo
KAR – Insert your MP4 file here
Click to edit Master title style
• Go to ME23N
• Click on Other Purchase Order-> Enter the Purchase
Order number and click on Other documents button
• Click on the Header->
Display Purchase Order
Click to edit Master title styleDisplay Purchase Order- Demo
Click to edit Master title style
• Go to ME23N
• Click on the Header->Release Strategy Tab
Release Strategy in Purchase Order
Click to edit Master title styleRelease Strategy in Purchase Order- Demo
Click to edit Master title style
• Go to ME23N
• Click on the Service Toolbox icon and select-
Workflow->Archived Workflows
Business Objects for Purchase Order
Click to edit Master title styleBusiness Objects for Purchase Order - Demo
Click to edit Master title styleWorkflow Customizing
Workflow Customizing needs to be maintained
before you start developing!
SAP Basis Team will need to setup -
SWU3: Automatic Workflow Customization
Click to edit Master title styleWorkflow Customizing - Demo
Click to edit Master title styleWorkflow Development Terms and
Methodology
• Container: Placeholder which stores different
Variables/Elements.
• Container Element: A variable that refers to a Field/Business
Object/Table/Structure which stores data and is used to
pass data to another entity.
• Binding: Data Migration to and from between two entity
using Container operation.
Click to edit Master title style
Workflow Container Task Container
Binding
Container Elements
Workflow Development Terms and
Methodology
Click to edit Master title styleWorkflow Development Terms and Methodology - Demo
Click to edit Master title style
• Business Objects
• Events
• Methods
• Standard Task
• Workflow Template
Different Parts of Workflow Development
Click to edit Master title style
What is a Business Object?
• Each Master data and Transactional Data item is defined in
SAP as a Business Object.
• You can access Business Object by SWO1 transaction code.
• It is an entity which has a following entity and is defined for
only one transactional type.
Example: The Purchase Order Business Object is BUS2012.
Business Objects have other sub-entities.
Different Parts of Workflow Development
Click to edit Master title style
Sub entities defined in Business Objects
• Key Field: Defines the Primary Key of that Data.
Example PO Number in Purchase Order
• Attributes: Characteristics of the Data.
Example Purchasing Group in a Purchase Order
• Methods: Action you want to Perform on the Data.
Example Changing the PO
• Events: An event can be anything from creating a Transaction
document or Changing a Transaction document which is a
Purchase Order in this case.
Different Parts of Workflow Development
Click to edit Master title styleDifferent Parts of Workflow Development - Demo
Click to edit Master title style
What are Events?
An event can be anything from creating a Transaction
document or Changing a Transaction document,
which is a Purchase Order in this case.
• Used to Trigger Workflow.
• Also used to Terminate Workflow.
• Used to Save data from Master or Transaction
(Purchase Order) to Event and then Pass this data
to SAP Workflow using Binding process.
• An Event is defined in a Business Object using the SWO1
Transaction code.
Different Parts of Workflow Development
Click to edit Master title styleDifferent Parts of Workflow Development - Demo
Click to edit Master title style
What is a Method?
A Method is an action you want to Perform on the Master
or Transactional Data.
• Has its own container by which it passes and retrieves data from
Standard Task and Events.
• Releasing a Purchase Order is a Method.
• Changing a Purchase Order is a Method.
• A Method may be triggering an event.
• A Method can be Dialog as well as Background.
Different Parts of Workflow Development
Click to edit Master title styleDifferent Parts of Workflow Development - Demo
Click to edit Master title style
What is a Standard Task?
A Standard Task is always associated with a Method.
• Used to call a Method inside a Workflow Template.
• Passes and retrieves data from a Workflow Container,
Method Container and Event Container.
• Releasing a Purchase Order inside a workflow Template is a
Standard task.
• A Standard Task can be triggered or terminated
by an event.
Different Parts of Workflow Development
Click to edit Master title styleDifferent Parts of Workflow Development - Demo
Click to edit Master title style
What is a Workflow Template?
A Workflow Template performs one or more multiple
business function generally involving a Dialog interaction
which can be an approval in this case.
• Passes and retrieves data from Task Container and
Event Container.
• Workflow Template can be comprised of a single or
multiple Standard task.
• A Workflow Template can be Triggered or
Terminated by an event.
Different Parts of Workflow Development
Click to edit Master title styleDifferent Parts of Workflow Development - Demo
Click to edit Master title styleBusiness Object Builder: Create Subtype
What is a Subtype?
A Subtype (Custom Object usually starts with Z or Y) is a
Child of a Parent Business Object.
• It inherits all of its parents properties.
• You cannot Edit the Subtype.
• You can add more Properties and Characteristics.
Goto SWO1 Transaction Code->
Create Subtype ZZYBUS2012 for
Business Object BUS2012
and do some ABAP coding.
Click to edit Master title styleBusiness Object Builder: Create Subtype - Demo
Click to edit Master title styleDevelop SAP Workflow Template
Transaction Code: PFTC
Click to edit Master title styleDevelop SAP Workflow Template - Demo
Click to edit Master title styleTesting Phase Of Workflow
1. Test Business Object
2. Test Workflow Template through Single Testing
3. Test Workflow Template from standard Transaction.
Click to edit Master title styleTest Business Object Method
You Can test Business Object method using the
SWO1 transaction code
Click to edit Master title styleTest SAP Workflow single Testing
Tcode SWUS
Click to edit Master title styleTest SAP Workflow - Demo
Click to edit Master title styleProbable Error
The most common error happens when –
the Dialog Task is not mentioned as General Task
and the Attributes are not Transported.
Click to edit Master title styleProbable Error
Click to edit Master title styleTest Event Linkage and Trace
Tcode SWEL
Click to edit Master title styleTest Event Linkage and Trace -
Demo
Click to edit Master title styleTest the Workflow Template from the Actual
Business Transaction
Create PO in ME21N
Click to edit Master title styleTest the Workflow Template - Demo
Click to edit Master title styleTable for SAP Workflow Data
View Table – SWWWIHEAD in data browser
Check SE16 Transaction code
Click to edit Master title styleView Workflow Table - Demo
Click to edit Master title styleHow to Transport PO Workflow
Every Workflow Template will have 2 transports initially.
• Workbench Request:
Contains Development object like Business Object and Workflow
Template.
• Customizing Request:
Contains Attributes of Standard task and Workflow Template.
Customizing Request also contains the Event linkage between event
and Workflow to pass Data.
Use Transaction Code SE09 to Transport Objects.
Click to edit Master title styleView demo Transport PO Workflow
Click to edit Master title styleSummary
• What is SAP Workflow Template?
• What are the different portion of SAP Workflow Template?
• Transaction Codes used to Develop the SAP Workflow Template.
• We learned how to build a real life Purchase Order Approval Workflow
from Scratch.
• Transport Workflow to QA system.
• Test the SAP Workflow which is very important.
• Using this Tutorial we can build other Workflow for Purchase Order.
Stay tuned for other Workflow design courses!

More Related Content

What's hot

Subcontracting process jobwork in gst
Subcontracting process  jobwork in gstSubcontracting process  jobwork in gst
Subcontracting process jobwork in gstSukumar Manickam
 
Creating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsCreating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsHicham Khallouki
 
Data migration methodology for sap v2
Data migration methodology for sap v2Data migration methodology for sap v2
Data migration methodology for sap v2cvcby
 
How to View/ open/ update/ close SOLMAN tickets
How to View/ open/ update/ close SOLMAN ticketsHow to View/ open/ update/ close SOLMAN tickets
How to View/ open/ update/ close SOLMAN ticketsyuppy
 
SAP Flexible workflows.pptx
SAP Flexible workflows.pptxSAP Flexible workflows.pptx
SAP Flexible workflows.pptxKeshavaMurthy74
 
How to set up intercompany billing
How to set up intercompany billingHow to set up intercompany billing
How to set up intercompany billingratneshkr
 
Sap SD configuration-guide
Sap SD configuration-guideSap SD configuration-guide
Sap SD configuration-guidetechgurusuresh
 
Automatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailAutomatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailSURESH BABU MUCHINTHALA
 
Fi vendor ageing functional spec.
Fi vendor ageing functional spec.Fi vendor ageing functional spec.
Fi vendor ageing functional spec.ANILKUMARPULIPATI1
 
Data archiving in sales and distribution (sd)
Data archiving in sales and distribution (sd)Data archiving in sales and distribution (sd)
Data archiving in sales and distribution (sd)Piyush Bose
 
SAP Automatic batch determination
SAP Automatic batch determinationSAP Automatic batch determination
SAP Automatic batch determinationAmit Pandey
 
SAP Roll Out - An Introduction and Advantages
SAP Roll Out - An Introduction and AdvantagesSAP Roll Out - An Introduction and Advantages
SAP Roll Out - An Introduction and Advantagesanjalirao366
 
Funds management configuration sap ag
Funds management configuration sap agFunds management configuration sap ag
Funds management configuration sap agLluckyy
 
SAP PP Certification Overview (mindmap edition)
SAP PP Certification Overview (mindmap edition)SAP PP Certification Overview (mindmap edition)
SAP PP Certification Overview (mindmap edition)Benedict Yong (杨腾翔)
 
Travel management configuration steps
Travel management configuration stepsTravel management configuration steps
Travel management configuration stepsAbhijeet Walke
 

What's hot (20)

Subcontracting process jobwork in gst
Subcontracting process  jobwork in gstSubcontracting process  jobwork in gst
Subcontracting process jobwork in gst
 
Creating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsCreating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflows
 
Data migration methodology for sap v2
Data migration methodology for sap v2Data migration methodology for sap v2
Data migration methodology for sap v2
 
How to View/ open/ update/ close SOLMAN tickets
How to View/ open/ update/ close SOLMAN ticketsHow to View/ open/ update/ close SOLMAN tickets
How to View/ open/ update/ close SOLMAN tickets
 
Bapi step-by-step
Bapi step-by-stepBapi step-by-step
Bapi step-by-step
 
Transfer of requirements in SAP SD
Transfer of requirements in SAP SDTransfer of requirements in SAP SD
Transfer of requirements in SAP SD
 
SAP Flexible workflows.pptx
SAP Flexible workflows.pptxSAP Flexible workflows.pptx
SAP Flexible workflows.pptx
 
How to set up intercompany billing
How to set up intercompany billingHow to set up intercompany billing
How to set up intercompany billing
 
SAP workflow events
SAP workflow eventsSAP workflow events
SAP workflow events
 
Sap SD configuration-guide
Sap SD configuration-guideSap SD configuration-guide
Sap SD configuration-guide
 
Automatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailAutomatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mail
 
Fi vendor ageing functional spec.
Fi vendor ageing functional spec.Fi vendor ageing functional spec.
Fi vendor ageing functional spec.
 
Data archiving in sales and distribution (sd)
Data archiving in sales and distribution (sd)Data archiving in sales and distribution (sd)
Data archiving in sales and distribution (sd)
 
SAP Automatic batch determination
SAP Automatic batch determinationSAP Automatic batch determination
SAP Automatic batch determination
 
SAP Roll Out - An Introduction and Advantages
SAP Roll Out - An Introduction and AdvantagesSAP Roll Out - An Introduction and Advantages
SAP Roll Out - An Introduction and Advantages
 
Funds management configuration sap ag
Funds management configuration sap agFunds management configuration sap ag
Funds management configuration sap ag
 
Intercompany config
Intercompany configIntercompany config
Intercompany config
 
SAP PP Certification Overview (mindmap edition)
SAP PP Certification Overview (mindmap edition)SAP PP Certification Overview (mindmap edition)
SAP PP Certification Overview (mindmap edition)
 
STO movement Type
STO movement TypeSTO movement Type
STO movement Type
 
Travel management configuration steps
Travel management configuration stepsTravel management configuration steps
Travel management configuration steps
 

Similar to Sap Purchase Order Workflow

The Real Workflow Experience
The Real Workflow ExperienceThe Real Workflow Experience
The Real Workflow ExperienceLaura Farbo
 
SAP TECHNICAL Workflow CREATIONPPT.pptx
SAP TECHNICAL Workflow  CREATIONPPT.pptxSAP TECHNICAL Workflow  CREATIONPPT.pptx
SAP TECHNICAL Workflow CREATIONPPT.pptxbugganasrinathreddy2
 
TAG Presents: NetSuite SuiteFlow 101
TAG Presents: NetSuite SuiteFlow 101 TAG Presents: NetSuite SuiteFlow 101
TAG Presents: NetSuite SuiteFlow 101 TAG
 
SAP Business Workflow - Best Practices
SAP Business Workflow - Best PracticesSAP Business Workflow - Best Practices
SAP Business Workflow - Best PracticesWarren Eiserman
 
Workflow_Tips_And_Tricks_PPT.pptx
Workflow_Tips_And_Tricks_PPT.pptxWorkflow_Tips_And_Tricks_PPT.pptx
Workflow_Tips_And_Tricks_PPT.pptxRimshaKiran13
 
Trading ERP Presentation
Trading ERP PresentationTrading ERP Presentation
Trading ERP Presentationnfra erp
 
Sales Wave Apps - Partner Training
Sales Wave Apps - Partner TrainingSales Wave Apps - Partner Training
Sales Wave Apps - Partner TrainingSalesforce Partners
 
Salesforce Spring '17 Release Admin Webinar
Salesforce Spring '17 Release Admin WebinarSalesforce Spring '17 Release Admin Webinar
Salesforce Spring '17 Release Admin WebinarSalesforce Admins
 
agilesWorkflow: The Real Workflow Experience
agilesWorkflow: The Real Workflow ExperienceagilesWorkflow: The Real Workflow Experience
agilesWorkflow: The Real Workflow ExperienceLaura Farbo
 
Sap Tips and Tricks Training for End user
Sap Tips and Tricks Training for End userSap Tips and Tricks Training for End user
Sap Tips and Tricks Training for End userArghadip Kar
 
Oracle Product Hub Cloud:​ A True Enterprise Product Master Solution​
Oracle Product Hub Cloud:​  A True Enterprise Product Master Solution​Oracle Product Hub Cloud:​  A True Enterprise Product Master Solution​
Oracle Product Hub Cloud:​ A True Enterprise Product Master Solution​KPIT
 
Understand your Business processes
Understand your Business processesUnderstand your Business processes
Understand your Business processesGaurav Kumar
 
Manufacturing ERP Presentation- eresource Xcel
Manufacturing ERP Presentation- eresource XcelManufacturing ERP Presentation- eresource Xcel
Manufacturing ERP Presentation- eresource Xcelnfra erp
 
eresource Xcel ERP | ERP For Manufacturing | Admin Module
 eresource Xcel ERP | ERP For Manufacturing | Admin Module eresource Xcel ERP | ERP For Manufacturing | Admin Module
eresource Xcel ERP | ERP For Manufacturing | Admin Moduleeresource infotech pvt ltd
 
ERP for Manufacturing Industry - eresource XCEL
ERP for Manufacturing Industry - eresource XCELERP for Manufacturing Industry - eresource XCEL
ERP for Manufacturing Industry - eresource XCELeresource erp
 
ERP for Manufacturing Industry - eresource Xcel
ERP for Manufacturing Industry - eresource XcelERP for Manufacturing Industry - eresource Xcel
ERP for Manufacturing Industry - eresource XcelEresource Erp
 

Similar to Sap Purchase Order Workflow (20)

The Real Workflow Experience
The Real Workflow ExperienceThe Real Workflow Experience
The Real Workflow Experience
 
SAP TECHNICAL Workflow CREATIONPPT.pptx
SAP TECHNICAL Workflow  CREATIONPPT.pptxSAP TECHNICAL Workflow  CREATIONPPT.pptx
SAP TECHNICAL Workflow CREATIONPPT.pptx
 
Introduction to ERP Concept
Introduction to ERP ConceptIntroduction to ERP Concept
Introduction to ERP Concept
 
TAG Presents: NetSuite SuiteFlow 101
TAG Presents: NetSuite SuiteFlow 101 TAG Presents: NetSuite SuiteFlow 101
TAG Presents: NetSuite SuiteFlow 101
 
SAP Business Workflow - Best Practices
SAP Business Workflow - Best PracticesSAP Business Workflow - Best Practices
SAP Business Workflow - Best Practices
 
Action profiles in sap
Action profiles in sapAction profiles in sap
Action profiles in sap
 
Workflow_Tips_And_Tricks_PPT.pptx
Workflow_Tips_And_Tricks_PPT.pptxWorkflow_Tips_And_Tricks_PPT.pptx
Workflow_Tips_And_Tricks_PPT.pptx
 
S4H_059.pptx
S4H_059.pptxS4H_059.pptx
S4H_059.pptx
 
Trading ERP Presentation
Trading ERP PresentationTrading ERP Presentation
Trading ERP Presentation
 
Sales Wave Apps - Partner Training
Sales Wave Apps - Partner TrainingSales Wave Apps - Partner Training
Sales Wave Apps - Partner Training
 
Salesforce Spring '17 Release Admin Webinar
Salesforce Spring '17 Release Admin WebinarSalesforce Spring '17 Release Admin Webinar
Salesforce Spring '17 Release Admin Webinar
 
agilesWorkflow: The Real Workflow Experience
agilesWorkflow: The Real Workflow ExperienceagilesWorkflow: The Real Workflow Experience
agilesWorkflow: The Real Workflow Experience
 
Sap Tips and Tricks Training for End user
Sap Tips and Tricks Training for End userSap Tips and Tricks Training for End user
Sap Tips and Tricks Training for End user
 
Oracle Product Hub Cloud:​ A True Enterprise Product Master Solution​
Oracle Product Hub Cloud:​  A True Enterprise Product Master Solution​Oracle Product Hub Cloud:​  A True Enterprise Product Master Solution​
Oracle Product Hub Cloud:​ A True Enterprise Product Master Solution​
 
Understand your Business processes
Understand your Business processesUnderstand your Business processes
Understand your Business processes
 
Manufacturing product tour | eresourceerp
Manufacturing product tour | eresourceerpManufacturing product tour | eresourceerp
Manufacturing product tour | eresourceerp
 
Manufacturing ERP Presentation- eresource Xcel
Manufacturing ERP Presentation- eresource XcelManufacturing ERP Presentation- eresource Xcel
Manufacturing ERP Presentation- eresource Xcel
 
eresource Xcel ERP | ERP For Manufacturing | Admin Module
 eresource Xcel ERP | ERP For Manufacturing | Admin Module eresource Xcel ERP | ERP For Manufacturing | Admin Module
eresource Xcel ERP | ERP For Manufacturing | Admin Module
 
ERP for Manufacturing Industry - eresource XCEL
ERP for Manufacturing Industry - eresource XCELERP for Manufacturing Industry - eresource XCEL
ERP for Manufacturing Industry - eresource XCEL
 
ERP for Manufacturing Industry - eresource Xcel
ERP for Manufacturing Industry - eresource XcelERP for Manufacturing Industry - eresource Xcel
ERP for Manufacturing Industry - eresource Xcel
 

Recently uploaded

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 

Recently uploaded (20)

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 

Sap Purchase Order Workflow

  • 1. Click to edit Master title style Developing Purchase Order Workflow in SAP with Arghadip Kar SAP Workflow Expert
  • 2. Click to edit Master title styleMeet your Instructor Arghadip Kar Currently an SAP ABAP Architect in the energy industry – I work developing new reusable tools to help business with SAP features used in everyday work activities. Developing programs where production monitoring is minimal and optimizing ABAP coding to add flexibility across SAP modules. Previously worked at IBM Global Services as an SAP ABAP Workflow/Open Text Consultant.
  • 3. Click to edit Master title styleLink to Tutorial • https://www.michaelmanagement.com/sap-training- course/developing-purchase-order-workflow-in-sap
  • 4. Click to edit Master title styleAgenda • Understanding SAP Workflow Development for Purchase Order Process • How to use transaction codes for SAP Workflow Development • Programming in Business Objects for Workflow • Using Workflow Builder to build a Workflow Template
  • 5. Click to edit Master title styleIntroduction What is SAP Workflow? • Tool available inside SAP ECC 6.0 and SAP S/4 Hana environments • Used to automate business processes • Manages all approval processes for Transaction Data and Master Data
  • 6. Click to edit Master title styleIntroduction SAP Workflow Development • If you are running SAP, you will have SAP Workflow. In this course, you will step through the process for Purchase Order Approval in SAP. • An SAP Workflow Developer is expected to have knowledge in SAP ABAP so that they can perform the ABAP programming required for building SAP Workflow.
  • 7. Click to edit Master title stylePurchase Order Workflow Requirement SAP Purchase Order Workflow Scenario • Purchase Order should go for Approval only if the dollar value is more than 25,000 Currency. • Purchase Order below 25,000 Currency is Auto Released. • Approval will be sent to a group of Users who can Approve or Reject the order. • If PO is Approved then the PO is Released and Notification email is sent to Purchase Order Creator/Changer. • If the PO is Rejected the approver enters a reason of rejection and the reason is sent to Purchase Order Creator/Changer.
  • 8. Click to edit Master title stylePurchase Order Workflow Design SAP Purchase Order Workflow Scenario
  • 9. Click to edit Master title styleTransaction Codes Transaction codes used for Purchase Order Workflow Development • ME23N: Display Purchase Order • ME21N: Create Purchase Order • SWU3: Automatic Workflow Customization • SWO1: Business Object Builder(Workflow Coding) • PFTC: Create Workflow Template • SWUS: Test Workflow • SWEL: Event Trace • SWE2: Event Linkage • SBWP: Business Workplace • SWIA: Administrative Forward • SWI2_FREQ: Work Items per Task
  • 10. Click to edit Master title styleDownload to SAP Favorites • On your course page, locate the download file in the Appendix section. • Save the SAP PO Workflow Development.txt file to your desktop. • Rename the file Extension to .file instead of .txt • Login to your SAP session • Click on Favorites in the SAP Menu tree • Click Favorites on the top Menu bar -> Upload from PC • Select the local file • The transactions codes are saved in Favorites
  • 11. Click to edit Master title styleDownload to SAP Favorites – Demo KAR – Insert your MP4 file here
  • 12. Click to edit Master title style • Go to ME23N • Click on Other Purchase Order-> Enter the Purchase Order number and click on Other documents button • Click on the Header-> Display Purchase Order
  • 13. Click to edit Master title styleDisplay Purchase Order- Demo
  • 14. Click to edit Master title style • Go to ME23N • Click on the Header->Release Strategy Tab Release Strategy in Purchase Order
  • 15. Click to edit Master title styleRelease Strategy in Purchase Order- Demo
  • 16. Click to edit Master title style • Go to ME23N • Click on the Service Toolbox icon and select- Workflow->Archived Workflows Business Objects for Purchase Order
  • 17. Click to edit Master title styleBusiness Objects for Purchase Order - Demo
  • 18. Click to edit Master title styleWorkflow Customizing Workflow Customizing needs to be maintained before you start developing! SAP Basis Team will need to setup - SWU3: Automatic Workflow Customization
  • 19. Click to edit Master title styleWorkflow Customizing - Demo
  • 20. Click to edit Master title styleWorkflow Development Terms and Methodology • Container: Placeholder which stores different Variables/Elements. • Container Element: A variable that refers to a Field/Business Object/Table/Structure which stores data and is used to pass data to another entity. • Binding: Data Migration to and from between two entity using Container operation.
  • 21. Click to edit Master title style Workflow Container Task Container Binding Container Elements Workflow Development Terms and Methodology
  • 22. Click to edit Master title styleWorkflow Development Terms and Methodology - Demo
  • 23. Click to edit Master title style • Business Objects • Events • Methods • Standard Task • Workflow Template Different Parts of Workflow Development
  • 24. Click to edit Master title style What is a Business Object? • Each Master data and Transactional Data item is defined in SAP as a Business Object. • You can access Business Object by SWO1 transaction code. • It is an entity which has a following entity and is defined for only one transactional type. Example: The Purchase Order Business Object is BUS2012. Business Objects have other sub-entities. Different Parts of Workflow Development
  • 25. Click to edit Master title style Sub entities defined in Business Objects • Key Field: Defines the Primary Key of that Data. Example PO Number in Purchase Order • Attributes: Characteristics of the Data. Example Purchasing Group in a Purchase Order • Methods: Action you want to Perform on the Data. Example Changing the PO • Events: An event can be anything from creating a Transaction document or Changing a Transaction document which is a Purchase Order in this case. Different Parts of Workflow Development
  • 26. Click to edit Master title styleDifferent Parts of Workflow Development - Demo
  • 27. Click to edit Master title style What are Events? An event can be anything from creating a Transaction document or Changing a Transaction document, which is a Purchase Order in this case. • Used to Trigger Workflow. • Also used to Terminate Workflow. • Used to Save data from Master or Transaction (Purchase Order) to Event and then Pass this data to SAP Workflow using Binding process. • An Event is defined in a Business Object using the SWO1 Transaction code. Different Parts of Workflow Development
  • 28. Click to edit Master title styleDifferent Parts of Workflow Development - Demo
  • 29. Click to edit Master title style What is a Method? A Method is an action you want to Perform on the Master or Transactional Data. • Has its own container by which it passes and retrieves data from Standard Task and Events. • Releasing a Purchase Order is a Method. • Changing a Purchase Order is a Method. • A Method may be triggering an event. • A Method can be Dialog as well as Background. Different Parts of Workflow Development
  • 30. Click to edit Master title styleDifferent Parts of Workflow Development - Demo
  • 31. Click to edit Master title style What is a Standard Task? A Standard Task is always associated with a Method. • Used to call a Method inside a Workflow Template. • Passes and retrieves data from a Workflow Container, Method Container and Event Container. • Releasing a Purchase Order inside a workflow Template is a Standard task. • A Standard Task can be triggered or terminated by an event. Different Parts of Workflow Development
  • 32. Click to edit Master title styleDifferent Parts of Workflow Development - Demo
  • 33. Click to edit Master title style What is a Workflow Template? A Workflow Template performs one or more multiple business function generally involving a Dialog interaction which can be an approval in this case. • Passes and retrieves data from Task Container and Event Container. • Workflow Template can be comprised of a single or multiple Standard task. • A Workflow Template can be Triggered or Terminated by an event. Different Parts of Workflow Development
  • 34. Click to edit Master title styleDifferent Parts of Workflow Development - Demo
  • 35. Click to edit Master title styleBusiness Object Builder: Create Subtype What is a Subtype? A Subtype (Custom Object usually starts with Z or Y) is a Child of a Parent Business Object. • It inherits all of its parents properties. • You cannot Edit the Subtype. • You can add more Properties and Characteristics. Goto SWO1 Transaction Code-> Create Subtype ZZYBUS2012 for Business Object BUS2012 and do some ABAP coding.
  • 36. Click to edit Master title styleBusiness Object Builder: Create Subtype - Demo
  • 37. Click to edit Master title styleDevelop SAP Workflow Template Transaction Code: PFTC
  • 38. Click to edit Master title styleDevelop SAP Workflow Template - Demo
  • 39. Click to edit Master title styleTesting Phase Of Workflow 1. Test Business Object 2. Test Workflow Template through Single Testing 3. Test Workflow Template from standard Transaction.
  • 40. Click to edit Master title styleTest Business Object Method You Can test Business Object method using the SWO1 transaction code
  • 41. Click to edit Master title styleTest SAP Workflow single Testing Tcode SWUS
  • 42. Click to edit Master title styleTest SAP Workflow - Demo
  • 43. Click to edit Master title styleProbable Error The most common error happens when – the Dialog Task is not mentioned as General Task and the Attributes are not Transported.
  • 44. Click to edit Master title styleProbable Error
  • 45. Click to edit Master title styleTest Event Linkage and Trace Tcode SWEL
  • 46. Click to edit Master title styleTest Event Linkage and Trace - Demo
  • 47. Click to edit Master title styleTest the Workflow Template from the Actual Business Transaction Create PO in ME21N
  • 48. Click to edit Master title styleTest the Workflow Template - Demo
  • 49. Click to edit Master title styleTable for SAP Workflow Data View Table – SWWWIHEAD in data browser Check SE16 Transaction code
  • 50. Click to edit Master title styleView Workflow Table - Demo
  • 51. Click to edit Master title styleHow to Transport PO Workflow Every Workflow Template will have 2 transports initially. • Workbench Request: Contains Development object like Business Object and Workflow Template. • Customizing Request: Contains Attributes of Standard task and Workflow Template. Customizing Request also contains the Event linkage between event and Workflow to pass Data. Use Transaction Code SE09 to Transport Objects.
  • 52. Click to edit Master title styleView demo Transport PO Workflow
  • 53. Click to edit Master title styleSummary • What is SAP Workflow Template? • What are the different portion of SAP Workflow Template? • Transaction Codes used to Develop the SAP Workflow Template. • We learned how to build a real life Purchase Order Approval Workflow from Scratch. • Transport Workflow to QA system. • Test the SAP Workflow which is very important. • Using this Tutorial we can build other Workflow for Purchase Order. Stay tuned for other Workflow design courses!

Editor's Notes

  1. High level agenda
  2. High level agenda