Understanding Modeling and Structure of Process Chains
Understanding Modeling and Structure of Process Chains
Applies to:
SAP R/3, SAP ECC 6.0 and SAP BI NetWeaver 2004s. For more information, visit the EDW homepage.
Summary
This article gives the idea about Architecture and structure of Process Chain and different features available
in Process Chain to analysis in different scenarios.
Author: Vipin A
Company: Cognizant Technology Pvt. Ltd
Created on: 27 September 2011
Author Bio
Vipin is currently working with Cognizant as BW Senior Consultant. He has more than 4 years of experience
in BW and 2 years of experience in ABAP
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 1
Understanding Modeling and Structure of Process Chain
Table of Contents
Introduction ......................................................................................................................................................... 3
Important Concepts in Process Chain: ........................................................................................................... 4
Terminologies in Process chain: ..................................................................................................................... 4
Structure and Flow of Process Chain: ................................................................................................................ 5
Execution of Process Chain follows: ............................................................................................................... 5
Runtime sequence Diagram: .......................................................................................................................... 5
Questions for Process Chain: ............................................................................................................................. 6
Technical aspects of Process Chain .................................................................................................................. 7
General Functionality ...................................................................................................................................... 7
Process Types .............................................................................................................................................. 10
Collector Process: ......................................................................................................................................... 14
Job Notification ................................................................................................................................................. 15
Related Content ................................................................................................................................................ 18
Copyright............................................................................................................ Error! Bookmark not defined.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 2
Understanding Modeling and Structure of Process Chain
Introduction
A Process chain is a sequence of processes that wait in the background for an event.
Some of these processes trigger a separate event that can start processes in turn.
A normal Process chain activities look like:
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 3
Understanding Modeling and Structure of Process Chain
1) Start Process:
This provides the scheduling options of Process chain. Each Start process can be linked with only
One Process chain and each Process chain can contain only one Start process
2) Application Process:
They are actual processes that are automated. They can be any BW activities, an ABAP Program,
an OS command or even another Process chain.
3) Collector Process:
The collection process are necessary when you want to schedule process in parallel and the
scheduling of the successor processes are based on the outcome of the successor parallel
processes.
The collection processes are AND (Last), OR (Every), EXOR (First).
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 4
Understanding Modeling and Structure of Process Chain
Processes are executed one after another depending on success or failures of predecessors.
Every process types is basically a set of interfaces. There are a number of interfaces that are implemented
for each process type.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 5
Understanding Modeling and Structure of Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 6
Understanding Modeling and Structure of Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 7
Understanding Modeling and Structure of Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 8
Understanding Modeling and Structure of Process Chain
In additional information we can find Technical Info package and name of Data Target etc.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 9
Understanding Modeling and Structure of Process Chain
Process Types
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 10
Understanding Modeling and Structure of Process Chain
Default view is always DISPLAY mode. There is NO locking issue in Process chain.
One user can change and other user is just displaying it.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 11
Understanding Modeling and Structure of Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 12
Understanding Modeling and Structure of Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 13
Understanding Modeling and Structure of Process Chain
Scenarios
Special users for load balancing
Be able to see in sm50 which user has scheduled a certain process chain
and is in charge of it
Three options
BWREMOTE (default)
User actually scheduling the process chain
Manually specified user
Collector Process:
They manage multiple predecessor processes that feed into the same subsequent process.
AND: All of the processes that are direct predecessors must send an event in order for
subsequent processes to be executed
OR: A least one predecessor process must send an event
The first predecessor process that sends an event triggers the subsequent process
Any additional predecessor processes that send an event will again trigger
subsequent process (Only if the chain is planned as “periodic”)
EXOR: Exclusive “OR”
Similar to regular “OR”, but there is only ONE execution of the successor processes,
even if several predecessor processes raise an event
Decision:
A more complex status of process flow for which flexible execution paths are
implemented is possible
Up to 99 different outcomes (plus one failure) possible
Formula editor available
Interrupt:
A chain or part of it shall not run except explicite conditions are met
Both conditions (of the chain and the Interrupt wait job) shall become true
Only if both are true, the chain will go beyond the Interrupt chain job
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 14
Understanding Modeling and Structure of Process Chain
Job Notification
When a chain gets started, its processes will be planned in batch
as program RSPROCESS with type and variant given as parameters
with job name BI_PROCESS_<TYPE>
waiting for event, except the trigger
The trigger is planned as specified in its variant, if “start via meta-chain” it is not planned to
batch
In table RSPROCESSTYPEST, we can find all details for Process Chain Jobs:
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 15
Understanding Modeling and Structure of Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 16
Understanding Modeling and Structure of Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 17
Understanding Modeling and Structure of Process Chain
Related Content
SAP HELP
Introduction to Process Chain
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 18
Understanding Modeling and Structure of Process Chain
Disclaimer
© Copyright 2011 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9,
iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server,
PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes,
BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX,
Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems
Incorporated in the United States and/or other countries.
Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of
Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts
Institute of Technology.
Java is a registered trademark of Oracle Corporation.
JavaScript is a registered trademark of Oracle Corporation, used under license for technology invented and implemented by Netscape.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned
herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and
other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered
trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company.
All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document
serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP
Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the
express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an
additional warranty.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 19