DEV112

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

SAP HANA Extended Application

Services Native Development:


Lockheed Martin
DEV112
Tim Champagne – Lockheed Martin
Derek Since – Deloitte Consulting

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED.


Learning Points

 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

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 2


Best Practices

 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

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 3


Key Learnings

 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

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 4


LM Tech Overview & Project Background
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 200 GB
replicated
Frequency of data replication Daily

# of HANA tables 100-125


Technical Environment Max Size of HANA tables 1 billion rows (CDR records)
# of Information Views Around 200 (for initial release)
~Source systems spanning across multiple platforms
comprised of HANA Views
( SAP ECC, SQL Server, Excel, PIOS etc.) through (Attribute, Analytic, Calculation)
SLT or BO Data Services via flat files Data granularity in HANA Atomic
HANA rev 82, BOBJ 4.1
Query data volume 100M< rows

Results
• 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

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 5


Span Compression Tool Overview

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 6


Ticketing System Overview

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.

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 7


Why use SAP HANA XS?
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

Option 1 Option 2 Option 3


Use JIRA or HP QC and build an Custom App using a coding HANA XS
interface back to HANA language such as JAVA or C++ • Pro - In the sweet spot of what
• Pro - Quick front end with connection to SAP HANA DB XS is built for, simplified
development and existing • Pro - Could draw on a larger system architecture, provides
resources with product resource pool solid base for future custom
knowledge • Con - Environment integration apps
• Con - Potentially complex could be complex or potentially • Con - New/Unknown
interface build not as natural as XS technology

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 8


What is SAP HANA XS?

 Client UI’s handle the


presentation logic

 Applications handle the


control flow logic

 SAP HANA handles the


calculation logic

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 9


Application User Interface

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 10


Development Resources
– 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/

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 11


Key Development Knowledge Points
– 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.

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 12


Key Development Knowledge Points
– 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

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 13


Questions??
– For any questions after this session please reach out to Tim
Champagne or Derek Since
[email protected]
[email protected]

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 14


THANK YOU FOR PARTICIPATING

 Feedback
 Please complete a session evaluation for session DEV112!

© 2015 LOCKHEED MARTIN CORPORATION. ALL RIGHTS RESERVED. 15

You might also like