You are on page 1of 42

POP261

SAP NetWeaver Process Orchestration


Build a Complete Integration Scenario
Satish Bihari, Ronald Fischer, Christian Loos, Preethi Reddy, Volker Stiehl
October/November/December, 2013
Disclaimer

This presentation outlines our general product direction and should not be relied on in making a
purchase decision. This presentation is not subject to your license agreement or any other agreement
with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or to
develop or release any functionality mentioned in this presentation. This presentation and SAP's
strategy and possible future developments are subject to change and may be changed by SAP at any
time for any reason without notice. This document is provided without a warranty of any kind, either
express or implied, including but not limited to, the implied warranties of merchantability, fitness for a
particular purpose, or non-infringement. SAP assumes no responsibility for errors or omissions in this
document, except if such damages were caused by SAP intentionally or grossly negligent.

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 2


Agenda

SAP NetWeaver Process Orchestration – What’s new?


Multiple interfaces for starting a process
Introducing the exercise: Interfaces, Mappings, Integration Flows
Explaining “Conditional Start” behavior
Introducing the exercise: Integration-centric process
Running the exercise process

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 3


SAP NetWeaver Process
Orchestration – What’s new?
Recap: SAP NetWeaver Process Orchestration

BPM, BRM and PI on a single Java instance


 Java-only installation option for BPM, BRM and PI
 Reliable message exchange using the XI 3.0 protocol
 Call PI mappings from BPM process
 Use business rules in PI
 End-to-end monitoring of processes and related
messages
 Handling of large messages

Advantages
 Reduced development and operations cost
 Improved performance

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 5


SAP NetWeaver Process Orchestration
Support of enterprise integration patterns

Providing best practices and guidelines on how to


implement common integration and business requirements on
SAP NetWeaver Process Orchestration
Enterprise integration patterns
 Do help in solving recurring problems faced in the
integration of enterprise applications
 See Enterprise Integration Patterns: Designing, Building,
and Deploying Messaging Solutions
by Gregor Hohpe and Bobby Woolf

Enterprise integration patterns on Process


Orchestration
 Blog on SCN describing how to best implement enterprise
integration patterns on PI/PO
 See SAP Process Orchestration patterns on SCN

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 6


SAP NetWeaver Process Orchestration
Integrated monitoring between PI and BPM

Improve TCO by monitoring


scenarios across PI and BPM
Context sensitive navigation
 For a given BPM process instance,
show details of all associated PI
messages
 For a given PI message, show
details of the associated BPM
process

Prerequisites
 Mark the communication component
as integration-centric process
 PI and BPM have to communicate
with each other using XI 3.0
message protocol
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 7
SAP NetWeaver Process Orchestration
Referenced channels in Integration Flows

Reduce TCO via re-use of channels


Inline Channels versus Referenced Channels Referenced Channel
 Inline Channels are part of Integration Flows
 Referenced Channels are independent objects with
own lifecycle

Lifecycle
 Create, edit, and delete channels within SAP Process
Integration Designer perspective
 On activation, channels get deployed on runtime
 Assign/unassign channels to Integration Flows
 Activation of incompatible changes is prevented,
requires undeployment of Integration Flow Inline Channel

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 8


SAP NetWeaver Process Orchestration
Migration of directory content

Migrate classical PI scenarios to Using the new directory content migration tool, you
integrated configuration objects (ICOs) could considerably reduce the migration effort
 Supporting both Java-only and dual-stack
target systems
 Source PI system as of XI 3.0 and newer
 Tool runs in target system
 Automatic directory objects matching and
migration checks
 Renaming of objects via renaming rules
 Mass change support for communication
channels
Check out TechEd hands-on session
POP262: Migration Tool from Double
Stack to Single Stack Integration
Scenarios

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 9


SAP NetWeaver Process Orchestration
Integration visibility
Central, end-to-end integration visibility into the correct closure of business transactions.
Measure business SLAs, such as end-to-end processing times, error ratio, volumes, etc.
Integration discovery
 Discover integration flows in your landscape including processing
within SAP NetWeaver PI, SAP backend system layers such as
ALE, tRFC

Message Flow Monitor in SAP Solution Manager*


 Targeting IT & application support and business power users
 Monitoring along integration layers of message exchange
 Show relevant payload data, e.g., EDI number, order number, etc.
 Provide information of most common B2B related issues, e.g.,
flows with highest error ratio, overdue acknowledgements, etc.

Integration with SAP Operational Process Intelligence**


 Visibility and decision-support tool targeting line of business users,
providing real-time information of operations and processes
including message exchange * planned with SAP Solution Manager 7.1 SP10
 Events for message sent / received / in error / cancelled ** planned with SAP Operational Process Intelligence 1.1

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 10


Multiple interfaces for
starting a process
Multiple interfaces for starting a process

• Challenges
• Several different interfaces
• Order of appearance not predictable
• Mixture of cardinalities possible
(e.g. 1..1 or 1..n)
• Receiver expects aggregated message
comprising all interfaces

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 12


Multiple interfaces for starting a process
Standard BPMN options

• Solution 1
• Using several start events
• Assumption: Order Header contains
number of expected items

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 13


Multiple interfaces for starting a process
Standard BPMN options

• Solution 1
• Using several start events
• Assumption: Order Header contains
number of expected items

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 14


Multiple interfaces for starting a process
Standard BPMN options

• Solution 2
• Using instantiating parallel
event-based gateway
• Assumption: Order Header contains
number of expected items

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 15


Multiple interfaces for starting a process
Solution using “Super Interface”

Incoming Messages

1..1
1..1
Outgoing Message
1..n

0..1 “Super Interface” combining all incoming messages


0..1
0..1

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 16


Multiple interfaces for starting a process
Solution using “Super Interface” and “Conditional Start”

Same
Interface/Trigger
=
„Conditional Start“

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 17


Interfaces, Mappings,
Integration Flows
Multiple interfaces for starting a process

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 19


Multiple interfaces for starting a process
Messages to BPM

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 20


Multiple interfaces for starting a process
Aggregated message from BPM

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 21


Explaining “Conditional Start”
behavior
Multiple interfaces for starting a process
”Conditional Start” behavior

Non-conditional start process definition Non-conditional start process definition Conditional start process definition

Message for Trigger A arrives 1


2 2

Message for Trigger A arrives 2


1 3 3

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 23


Multiple interfaces for starting a process
”Conditional Start” behavior

Non-conditional start process definition Non-conditional start process definition Conditional start process definition

Message for Trigger A arrives 2


3 1 3 3

Message for Trigger A arrives 2


3 1 3

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 24


Multiple interfaces for starting a process
”Conditional Start” behavior

Non-conditional start process definition Non-conditional start process definition Conditional start process definition

Message for Trigger A arrives 2


1 1 3 1 3

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 25


Multiple interfaces for starting a process
”Conditional Start” behavior
Process Instances

4711
Conditional start process definition

Message Sequence
1. Message for Trigger A arrives with ID = 4711 4712
2. Message for Trigger A arrives with ID = 4712
3. Message for Trigger A arrives with ID = 4712
4. Message for Trigger A arrives with ID = 4713
5. Message for Trigger A arrives with ID = 4711 4713
6. Message for Trigger A arrives with ID = 4713

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 26


SCN Blog series on „Conditional Start“ scenarios
Overview, examples and technical details

http://scn.sap.com/community/bpm/blog/2013/03/25/boost-your-correlation-scenarios-with-conditional-start
© 2013 SAP AG or an SAP affiliate company. All rights reserved. 27
Integration-centric process
Multiple interfaces for starting a process

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 29


Multiple interfaces for starting a process

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 30


Multiple interfaces for starting a process

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 31


Multiple interfaces for starting a process

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 32


Multiple interfaces for starting a process

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 33


Multiple interfaces for starting a process

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 34


Multiple interfaces for starting a process

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 35


Multiple interfaces for starting a process

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 36


Running the exercise process
Demo
Starting a process with multiple interfaces
Further information

SAP Public Web


http://scn.sap.com/community/process-orchestration
http://www.sap.com/platform/netweaver/components/process-orchestration
http://scn.sap.com/community/process-orchestration/blog/2013/07/31/how-to-collect-and-aggregate-messages-with-different-interfaces

SAP Education and Certification Opportunities


Course BIT800
www.sap.com/education and search for BIT800 “SAP NetWeaver Process Orchestration –
Introduction”
Watch SAP TechEd Online
www.sapteched.com/online

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 39


SAP TechEd Virtual Hands-on Workshops and SAP TechEd Online
Continue your SAP TechEd education after the event!

SAP TechEd Virtual Hands-on Workshops SAP TechEd Online


 Access hands-on workshops post-event  Access replays of keynotes, Demo Jam, SAP TechEd
 Available January – March 2014 LIVE interviews, select lecture sessions, and more!
 Complementary with your SAP TechEd registration  View content only available online
http://saptechedhandson.sap.com/ http://sapteched.com/online

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 40


Feedback
Please complete your session evaluation for POP261.

Thanks for attending this SAP TechEd session.


© 2013 SAP AG or an SAP affiliate company. 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.

National product specifications may vary.

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 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.

Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 42

You might also like