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

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
 
WM - PP Interface
WM - PP InterfaceWM - PP Interface
WM - PP Interfaceharsh shah
 
Sd configuration steps for automatic batch determination in delivery
Sd   configuration steps for automatic batch determination in deliverySd   configuration steps for automatic batch determination in delivery
Sd configuration steps for automatic batch determination in deliveryShivaprakash Shastri Hiremath
 
SAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration documentSAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration documentSubhrajyoti (Subhra) Bhattacharjee
 
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+Ashish Saxena
 
SAP BUSINESS BLUE PRINT PRACTICE PROJECT
SAP BUSINESS BLUE PRINT PRACTICE PROJECTSAP BUSINESS BLUE PRINT PRACTICE PROJECT
SAP BUSINESS BLUE PRINT PRACTICE PROJECTVenet Dheer
 
Rollout solution template SAP SD
Rollout solution template   SAP SDRollout solution template   SAP SD
Rollout solution template SAP SDMohammed Azhad
 
Sap batch management overview
Sap batch management overviewSap batch management overview
Sap batch management overviewdhl1234
 
Funds management configuration sap ag
Funds management configuration sap agFunds management configuration sap ag
Funds management configuration sap agLluckyy
 
SAP Accounts Reveivable SAP Documents | http://sapdocs.info
SAP Accounts Reveivable SAP Documents | http://sapdocs.infoSAP Accounts Reveivable SAP Documents | http://sapdocs.info
SAP Accounts Reveivable SAP Documents | http://sapdocs.infosapdocs. info
 
Inter company STO
Inter company STOInter company STO
Inter company STOsfaiz418
 
Production Supply with SAP EWM
Production Supply with SAP EWMProduction Supply with SAP EWM
Production Supply with SAP EWMVictor Cerullo
 

What's hot (20)

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
 
WM - PP Interface
WM - PP InterfaceWM - PP Interface
WM - PP Interface
 
Sd configuration steps for automatic batch determination in delivery
Sd   configuration steps for automatic batch determination in deliverySd   configuration steps for automatic batch determination in delivery
Sd configuration steps for automatic batch determination in delivery
 
Material listing & exclusion
Material listing & exclusionMaterial listing & exclusion
Material listing & exclusion
 
SAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration documentSAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration document
 
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
 
SAP Landscape
SAP Landscape SAP Landscape
SAP Landscape
 
Intercompany config
Intercompany configIntercompany config
Intercompany config
 
Sap SD Standard Reports
Sap SD Standard ReportsSap SD Standard Reports
Sap SD Standard Reports
 
Cutover activities
Cutover activitiesCutover activities
Cutover activities
 
SAP BUSINESS BLUE PRINT PRACTICE PROJECT
SAP BUSINESS BLUE PRINT PRACTICE PROJECTSAP BUSINESS BLUE PRINT PRACTICE PROJECT
SAP BUSINESS BLUE PRINT PRACTICE PROJECT
 
Dip profiles-documentation
Dip profiles-documentationDip profiles-documentation
Dip profiles-documentation
 
Rollout solution template SAP SD
Rollout solution template   SAP SDRollout solution template   SAP SD
Rollout solution template SAP SD
 
Sap batch management overview
Sap batch management overviewSap batch management overview
Sap batch management overview
 
Sap pp-user-manual
Sap pp-user-manualSap pp-user-manual
Sap pp-user-manual
 
Free goods determination
Free goods determinationFree goods determination
Free goods determination
 
Funds management configuration sap ag
Funds management configuration sap agFunds management configuration sap ag
Funds management configuration sap ag
 
SAP Accounts Reveivable SAP Documents | http://sapdocs.info
SAP Accounts Reveivable SAP Documents | http://sapdocs.infoSAP Accounts Reveivable SAP Documents | http://sapdocs.info
SAP Accounts Reveivable SAP Documents | http://sapdocs.info
 
Inter company STO
Inter company STOInter company STO
Inter company STO
 
Production Supply with SAP EWM
Production Supply with SAP EWMProduction Supply with SAP EWM
Production Supply with SAP EWM
 

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

Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
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
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
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
 
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
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
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
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
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
 
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)

Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
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
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
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)
 
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
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
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...
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
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...
 
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