SAP HANA Extended Application Services Native Development...

16
© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. SAP HANA Extended Application Services Native Development: Lockheed Martin DEV112 Tim Champagne Lockheed Martin Derek Since Deloitte Consulting

Transcript of SAP HANA Extended Application Services Native Development...

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

SAP HANA Extended Application

Services Native Development:

Lockheed Martin

DEV112

Tim Champagne – Lockheed Martin

Derek Since – Deloitte Consulting

2 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

Learn a real world example of the decision

criteria put in to using SAP HANA XS

Learn a little bit about what SAP HANA XS

really is

Understand the key considerations and

resources available when getting started with

SAP HANA XS

Learning Points

3 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

If you do not have a SAP HANA XS skilled

developer, one that is experienced in object

oriented application development can get up

to speed quickly

Take the time to read over the developer

guide before starting development

Understand your application functional and

security requirements and how to implement

them with SAP HANA XS

Best Practices

4 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

When and when not to use SAP HANA XS

Best resources to use while developing

Tips and Tricks for development

How to implement user security with

SAP HANA XS

Key Learnings

5 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

• With SAP HANA, Lockheed has been able to efficiently analyze many billions of rows of data in as little as 16 seconds.

• Executives can now dynamically aggregate, analyze supply chain performance to deliver more effective results.

• The business is now using the results to attack the most impactful part long lead times as well achieving a level of demand planning not possible before

Results

Technical Environment

~Source systems spanning across multiple platforms

( SAP ECC, SQL Server, Excel, PIOS etc.) through

SLT or BO Data Services via flat files

HANA rev 82, BOBJ 4.1

Project Overview

The Lockheed Martin Advanced Analytics project was

designed to improve the overall supply chain performance

and thereby help client save on cost and time. The

Lockheed/Deloitte team consists of supply chain experts,

SAP and HANA technologists and advanced analytics

modelers.

Database – SAP HANA

HANA DB size 1/2 TB(in memory), 7 TB

Average Monthly Volume of data

replicated

200 GB

Frequency of data replication Daily

# of HANA tables 100-125

Max Size of HANA tables 1 billion rows (CDR records)

# of Information Views Around 200 (for initial release)

comprised of HANA Views

(Attribute, Analytic, Calculation)

Data granularity in HANA Atomic

Query data volume 100M< rows

LM Tech Overview & Project Background

6 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

Span Compression Tool Overview

7 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

Lead Time Accuracy and Compression “tickets” will capture key data

about lead time correction activities and will allow for dialogue/direction

between the Overall Demand/Supply organization and the various

executing functions.

Ticketing System Overview

8 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

Some of the basic requirements around building a ticketing system were:

• 1) The need to write back to a HANA DB

• 2) A user friendly front end that hundreds of buyers will be using on a daily basis

Why use SAP HANA XS?

Option 1

Use JIRA or HP QC and build an

interface back to HANA

• Pro - Quick front end

development and existing

resources with product

knowledge

• Con - Potentially complex

interface build

Option 2

Custom App using a coding

language such as JAVA or C++

with connection to SAP HANA DB

• Pro - Could draw on a larger

resource pool

• Con - Environment integration

could be complex or potentially

not as natural as XS

Option 3

HANA XS

• Pro - In the sweet spot of what

XS is built for, simplified

system architecture, provides

solid base for future custom

apps

• Con - New/Unknown

technology

9 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

Applications handle the

control flow logic

SAP HANA handles the

calculation logic

What is SAP HANA XS?

Client UI’s handle the

presentation logic

10 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

Application User Interface

11 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

– open.SAP.com

• Free Courses on HANA XS Native Development

– Introduction to Software Development on SAP HANA

– Next Steps in Software Development on SAP HANA

– help.sap.com/hana_platform

– SAP HANA UI Development Toolkit

• Control Gallery

– With source code and ability to edit and view changes.

• API Reference

• Test Suite of example applications

• Installed on SAP HANA Server with SAP HANA XS

– hostname:port/sap/ui5/1/sdk/index.html

– https://sapui5.netweaver.ondemand.com/sdk/

Development Resources

12 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

– Data Services

• OData Service

– Open specification standards for communicating data over the web.

– Any existing HANA table or view is able to be used by the OData service.

– Supports CRUD operations, query parameters.

Key Development Knowledge Points

13 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

– User Handling

• Application-access

– Controlled by creating a .xsaccess file

– Authenticate User through Single Sign On

– Check for specific roles assigned to the user.

• SAP HANA User Creation

– Standard vs. Restricted

• SQL Configuration Connection (SQLCC)

– Logon maps to the personal DB user

• User only needs XS Privileges

– XS Privilege checks are done with this user

– Packages with configured default connection

• All SQL connections (xsjs and OData) are opened for

the configured connection, which is thus used for

checking all SQL privileges

Key Development Knowledge Points

14 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

– For any questions after this session please reach out to Tim

Champagne or Derek Since

[email protected]

[email protected]

Questions??

15 © 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.

THANK YOU FOR PARTICIPATING

Feedback

Please complete a session evaluation for session DEV112!