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

Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorialraonivaz
 
Sap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantSap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantAnkit Sharma
 
SAP Flexible workflows.pptx
SAP Flexible workflows.pptxSAP Flexible workflows.pptx
SAP Flexible workflows.pptxKeshavaMurthy74
 
Sap s4 hana ml
Sap s4 hana mlSap s4 hana ml
Sap s4 hana mlbabloo6
 
Production Supply with SAP EWM
Production Supply with SAP EWMProduction Supply with SAP EWM
Production Supply with SAP EWMVictor Cerullo
 
Fi vendor ageing functional spec.
Fi vendor ageing functional spec.Fi vendor ageing functional spec.
Fi vendor ageing functional spec.ANILKUMARPULIPATI1
 
Realize the potential of sap material ledger
Realize the potential of sap material ledgerRealize the potential of sap material ledger
Realize the potential of sap material ledgerRajesh Shanbhag
 
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdf
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdfSAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdf
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdfsubbulokam
 
SAP MM Business Scenarios
SAP MM  Business ScenariosSAP MM  Business Scenarios
SAP MM Business ScenariosLokesh Modem
 
Business partner-2
Business  partner-2Business  partner-2
Business partner-2abc
 

What's hot (20)

Fleet(2)
Fleet(2)Fleet(2)
Fleet(2)
 
SAP MM Essential Master Data
SAP MM Essential Master DataSAP MM Essential Master Data
SAP MM Essential Master Data
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorial
 
Output determination
Output determinationOutput determination
Output determination
 
Sap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantSap User Exit for Functional Consultant
Sap User Exit for Functional Consultant
 
SAP Flexible workflows.pptx
SAP Flexible workflows.pptxSAP Flexible workflows.pptx
SAP Flexible workflows.pptx
 
Sap s4 hana ml
Sap s4 hana mlSap s4 hana ml
Sap s4 hana ml
 
Badis
Badis Badis
Badis
 
Production Supply with SAP EWM
Production Supply with SAP EWMProduction Supply with SAP EWM
Production Supply with SAP EWM
 
Transfer of requirements in SAP SD
Transfer of requirements in SAP SDTransfer of requirements in SAP SD
Transfer of requirements in SAP SD
 
SAP PP
SAP PPSAP PP
SAP PP
 
Fi vendor ageing functional spec.
Fi vendor ageing functional spec.Fi vendor ageing functional spec.
Fi vendor ageing functional spec.
 
Realize the potential of sap material ledger
Realize the potential of sap material ledgerRealize the potential of sap material ledger
Realize the potential of sap material ledger
 
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdf
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdfSAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdf
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdf
 
SAP MM Business Scenarios
SAP MM  Business ScenariosSAP MM  Business Scenarios
SAP MM Business Scenarios
 
How to split cost of goods sold
How to split cost of goods soldHow to split cost of goods sold
How to split cost of goods sold
 
Business partner-2
Business  partner-2Business  partner-2
Business partner-2
 
BPD Design Template
BPD Design TemplateBPD Design Template
BPD Design Template
 
Sap funds management training
Sap funds management trainingSap funds management training
Sap funds management training
 
SAP workflow classics
SAP workflow classicsSAP workflow classics
SAP workflow classics
 

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

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 

Recently uploaded (20)

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
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 🔝✔️✔️
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 

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