agfa's journey towards an integrated data platform with bw ... agfa... · agfa's journey...

31
Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven – Business Process Analyst @ Agfa Gunther Van Eyck – BI Consultant @ Cubis

Upload: ngothu

Post on 08-Feb-2018

223 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Agfa's journey towards an integrated data platform

with "BW on HANA"

Eric Van Kerckhoven – Business Process Analyst @ Agfa

Gunther Van Eyck – BI Consultant @ Cubis

Page 2: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Agenda

What we won’t answer today (a.k.a. things you’ve heard before)

o What is HANA?

o What new objects are available?

o How do the new objects work exactly?

2

What we will answer today (a.k.a. what you want to know)

o How to start with mixed BW-HANA scenario’s?

o What choices did Agfa make along the way, and why?

Page 3: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

3

Agenda

Agfa System Setup Architecture Flow (Re)design

Page 4: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

4

Parent Company CC and GSS

Agfa-Gevaert GroupBelgian

CompaniesAgfa-Gevaert NV

Agfa Healthcare NVAgfa Graphics NV

GSSAgfa ICSGlobal HR/Purchasing/Logistics

CC = Corporate CenterGSS = Global Shared Services

Technology Optimization: For Graphics, Healthcare and Specialty Products alike, Agfa ICS drives optimization to the

enterprise by aligning our client’s technology and operations strategies. Our professionals endeavor to improve client technological

capacities while cultivating operational efficiency, effective service delivery and optimal cost savings.

World’s first large-area flexible OLED

Graphics HealthCare Specialty Products

Page 5: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

HANA @ Agfa

2015 2016 2017 2018

StartSAP HANA ProgramBring all SAP systems to HANA

5

HE BW on HANA

SP & GS BW on HANA

Mixed data flowpreparation- Auth. & Transport- HANA Studio- Team Training

Mixed data flow building

BW on HANA optimizations

SP ECC on HANA

HE ECC on HANA

Page 6: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

SYSTEM SETUP

6

Page 7: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

First, we made a choice…

• Let’s start with what we know and graduallyincorporate HANA in the modeling strategy– Keep using BW to bring in the data

– Keep using BEx as the data access point (for now)

BW-HANA mixed scenario’s

• Advantages– Leverage historic efforts in BW/BEx

– Authorizations via BW

– Masterdata via BW

7

Page 8: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Step 1: Authorizations

• BW Authorizations for development with HANA Studio (ADT+BWMT)– Involved objects: S_RFC, S_TCODE, S_ADT_RES

– SAP_BC_DWB_WBDISPLAY [OR] SAP_BC_DWB_ABAPDEVELOPER can be used as template, but they contain far too much!

– Don’t forget to add /sap/bw/modeling/* for BWMT

8

Page 9: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Step 1: Authorizations

• BW Authorizations for the new BW Objects

– Added auth.

• Composite Provider – Local S_RS_CPRO (Local & Ad-Hoc)

• Composite Provider – Central S_RS_HCPR (Central – NEW)

• Open ODS View S_RS_ODSV

• Advanced DSO S_RS_ADSO

– Not (yet) added auth.

• Semantically Partitioned Object S_RS_LPOA

• Hybrid Provider S_RS_HYBR

9

Page 10: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Step 1: Authorizations

• HANA Content Authorizations for generated views

– Transaction RS2HANA_ADMIN

– Program RS2HANA_AUTH_RUN is scheduled hourly on all BW systems via a process chain

10

Page 11: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Step 2: Install HANA Studio

• Use a Landscape XML file and SSO to distribute logon-information easily

• Add ADT (ABAP Development Tools) including BWMT (BW Modeling Tools) via https://tools.hana.ondemand.com/

11

Check for updates

regularly!

Page 12: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Step 2: Install HANA Studio

• Perspectives– HANA

• System-based• Package structure• Table, view, procedure, …

– BW• Project-based• InfoArea structure• aDSO, CompositeProvider, …• Attach HANA system

– ABAP • Project-based• Package structure• Programs, CDS, …

12

Page 13: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Step 3: Structuring Content

• Think about naming conventions– New BW Objects– HANA Objects

• Think about the package structure– Packages are an important concept for the HANA authorization setup– A good structure will provide clarity and easy navigation for others– In BW we typically use only 1 package (ZBW, ZBI, Z<SYSID>) because:

• Infoareas are used for structuring data-flow objects• Roles are used for structuring report access

Discuss between Business/BW team/Basis team first, as each might have a different ‘viewing angle’ Cubis templates are available as starting point

13

Page 14: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Step 3: Structuring Content (Agfa)

14

Transportable Content

Modeling

Reporting

Local Content

Generated Views

Testing Ground

InfoAreas

Roles

User-ID’s

Page 15: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Step 4: Transports

• Import/Export

• HANA Native (HALM)

• CTS+ (extension of CTS to allow non-ABAP objects)

– HANA Transport Container (HTC)

– HANA Transport for ABAP (HTA) (possible from 7.4 SP11)

15

Page 16: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Step 4: Transports

HANA Transport for ABAP (HTA)1. Use transaction SCTS_HTA to choose the objects you want to transport2. Business as usual

– Transporting individual objects is possible– No need for a Delivery Unit– No need for a Transport Container

16

Page 17: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

ARCHITECTURE

17

Page 18: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

LSA(++)

User centric, specific, volatile, flexible

Data centric, general, steady, consistent

18

Page 19: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

HANA Impact

Virtual Objects

(comp. provider, calc. views)

Persistent Objects

(aDSO)

19

Page 20: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

20

✓ Shorter development timeso Quick changeso No reloadso More freedom w.r.t. types/formats

✓ JOINS are easy and obvious for others✓ Add objects (historically) without

reloading

✓ Data is static/reliable for a chosen period

✓ Very complex business-logic can still beeasier/clearer in ABAP

Calculations depend on ‘time-of-load’

Persistence of the result is mandatory(regulation)Snapshot dataPerformance issues

Calculations depend on ‘time-of-reporting’

Results consume a lot of spaceResults deliver redundant data

Reasonsto use…

Don’t usewhen…

Virtual Persistent

Page 21: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

FLOW (RE)DESIGN

21

Page 22: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Flow (re)design

22

HANA HANA

DSO cube multiprovider

aDSO composite provider

Datasource

Page 23: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Flow (re)design

23

HANA HANA

aDSO composite provider

ext HANA view calculation view

Datasource

Page 24: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Flow (re)design

24

HANA HANA

composite provider

calculation view

aDSO

Table/View

Page 25: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Example – Picking Flow

25

HANA HANA

Picking Transport Costs

filters & calculations

join

Page 26: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Example – ABAP translation

26

Page 27: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Lessons Learned

27

SAP GUI > Only shows BW objects1

HANA views convert BW datatypes2

date, time > NVARCHARfloating point > DOUBLE(numeric char > NVARCHAR sometimes)

order of operations?

join > filter | filter > join

function REPLACE_INVALID_CHARS

HANA equivalent?

3

4

Page 28: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Lessons Learned

28

Conversions of objects can’t be reversed7

convert flow > interpret the logic, in stead of literal translation6

Always link HANA-fields back to InfoObjects (when applicable)5

Re-use of MasterdataRe-use of VariablesRe-use of Authorisations

Still some bugs / teething troubles8

Page 29: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

A paradigm shift needs a change in mindset

29

Challenge yourself to actively think about ‘other options’2

Look out for opportunities to (re)design1

When (major) changes are requested to existing flowsWith each new business request

Do we need to do this in ABAP?Is this something we want to do virtual or persistent?

Page 30: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

Questions...

30

Page 31: Agfa's journey towards an integrated data platform with BW ... Agfa... · Agfa's journey towards an integrated data platform with "BW on HANA" Eric Van Kerckhoven –Business Process

31

Thank You

cubis