Вы находитесь на странице: 1из 26

SAP CLOUD PLATFORM

ABAP ENVIRONMENT

ABAP

SAP HANA

CNA381 – Build a List Report App


with SAP Fiori and ABAP Programming Model

PUBLIC
Speakers 2018

SAP TechEd Las Vegas Carine Tchoutouo Djomo


October 2–5, 2018 Volker Drees

SAP TechEd Barcelona Ingo Bräuninger


October 23–25, 2018 Thomas Gauweiler

Shyam Balachandran
SAP TechEd Bangalore Madhumitha MV
November 28–30, 2018
Karteek Majety

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2


Take the session survey.
We want to hear from you!

Be sure to complete the session evaluation


on the SAP TechEd mobile app.

Download the app from


iPhone App Store or Google Play.

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3


Disclaimer

The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the permission of SAP.
Except for your obligation to protect confidential information, this presentation is not subject to your license agreement or any other service
or subscription agreement with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or any related
document, or to develop or release any functionality mentioned therein.
This presentation, or any related document and SAP's strategy and possible future developments, products and or platforms directions and
functionality are all subject to change and may be changed by SAP at any time for any reason without notice. The information in this
presentation is not a commitment, promise or legal obligation to deliver any material, code or functionality. This presentation is provided
without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a
particular purpose, or non-infringement. This presentation is for informational purposes and may not be incorporated into a contract. SAP
assumes no responsibility for errors or omissions in this presentation, except if such damages were caused by SAP’s intentional or gross
negligence.
All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from
expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates,
and they should not be relied upon in making purchasing decisions.

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4


ABAP Strategy

CNA120
CNA381

Optimize Your Custom ABAP Code


for SAP HANA

CNA319
See the Big Picture of the ABAP
RESTful
Programming Model
CNA215

A Technical Deep Dive into the


ABAP RESTful
Programming Model
CNA216

1 hour lecture
Automated Testing with the ABAP
RESTful Programming Model
CNA317

Custom Code Adaptation for


SAP S/4HANA
CNA302

2 hours hands-on workshop

Build a List Report App with SAP


Fiori and ABAP Programming Model
CNA381

Build a Transactional SAP Fiori App


with the ABAP Programming Model
CNA379

1 hour codejam

Custom Code Adaptation for SAP


S/4HANA
CNA364
Build a List Report App with SAP Fiori and ABAP Programming Model
HOW TO MOVE YOUR ABAP SKILLS TO THE CLOUD AND SAP HANA

Build an SAP Fiori App with the


ABAP Programming Model
CNA654

Troubleshoot Your SAP Fiori App


with ABAP Development Tools for
Eclipse
CNA653
Agenda

Modern application development for SAP HANA

Today’s end-2-end scenario: Overview

Today’s end-2-end scenario: Exercises

Summary and outlook

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 6


MODERN APPLICATION DEVELOPMENT
FOR SAP HANA
ABAP Platform – The evolution
Innovations driven by SAP HANA and SAP S/4HANA

SAP NW AS for ABAP 7.5 / SAP NW AS for ABAP 7.51 SAP NW AS for ABAP 7.52
SAP NW AS for ABAP 7.x SAP NW AS for ABAP 7.4
7.6x packages for cloud / 7.6x packages for cloud / 7.7x packages for cloud

SAP Business Suite EHP x SAP Business Suite EHP 7 SAP Business Suite EHP 8 innovation package for Innovation package for
SAP NW AS for ABAP 7.51 SAP NW AS for ABAP 7.52
SAP NetWeaver 7.x SAP NetWeaver 7.4 SAP NetWeaver 7.5
SAP S/4HANA 1610 SAP S/4HANA 1709
SAP BW 7.4 SAP BW 7.5
SAP S/4HANA Cloud SAP S/4HANA Cloud
SAP S/4HANA Finance
SAP S/4HANA 1511
SAP S/4HANA Cloud

< 2013 2013 / 2014 2015 2016 2017

SAP S/4HANA
SAP HANA SAP Fiori UX
Cloud

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8


Modern application development with ABAP Platform 7.5x

Focus on User Exploit SAP HANA


Efficient development Cloud
Experience capabilities

On any device ABAP-managed code Secure app development, Extensibility


pushdown high code quality
Role-based
Agile & test driven
Device switch and
collaboration Customer code adaptation
Browser-based ABAP programming
model

SQL, Core Data Services In-app extensibility,


ABAP Tools,
SAP Fiori and SAPUI5 and SAP HANA code SAP Cloud Platform
Development methodology
breakouts

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9


ABAP Programming Model for SAP HANA-optimized SAP Fiori Apps
At a glance

Freestyle or templates based UI development


SAPUI5 Client
SAPUI5 / SAP Fiori Elements

OData protocol infrastructure OData


SAP Gateway

SAP Gateway
Effective and efficient application development
Modern ABAP language and development tools
ABAP Application Core Data
Development Frameworks Services
Transaction, error and event handling services
CDS-based Business Object Processing Framework (BOPF)
SAP NetWeaver
One common data modelling technology for all scenarios
Core Data Services (CDS) SQL

Exploit SAP HANA features and performance


SAP HANA
ABAP Managed Database Procedures and CDS Table Functions

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10


Next generation data modelling and access with CDS
Combine the best of two worlds

VIEW BUILDING
SQL views with restricted feature
set for SAP HANA capabilities
VIEW BUILDING
ABAP AS Advanced SQL view building
LIFECYCLE MANAGEMENT leveraging DDIC semantics
ABAP lifecycle management e.g. Code pushdown with various built-in
transports SQL functions and expressions
ABAP type system Code breakouts to utilize native
SAP HANA features and capabilities
(CDS Table Functions)
VIEW BUILDING
+
Specialized views (analytical
views, attribute views, calculated LIFECYCLE MANAGEMENT
views, …)
ABAP CDS
Proven and consistent ABAP lifecycle
management e.g. transports
LIFECYCLE MANAGEMENT SAP HANA ABAP type system
Non ABAP lifecycle Consumption in Open SQL and ABAP
management e.g. transports frameworks
Non ABAP type system

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 11


Major development artefacts in the ABAP Programming Model
CDS: Core Data Services
MDE: Metadata Extension
UI rendering BOPF: Business Object Processing Framework

APP
Default sorting, filtering, search
and paging

OData CDS Entities


GET BO behaviour (actions, validations,
PUT / POST* determinations, locks and draft)*

UI ANNOTATIONS (CDS MDE)

ABAP COMMON
APPLICATION CDS BASED
SERVER DATA MODELL
BUSINESS OBJECT (CDS-BASED BOPF BO)*

SQL

CDS ROLES
Database artefacts

Grouping and aggregation for free


CDS VIEW EXTENSIONS
SAP HANA
Access authorizations

*) Only required for transactional apps (session CNA379)


Field extensibility and thus will not be considered in this hands-on.
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12
TODAY’S END-2-END SCENARIO
OVERVIEW
Build a SAP Fiori app with analytical and filtering capabilities

Adapt Filters
function

Visual Switch
Filter between
visual and
compact
filters

Column
Chart

Smart Table

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 14


Underlying simplified Flight data model

Contact

ItineraryStatus Itinerary Booking

Currency
Airport (from)

Airline EarthRoute

Main business entities in current scenario


Airport (to)
Secondary business entities in current scenario

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 15


TODAY’S END-2-END SCENARIO
EXERCISES
What you have to do

A Set up your ABAP Development Tool for Eclipse

ABAP Core Data Service (CDS) and OData Services


B
Create your CDS data model and expose it as OData service

C Create your SAP Fiori Elements Application

ABAP CDS Metadata Extensions


D
Enrich your app with UI semantics capabilities, incl. a column chart

SAP Cloud Platform Web IDE Annotation Modeler


E
Enhance your app with visual filters using the SAP Web IDE Annotation Modeler

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 17


Demo

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 18


… 3 … 2 … 1 … Let’s get started!

Move at your own speed!


Feel free to ask your questions!

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 19


SUMMARY & OUTLOOK
ABAP Programming Model for SAP Fiori
Key takeaways

Where to safely invest now?

The ABAP programming model for SAP Fiori is available and still evolving
Documentation available on the SAP Help Portal: ABAP Programming model for SAP Fiori

Use ABAP Core Data Services (CDS) – The next generation data modelling and access
Use CDS / BOPF integration and get familiar with BOPF concepts like determinations, validations and actions
Use OData exposure: @OData.publish:true or SEGW with Referenced Data Source for OData V2
Avoid DPC / MPC specific coding
Check out blog: Be prepared for the ABAP programming model in SAP S/4HANA

Avoid the use of OData V4 for your business scenario as for now
Go for an implementation based on the new ABAP programming model – It will provide OData V4 soon
If you must use OData V4 now then go for a code-based implementation but use CDS views for read access!

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 21


The ABAP RESTful Programming Model
Cloud-first delivery approach in SAP Cloud Platform ABAP Environment

SERVICE SAP Fiori UI A2X


CONSUMPTION Consume OData UI services Consume OData A2X services

SERVICE BINDING
BUSINESS Bind the service to OData protocol
SERVICES
PROVISIONING SERVICE DEFINITION
Define scope to be exposed

BUSINESS OBJECTS QUERIES

Data modelling with CDS


DATA MODELLING &
BEHAVIOUR Behaviour definition Data modelling with CDS

Behaviour implementation
with ABAP

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC


CNA215 23
ABAP Platform Strategy – Further leveraging SAP HANA’s power

on premise on premise cloud

SAP Business Suite 1 SAP S/4HANA On Premise SAP S/4HANA Cloud SAP Cloud Platform ABAP
SAP NetWeaver hubs ABAP add-ons for SAP S/4HANA SAP Integrated Business Planning Environment
SAP NetWeaver add-ons Custom applications Extensions for SAP S/4HANA
Custom applications

SAP NETWEAVER AS FOR ABAP PLATFORM


SAP S/4HANA ABAP PLATFORM CLOUD
ABAP 7.5x 2 AS A SERVICE

NO STANDALONE ABAP PLATFORM


3
INSTALLATION WHITELISTED APIs
CLASSIC ABA LAYER
NEW ABA LAYER NEW ABA LAYER NEW ABA LAYER
ANY DB & SAP HANA
SAP HANA ONLY SAP HANA ONLY SAP HANA ONLY

MAINTENANCE
ONE COMMON ABAP PLATFORM INNOVATION CODELINE
CODELINE
1 2 3
ABAP 7.50 7.50, 7.51 and 7.52 starting with 1809 delivery
This is the current state of planning and may be changed by SAP at any time.
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 24
SAP TechEd online / SAP Community

Access replays of:


 Keynotes
 SAP TechEd live interviews
 Selected lecture sessions

http://sapteched.com/online

Continue your SAP TechEd discussion after


the event within SAP Community:
 Read and reply to blog posts
 Ask your questions
 Join conversations

sap.com/community
See all SAP TechEd blog posts

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 25


Further information

Related SAP TechEd content journeys


CNA6 – How to Move Your ABAP Skills to the Cloud and SAP HANA
CNA4 – How to get to SAP S/4HANA

Related SAP TechEd sessions


CNA120 – ABAP Strategy
CNA215 – Set the Big Picture of the ABAP RESTful Programming Model
CNA216 – A Technical deep dive into the ABAP RESTful Programming Model
CNA317 – Automated Testing with the ABAP RESTful Programming Model
CNA319 – Optimize your Custom ABAP Code for SAP HANA
CNA379 – Build a transactional SAP Fiori App with the ABAP Programming Model
CNA654 – Build a SAP Fiori App with the ABAP Programming Model
CNA653 – Troubleshoot Your SAP Fiori App with ABAP Development Tools for Eclipse

Public SAP Web sites


ABAP Development Community: https://www.sap.com/community/topic/abap.html
SAP products: www.sap.com/products

SAP training and certification opportunities


www.sap.com/education
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 26
Thanks for attending this session.

Feedback Contact for further topic inquiries

Please complete your session Carine Tchoutouo Djomo


Product Management of Technology Platform
evaluation for CNA381. carine.tchoutouo.djomo@sap.com

© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 27

Вам также может понравиться