Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Learning Objectives
SAP NetWeaver™
Turning Enterprise Services Architecture Vision Into Reality
information and
INFORMATION INTEGRATION
processes…
Bus. Intelligence Knowledge Mgmt … in 1 hub …
Agenda
Process Structure
Agenda
Process Structure
Start
Activate
Roll up
Data in ODS
Aggregates
Data Target
Build Indices
Maintenance
2003 SAP AG, TechED EMEA, BW 255, Peter/Rinneberg 6
Start
Concept Example:
Building a process
Drop IC control flow
Indices
Email
System Data Data Data
Admin Load A Load B Load C
Failure? Failure?
Email Email
System
Success off all 3? System
Data
Admin Admin
Load X
Build IC
Indices
2003 SAP AG, TechED EMEA, BW 255, Peter/Rinneberg 7
Automating BW activities
id e in
Graphical modelling and monitoring O u t s
Central monitoring of BW processes
i de out
High termination security
Ins
Moving “responsibility” into the individual processes
⇒ Responsibility:
Predecessor process is not
responsible to start the correct
successors and provide them
with necessary information
The successor processes are
only responsible to run correctly
and gather the necessary
information
⇒ Programming model:
Communication between
processes: Check the status info
of the predecessor process
Loose coupling of the processes
to guarantees extensibility
(ability to implement your own
process using ABAP OO)
e
e th
Not ble
ila
ava s
ces
pro es
typ
Agenda
Process Structure
Structure of a process
Variant – Configuration
Defines characteristics of this process object
Maintenance of variant is specific for every process type
Runtime:
Get the variant and predecessor list
Instantiate process object
Ask predecessors for information
Execution of the defined process
Report ending with status and instance
Start
Sequence of Object
Instantiation of a
Drop IC
Drop IC Process at Runtime
Predecessor Process Indices
Indices
Failure? Success?
Execute
ess
sor Proc
Email es
System input Information Data Succ
Admin Load
Failure?
Write Status, also:
Any Additional Information? Success? Email
System
Data Admin
Load X
Build IC
Drop IC
Indices
Indices
Instance
The instance is defined by a unique handle
(instance number, a GUID)
Store Worklist with instance – this information can
be given to successors
Store logs and protocols with instance
The instance has an execution status
Each instance is a batch job – a job count is
attached to it
Agenda
Process Structure
Collector Processes
Start
Concept Example:
Building a process
Drop IC control flow
Indices
Email
System Data Data Data
Admin Load A Load B Load C
Failure? Failure?
Email Email
System
AND Collector System
Data
Admin Admin
Load X
Build IC
Indices
2003 SAP AG, TechED EMEA, BW 255, Peter/Rinneberg 21
Application Processes
Application processes represent BW activities that are typically
performed as part of BW operations. Examples include:
Data load
Attribute/Hierarchy Change run
Aggregate rollup
Reporting Agent Settings
Agenda
Process Structure
Draw line to
connect
Drag and drop processes
Write a message
and fill in recipient
and type. Info
saved within
process variant.
Planning view
context menu
Agenda
Process Structure
If you...
...Have a simple, stand alone program to run in a chain
...Have a program, which is planned in batch by another
program or user
...then you can use the process type “ABAP” to run your
program in a chain.
However if you...
...Want to ask predecessor processes of your program
...Write a log , which should be displayed in the process monitor
...Have implemented an own monitor
...Have a customizing screen, which is more difficult than the
“parameters“ of a program
Interfaces: IF_RSPC_*
EXECUTE – Execution of the process
GET_INFO – Give Information to successors
GET_LOG – Give back messages
MAINTAIN – Maintenance of variants
GET_VARIANT – F4 for variants
GET_DEFAULT_CHAIN – Give default-chain for a process
CHECK – Check consisteny
GET_STATUS – Give status of instance
CALL_MONITOR – own monitoring tool
TRANSPORT – give back TLOGO-entry
CONTEXT_MENU – Enhance context-menu
Generic Services
CL_RSPC_VARIANT
Can be used, if your static worklist (cf. object model) can be saved as
table RSPC_T_RSCEDST, that is
FNAM, (SIGN), (OPTION), LOW, (HIGH)
Does the transport connection for you
You object will be known to TP as ‚R3TR‘ ‚RSPV‘
‚<TYPE><VARIANT>‘
If you need...
After Import
Related Objects
Additional Objects
...you can implement the interface IF_RSPV_TRANSPORT
Does object locking for you
Does deletion of variants for you
Provides an F4-help which is able to select...
with wildcards
by variant contents
RSPC_VARIANT_MAINTAIN
Create (Factory)
PAI
RSPC_VARIANT_GET
Save
Free
CL_RSPC_INSTANCE
Format RS_T_RSCEDST
Save
Get_Info
F4, selecting by one field of instance content
CL_RSPC_APPL_LOG
Saves mapping log handle vs. instance
Object = ‚BW_PROCESS‘, Subobject = <Type> Entry in slg0
required
Generates external number
Provides a display and retrieval method for the instance log
Agenda
Process Structure
Start
Remember the AND
collector process?
Drop IC
Indices
Email
System Data Data Data
Admin Load A Load B Load C
Failure? Failure?
Email Email
System
AND Collector System
Data
Admin Admin
Load X
Build IC
Indices
2003 SAP AG, TechED EMEA, BW 255, Peter/Rinneberg 44
Technical names
“Hidden” collector
processes are
displayed
You can call the administration of the current data target by using the
context menu for the following processes:
Construct Indexes
Delete Indexes
Construct database statistics
Roll-Up filled aggregates
Compress InfoCube
Activate ODS object data
Example: drag and drop a data load process to your process chain
and the Index drop and the Index create processes are
automatically inserted
InfoPackage Groups
From within the InfoPackage Group maintenance the button “Process
Chain” generates a process chain alike the group.
This migration can be executed manually with the function module
RSPC_MIGRATE_INFOPACKAGE_GROUP
Event Chains
The Event Collector (formerly also called Event Chain) is now the AND-
Process of the process chain
Migrating a manually created chain of events into a process chain is
difficult and fuzzy
There exists a report RSPC_MIGRATE_EVENT_CHAIN which browses
the system for reports planned waiting for an event and reports raising
an event, however the generated process chain may differ from the
existing event chain
Summary
Further Information
Public Web:
www.sap.com/bi
SAP Customer Services Network: www.sap.com/services/
Consulting Contact
Roy Wood, VP SAP NetWeaver Consulting Practice (r.wood@sap.com)
Questions?
Q&A
Feedback
Thank You !
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®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® are registered trademarks of
Microsoft Corporation.
IBM®, DB2®, DB2 Universal Database, OS/2®, Parallel Sysplex®, MVS/ESA, AIX®, S/390®, AS/400®, OS/390®,
OS/400®, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere®, Netfinity®, Tivoli®,
Informix and Informix® Dynamic ServerTM are trademarks of IBM Corporation in USA 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®, the Citrix logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® and
other Citrix product names referenced herein are trademarks of Citrix Systems, Inc.
HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World Wide Web Consortium,
Massachusetts Institute of Technology.
JAVA® is a registered trademark of Sun Microsystems, Inc.
JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license for technology invented
and implemented by Netscape.
MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One.
SAP, SAP Logo, R/2, R/3, mySAP, mySAP.com 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 in several other
countries all over the world. All other product and service names mentioned are trademarks of their respective
companies.