Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
SAP NetWeaver Gateway
Service Development
Agenda
Data Model Definition
– Declarative model definition
– Import data model (EDMX)
– Import DDIC
– Import RFC/BOR Inte...
Introduction
SAP NetWeaver Gateway Service Builder
The SAP NetWeaver Gateway
Service Builder provides a tool to
centrally display and c...
Gateway Service Builder - development flow

Service
Definition
Gateway
Backend

Data Model Definition

(SEGW)

Service Gen...
Gateway Service Builder - development flow in detail

OData Service
Definition in
SEGW

Data Model
Definition
(MPC)

Servi...
Entity Data Model – Overview
An Entity Data Model (EDM) describes the organisation and relationship of the data resources ...
Service development
Gateway Service Builder – Modeling

OData Service
Definition in
SEGW

Data Model
Definition
(MPC)

Service
Implementation
...
Gateway Service Builder – outside in approach

OData Service
Definition in
SEGW

Data Model
Definition
(MPC)

Service
Impl...
Gateway Service Builder – Leveraging Data Dictionary

OData Service
Definition in
SEGW

Data Model
Definition
(MPC)

Servi...
Gateway Service Builder – Leverage RFC/BOR interfaces

OData Service
Definition in
SEGW

Data Model
Definition
(MPC)

Serv...
Demo – RFC/BOR Generator

© 2012 SAP AG. All rights reserved.

13
Service Builder – Result
ERP or Business Suite

External
Service Name

Registered Service
Name
Data
Provider
Class
Extensi...
Service registration
Gateway Service Catalogue (Hub Deployment)
A custom Gateway Service is always developed on top of the Gateway backend AddO...
Gateway service registration on the hub

Demo

SEGW has created a
•

Data Provider Class and a

•

Model Provider Class

•...
SAP NetWeaver Gateway
Service Generation
Agenda
Redefine services based on
 Easy Query
 MDX

 GENIL
 SPI

Include Gateway Servcies

© 2012 SAP AG. All rights r...
Service generation
Gateway Service Builder – Code generation based on
existing business objects in SAP PLM, EAM, …
OData Service
Definition i...
Gateway Service Builder – redefine existing services
Subtitle
Step1:
Generate a “technical” service which calls the
BW
Ste...
SAP NetWeaver Gateway – Analytical Integration
Consumer / Channel specific infrastructure

OData
SAP NetWeaver Gateway

Ea...
Service generation – SAP Business Warehouse
SAP NetWeaver Gateway
enables SAP BW content for
light weight consumption via
...
Service generation – based on SAP HANA
Via the new SAP NetWeaver
Gateway with SAP HANA
integration capability it is now
po...
Service generation based on SPI

© 2012 SAP AG. All rights reserved.

27
What is the Service Provider Interface – SPI ?

© 2012 SAP AG. All rights reserved.

28
Service Provider Enhancements - Overview
Some SPI objects do not offer a query method.
Solution:

© 2012 SAP AG. All right...
Gateway Service Builder – Gateway service mashup

OData Service
Definition in
SEGW

Data Model
Definition
(MPC)

Service
I...
Mashup Gateway services
Example
 To create a sales order you need two types
of master data “Customer” and “Products”.
Reu...
Upcoming SlideShare
Loading in …5
×

Autodesk Technical Webinar: SAP NetWeaver Gateway Part 1

1,142 views

Published on

SAP NetWeaver Gateway Service Development

Agenda:
Data Model Definition
–Declarative model definition
–Import data model (EDMX)
–Import DDIC
–Import RFC/BOR Interface
Service implementation
–Code based implementation
–Code based extenstions
–Mapping of RFC/BOR operations
Service registration
–Gateway Hub
–Gateway Backend

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Autodesk Technical Webinar: SAP NetWeaver Gateway Part 1

  1. 1. SAP NetWeaver Gateway Service Development
  2. 2. Agenda Data Model Definition – Declarative model definition – Import data model (EDMX) – Import DDIC – Import RFC/BOR Interface Service implementation – Code based implementation – Code based extenstions – Mapping of RFC/BOR operations Service registration – Gateway Hub – Gateway Backend © 2012 SAP AG. All rights reserved. 2
  3. 3. Introduction
  4. 4. SAP NetWeaver Gateway Service Builder The SAP NetWeaver Gateway Service Builder provides a tool to centrally display and create the definition of an OData Service.    Runtime artifacts (model provider class, data provider class, model and service) OData artifacts (entity set, entity type and properties) Used data sources and models Models can be created based on EDMX-Modeling. The modeling environment follows a project based approach, all relevant data is consolidated in this projects. © 2012 SAP AG. All rights reserved. 4
  5. 5. Gateway Service Builder - development flow Service Definition Gateway Backend Data Model Definition (SEGW) Service Generation Service Implementation (Code based or mapping) Gateway Server (/IWFND/MAINT_SERVICE) © 2012 SAP AG. All rights reserved. Service Registration and Hub Activation 5
  6. 6. Gateway Service Builder - development flow in detail OData Service Definition in SEGW Data Model Definition (MPC) Service Implementation (DPC) Service Maintenance © 2012 SAP AG. All rights reserved. Declarative Model Data Definition* Import Import DDIC/ Data Model Model Definition RFC/BOR (EDMX) Interface* Service Implementation RFC/BOR Code-Based Implementation* Map Code-Based Extensions* mapping) Operation* (Code based or Service Registration and Hub Activation Redefine Data Source Include Service Gateway Service (GenIL, SPI, Generation Service* BW Easy Query, MDX) * Repeatable within one service 6
  7. 7. Entity Data Model – Overview An Entity Data Model (EDM) describes the organisation and relationship of the data resources within a particular business scenario. Entity Sets are instances of entity types and can be accessed as follows: • http://<host>/<ServiceRoot>/SalesOrderItems • http://<host>/<ServiceRoot>/<Products At least one property must be nominated as a key field Entity Type: EDM basic building block. Represents specific business object An Entity Type is built from one or more properties Navigation implements an association © 2012 SAP AG. All rights reserved. Association: Relationship between two entity types 7
  8. 8. Service development
  9. 9. Gateway Service Builder – Modeling OData Service Definition in SEGW Data Model Definition (MPC) Service Implementation (DPC) Service Maintenance © 2012 SAP AG. All rights reserved. Declarative Model Definition* Import Data Model (EDMX) Code-Based Implementation* Code-Based Extensions* Import DDIC/ RFC/BOR Interface* Map RFC/BOR Operation* Service Registration and Hub Activation Redefine Data Source Service (GenIL, BOL, SPI, BW Easy Query, MDX) Include Gateway Service* * Repeatable within one service 9
  10. 10. Gateway Service Builder – outside in approach OData Service Definition in SEGW Data Model Definition (MPC) Service Implementation (DPC) Service Maintenance © 2012 SAP AG. All rights reserved. Declarative Model Definition* Import Data Model (EDMX) Code-Based Implementation* Code-Based Extensions* Import DDIC/ RFC/BOR Interface* Map RFC/BOR Operation* Service Registration and Hub Activation Redefine Data Source Service (GenIL, BOL, SPI, BW Easy Query, MDX) Include Gateway Service* * Repeatable within one service 10
  11. 11. Gateway Service Builder – Leveraging Data Dictionary OData Service Definition in SEGW Data Model Definition (MPC) Service Implementation (DPC) Service Maintenance © 2012 SAP AG. All rights reserved. Declarative Model Definition* Import Data Model (EDMX) Code-Based Implementation* Code-Based Extensions* Import DDIC/ RFC/BOR Interface* Map RFC/BOR Operation* Service Registration and Hub Activation Redefine Data Source Service (GenIL, BOL, SPI, BW Easy Query, MDX) Include Gateway Service* * Repeatable within one service 11
  12. 12. Gateway Service Builder – Leverage RFC/BOR interfaces OData Service Definition in SEGW Data Model Definition (MPC) Service Implementation (DPC) Service Maintenance © 2012 SAP AG. All rights reserved. Declarative Model Definition* Import Data Model (EDMX) Code-Based Implementation* Code-Based Extensions* Import DDIC/ RFC/BOR Interface* Map RFC/BOR Operation* Service Registration and Hub Activation Redefine Data Source Service (GenIL, BOL, SPI, BW Easy Query, MDX) Include Gateway Service* * Repeatable within one service 12
  13. 13. Demo – RFC/BOR Generator © 2012 SAP AG. All rights reserved. 13
  14. 14. Service Builder – Result ERP or Business Suite External Service Name Registered Service Name Data Provider Class Extension Class Registered Model Name Model Provider Class Extension Class Gateway Service © 2012 SAP AG. All rights reserved. 14
  15. 15. Service registration
  16. 16. Gateway Service Catalogue (Hub Deployment) A custom Gateway Service is always developed on top of the Gateway backend AddOns. In order to expose our new Gateway Service to the outside world, we must create an entry in the Service Catalogue on the Gateway Hub server. Gateway Hub External Name External Name Gateway Service Catalogue Gateway Server AddOns © 2012 SAP AG. All rights reserved. ERP or Business Suite Registered Service Data Provider Class Registered Model Model Provider Class Gateway Service Gateway Backend AddOns 17
  17. 17. Gateway service registration on the hub Demo SEGW has created a • Data Provider Class and a • Model Provider Class • plus extension classes These classes must be • registered and • activated in the Hub system © 2012 SAP AG. All rights reserved. 18
  18. 18. SAP NetWeaver Gateway Service Generation
  19. 19. Agenda Redefine services based on  Easy Query  MDX  GENIL  SPI Include Gateway Servcies © 2012 SAP AG. All rights reserved. 20
  20. 20. Service generation
  21. 21. Gateway Service Builder – Code generation based on existing business objects in SAP PLM, EAM, … OData Service Definition in SEGW Data Model Definition (MPC) Service Implementation (DPC) Service Maintenance © 2012 SAP AG. All rights reserved. Declarative Model Definition* Import Data Model (EDMX) Code-Based Implementation* Code-Based Extensions* Import DDIC/ RFC/BOR Interface* Map RFC/BOR Operation* Service Registration and Hub Activation Redefine Data Source Service (GenIL, BOL, SPI, BW Easy Query, MDX) Include Gateway Service* * Repeatable within one service 22
  22. 22. Gateway Service Builder – redefine existing services Subtitle Step1: Generate a “technical” service which calls the BW Step2 Beautification” of the external names Example  Generate services from existing business objects from (for example)      PLM and EAM CRM BW HANA Generate services based on existing Gateway services © 2012 SAP AG. All rights reserved. 23
  23. 23. SAP NetWeaver Gateway – Analytical Integration Consumer / Channel specific infrastructure OData SAP NetWeaver Gateway Easy Query MDX SAP NetWeaver BW SAP Business Suite Sync HANA CRM © 2012 SAP AG. All rights reserved. SRM SCM PLM ERP 24
  24. 24. Service generation – SAP Business Warehouse SAP NetWeaver Gateway enables SAP BW content for light weight consumption via OData. This happens by providing generators for - Easy Query - MultiDimensional eXpresions (MDX) © 2012 SAP AG. All rights reserved. 25
  25. 25. Service generation – based on SAP HANA Via the new SAP NetWeaver Gateway with SAP HANA integration capability it is now possible to connect to SAP HANA. Currently only Read-Only access is supported. The following information models can be exposed as an OData Service:  Attribute Views  Analytic Views  Calculation Views © 2012 SAP AG. All rights reserved. 26
  26. 26. Service generation based on SPI © 2012 SAP AG. All rights reserved. 27
  27. 27. What is the Service Provider Interface – SPI ? © 2012 SAP AG. All rights reserved. 28
  28. 28. Service Provider Enhancements - Overview Some SPI objects do not offer a query method. Solution: © 2012 SAP AG. All rights reserved. 29
  29. 29. Gateway Service Builder – Gateway service mashup OData Service Definition in SEGW Data Model Definition (MPC) Service Implementation (DPC) Service Maintenance © 2012 SAP AG. All rights reserved. Declarative Model Definition* Import Data Model (EDMX) Code-Based Implementation* Code-Based Extensions* Import DDIC/ RFC/BOR Interface* Map RFC/BOR Operation* Service Registration and Hub Activation Redefine Data Source Service (GenIL, BOL, SPI, BW Easy Query, MDX) Include Gateway Service* * Repeatable within one service 30
  30. 30. Mashup Gateway services Example  To create a sales order you need two types of master data “Customer” and “Products”. Reuse of existing Gateway services for    Customer and Products Leverage analytical read-only services from BW and Hana in CRUD-style service © 2012 SAP AG. All rights reserved. 31

×