More Related Content
Similar to SAP HANA SPS10- Extended Application Services (XS) Programming Model (20)
More from SAP Technology (20)
SAP HANA SPS10- Extended Application Services (XS) Programming Model
- 1. 1© 2014 SAP AG or an SAP affiliate company. All rights reserved.
SAP HANA SPS 10 – What’s New?
Extended Application Services (XS) Programming Model
SAP HANA Product Management June, 2015
(Delta from SPS 09 to SPS 10)
- 2. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 2
Roadmap SAP HANA Extended Application Services
Summary
Today
New Database interface
Core XSJS APIs
SMTP
ZIP
XML
Secure Store
AntiVirus
Integrated Web Dispatcher
XSDS
CDS Improved Lifecycle
Management capabilities
Odata
Profiler
Odata Explorer
Null and eTag support
Future Direction (SPS 11 and
beyond)
Additional runtime containers
Node.js
Java (TomEE)
C/C++
Application Services can scale
independently from database and
offer new security options
Odata implementation based upon
Apache Olingo
Move from Repository to GIT
HDI: HANA Deployment
Infrastructure
Containers for schema free content
Planned Innovations (SPS 10)
Translation Tool
SQLCC Auto User
Self Service Improvements
HDBSYNONYM (Design time Synonym)
CDS Improvements
Extend HANA SQL Function Support
GIS Types and Functions
Global temporary column tables
Foreign keys of managed associations in
definition of other associations
Filter Conditions and prefix notation
Series Entities
SQLScript Improvements (see separate
What’s New for SQLScript)
This is the current state of planning and may be changed by SAP at any time.
- 4. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 4
HANA XS SPS 10: HANA XS Admin Tool: Translation
New tool specifically design for
performing online translations
URL: /sap/hana/xs/translationTool/
Role:
sap.hana.xs.translationTool.roles::translator
- 5. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 5
HANA XS SPS 10: HANA XS Admin Tool: SQLCC Auto User
New parameter for SQLCC:
role_for_auto_user
Allows for the generation of an automatic
user and the specification of a single role
you wish to assign to that user
You can now transport a DU with SQLCC
and it is ready to use without any user
creation or administrative setup
- 6. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 6
HANA XS SPS 10: HANA XS Admin Tool: Self Service Improvements
User Self Service e-mail templates can now
be customized
- 7. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 7
HANA XS SPS 10: HDBSYNONYM
New development artifact for SPS 10 to
allow for the design time definition of
Synonyms upon catalog tables
• Especially useful for access to ERP and
other ABAP created tables
{ "acme.com.app1::MySynonym1" :
{ "target" :
{ "schema": "DEFAULT_SCHEMA",
"object": "MY_ERP_TABLE_1" },
"schema": "SCHEMA_2" } }
- 9. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 9
HANA XS SPS 10: Core Data Services
Mission Statement
CDS provides an enriched data model
CDS allows for graceful life-cycle management
CDS allows for extending the meta-model
Features coming with SPS 10
Extend HANA SQL Function Support
GIS Types and Functions
Global temporary column tables
Foreign keys of managed associations in definition of other associations
Filter Conditions and prefix notation
Series Entities
Code Completion in the Web-based Development Workbench
- 10. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 10
HANA XS SPS 10: CDS - Extend HANA SQL Function Support
CDS now supports almost all HANA SQL functions
The following functions are not supported:
• The functions in the section Fulltext Functions
• The functions in the section Window Functions
• the functions GROUPING, GROUPING_ID, MAP in the section Miscellaneous
Functions
- 11. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 11
HANA XS SPS 10: CDS - GIS Types and Functions
Definition of entities with GIS element
types in SPS 09
SPS 10 adds GIS functions define view BPAddrExt as select from
MD.BusinessPartner {
PARTNERID,
ADDRESSES.STREET || ', ' ||
ADDRESSES.CITY as FULLADDRESS,
round( ADDRESSES.POINT.ST_DISTANCE(NEW
ST_POINT(8.644072, 49.292910), 'meter')/1000,
1) as distFromWDF03
};
- 12. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 12
HANA XS SPS 10: CDS - Global temporary column tables
Added support for global
temporary column tables
• Temporary global column
tables must not have a key nor
an index.
• Note that a temporary
entity/table cannot be changed
when the table is in use by an
open session
@Catalog.tableType : #TEMPORARY_GLOBAL_COLUMN
entity ProductTemp {
PRODUCTID: String(10);
DATETIME: UTCDateTime;
USERNAME: String(20);
};
- 13. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 13
HANA XS SPS 10: CDS - Foreign keys of managed associations in
definition of other associations
Up to SPS 09, the appearance of
“circular” associations caused an
error.
Now, the compiler recognizes that
the referenced field is actually
part of the base entity and thus
can be obtained without following
the association in such
relationships
entity Header {
key id : Integer;
toItems : Association[*] to Item on
toItems.head.id = id;
};
entity Item {
key id : Integer;
head : Association[1] to Header { id };
};
- 14. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 14
HANA XS SPS 10: CDS - Foreign keys of managed associations in
definition of other associations
Up to SPS 09, the appearance of
“circular” associations caused an
error.
Now, the compiler recognizes that
the referenced field is actually
part of the base entity and thus
can be obtained without following
the association in such
relationships
entity Header {
key id : Integer;
toItems : Association[*] to Item on
toItems.head.id = id;
};
entity Item {
key id : Integer;
head : Association[1] to Header { id };
};
- 15. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 15
HANA XS SPS 10: CDS - Filter Conditions and prefix notation
When following an association, it
is now possible to apply a filter
condition, which is mixed into the
ON-condition of the resulting
JOIN
view BPOrdersView as select from BusinessPartner {
PARTNERID,
orders[LIFECYCLESTATUS='N'].SALESORDERID as orderId
};
- 16. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 16
HANA XS SPS 10: CDS - Filter Conditions and prefix notation
Associations
with filters are never combined.
In order to tell the compiler that
there actually is only one
association, you have to use the
prefix notation
view BPOrders2View as select from BusinessPartner {
PARTNERID,
orders[LIFECYCLESTATUS='N'].{ SALESORDERID as orderId,
GROSSAMOUNT as grossAmt }
};
- 17. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 17
HANA XS SPS 10: CDS - Filter Conditions and prefix notation
Prefixes can be nested:
view BPOrders3View as select from BusinessPartner {
PARTNERID,
orders[LIFECYCLESTATUS='N'].{ SALESORDERID as orderId,
GROSSAMOUNT as grossAmt,
ITEMS[NETAMOUNT>200].{ PRODUCT.PRODUCTID,
NETAMOUNT }
}
};
- 18. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 18
HANA XS SPS 10: CDS - Series
CDS syntax now supports the
HANA Series keyword
entity MySeriesEntity {
key setId : Integer;
key t : UTCTimestamp;
value : Decimal(10,4);
series (
series key (setId)
period for series (t)
equidistant increment by interval 0.1 second
)
};
- 19. © 2015 SAP SE or an SAP affiliate company. All rights reserved.
Thank you
Contact information:
Thomas Jung
Product Management SAP HANA
thomas.jung@sap.com