SlideShare a Scribd company logo
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

© 2012 SAP AG. All rights reserved.

2
Introduction
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
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
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
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
Service development
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
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
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
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
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
Extension
Class

Registered Model
Name
Model
Provider
Class
Extension
Class

Gateway Service

© 2012 SAP AG. All rights reserved.

14
Service registration
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
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
SAP NetWeaver Gateway
Service Generation
Agenda
Redefine services based on
 Easy Query
 MDX

 GENIL
 SPI

Include Gateway Servcies

© 2012 SAP AG. All rights reserved.

20
Service generation
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
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
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
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
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
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 rights reserved.

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

More Related Content

PDF
NetWeaver Gateway- Introduction to REST
PDF
NetWeaver Gateway- Extend the Reach of SAP Applications
PDF
SAP NetWeaver Gateway - RFC & BOR Generators
PDF
NetWeaver Gateway- Service Builder
PDF
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
PDF
Sap netweaver gateway_2.0_sap_net_weaver
PDF
SAP NetWeaver Gateway - Introduction
PDF
Autodesk Technical Webinar: SAP NetWeaver Gateway Part 2
NetWeaver Gateway- Introduction to REST
NetWeaver Gateway- Extend the Reach of SAP Applications
SAP NetWeaver Gateway - RFC & BOR Generators
NetWeaver Gateway- Service Builder
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
Sap netweaver gateway_2.0_sap_net_weaver
SAP NetWeaver Gateway - Introduction
Autodesk Technical Webinar: SAP NetWeaver Gateway Part 2

What's hot (20)

PPTX
W8/WP8 App Dev for SAP, Part 1B: Service Generation with NetWeaver Gateway Fr...
PDF
SAP Integration with Red Hat JBoss Technologies
PPTX
Sap java connector / Hybris RFC
PDF
SAP HANA Cloud – Virtual Bootcamp: How to use the HANA Persistence Se…
PPTX
HANA SPS07 Extended Application Service
PPTX
Desenvolvimento JAVA orientado à SAP HANA Cloud Platform
PDF
Develop Your First Mobile Application with Portal on Device
PDF
Accessing Your Existing SAP NetWeaver Portal on Mobile Device
PDF
SAP HANA SPS09 - HANA Modeling
PDF
SAP TechEd 2013: CD105: Extending SuccessFactors EmployeeCentral with apps on...
PDF
How to build an agentry based mobile app from scratch connecting to an sap ba...
PDF
SAP HANA Cloud Platform - Overview
PDF
SAP NetWeaver Portal OnDevice - Consuming your SAP NetWeaver Portal On Mobile...
PDF
SAP HANA SPS09 - Security
PDF
SAP HANA SPS10- SAP HANA Remote Data Sync
PDF
SAP HANA Cloud Platform Community BOF @ Devoxx 2013
PDF
SAP HANA SPS10- Security
PDF
SAP Hana Cloud Platform - Development Landscape Planning
PPTX
SAP HANA Native Application Development
PDF
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
W8/WP8 App Dev for SAP, Part 1B: Service Generation with NetWeaver Gateway Fr...
SAP Integration with Red Hat JBoss Technologies
Sap java connector / Hybris RFC
SAP HANA Cloud – Virtual Bootcamp: How to use the HANA Persistence Se…
HANA SPS07 Extended Application Service
Desenvolvimento JAVA orientado à SAP HANA Cloud Platform
Develop Your First Mobile Application with Portal on Device
Accessing Your Existing SAP NetWeaver Portal on Mobile Device
SAP HANA SPS09 - HANA Modeling
SAP TechEd 2013: CD105: Extending SuccessFactors EmployeeCentral with apps on...
How to build an agentry based mobile app from scratch connecting to an sap ba...
SAP HANA Cloud Platform - Overview
SAP NetWeaver Portal OnDevice - Consuming your SAP NetWeaver Portal On Mobile...
SAP HANA SPS09 - Security
SAP HANA SPS10- SAP HANA Remote Data Sync
SAP HANA Cloud Platform Community BOF @ Devoxx 2013
SAP HANA SPS10- Security
SAP Hana Cloud Platform - Development Landscape Planning
SAP HANA Native Application Development
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
Ad

Similar to Autodesk Technical Webinar: SAP NetWeaver Gateway Part 1 (20)

PPTX
W8/WP8 App Dev for SAP, Part 1A: Service Development with NetWeaver Gateway S...
PDF
AD404 - Extend your Social Business by integrating SAP Solutions
PPSX
Accessing sap and_mainframe_data_and_applications_via_share_point
PPT
Biztalk Server 2006
PPTX
SAP FIORI COEP Pune - pavan golesar (ppt)
PPT
Marco 2014 iib90_overview_port
PDF
3983 cics java real life projects
PPTX
SQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk Services
PPTX
Hybrid integrationwithsap (Glenn Colpaert @ Integration Monday)
PPTX
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
PDF
Brocade Software Networking (SDN NFV Day ITB 2016)
PDF
Sap integration with_j_boss_technologies
PDF
The Power of Two: Using IBM Standards Processing Engine for EDI Commerce or H...
PPT
Ibm 1 Wps Arch
PPTX
Sap hana sap webinar 12-2-13 v1
PDF
Zero to Portlet in 20 minutes or less
PDF
Whats new in IIB v9 + Open Beta v10 GSE
PPTX
Sap Process Integration
PPT
Domino 6 vs. Exchange 2000
PPTX
Oracle BPM workflow and Open-XDX web services (Part 2)
W8/WP8 App Dev for SAP, Part 1A: Service Development with NetWeaver Gateway S...
AD404 - Extend your Social Business by integrating SAP Solutions
Accessing sap and_mainframe_data_and_applications_via_share_point
Biztalk Server 2006
SAP FIORI COEP Pune - pavan golesar (ppt)
Marco 2014 iib90_overview_port
3983 cics java real life projects
SQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk Services
Hybrid integrationwithsap (Glenn Colpaert @ Integration Monday)
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Brocade Software Networking (SDN NFV Day ITB 2016)
Sap integration with_j_boss_technologies
The Power of Two: Using IBM Standards Processing Engine for EDI Commerce or H...
Ibm 1 Wps Arch
Sap hana sap webinar 12-2-13 v1
Zero to Portlet in 20 minutes or less
Whats new in IIB v9 + Open Beta v10 GSE
Sap Process Integration
Domino 6 vs. Exchange 2000
Oracle BPM workflow and Open-XDX web services (Part 2)
Ad

More from SAP PartnerEdge program for Application Development (20)

PDF
SAP HANA Cloud Platform Expert Session - SAP HANA Cloud Platform Analytics
PDF
SUSE Technical Webinar – Get started with creating Lumira CVOM extensions -- ...
PDF
SUSE Technical Webinar – Get started with creating Design Studio extensions -...
PDF
SUSE Technical Webinar: Build HANA Apps in the Framework of the SAP and SUSE ...
PDF
SUSE Technical Webinar: Developing Fiori & GWPAM Apps on HANA (SAP and SUSE C...
PDF
SUSE Technical Webinar: Developing Fiori & GWPAM Apps on HANA (SAP and SUSE C...
PDF
SUSE Technical Webinar: Build B1 apps in the Framework of the SAP and SUSE Ca...
PDF
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
PDF
SUSE Technical Webinar: Introduction to Business Intelligence - the SAP and S...
PDF
SUSE Technical Webinar: Build Cloud Apps with SAP HANA Cloud Platform
PDF
Partner with SAP to Develop Mobile apps and capture the Mobile Market Opportu...
PDF
Microsoft Technical Webinar: SAP Mobile Platform for Windows 8 and Windows Ph...
PDF
Microsoft Technical Webinar - New devices for Windows 8 and Windows Phone 8, ...
PDF
Autodesk Technical Webinar: SAP Business One
PDF
Microsoft Technical Webinar: Doing more with MS Office, SharePoint and Visual...
PDF
Microsoft Technical Webinar: UX/UI Design for Windows 8 & Windows Phone 8 - S...
PDF
Microsoft Technical Webinar: UX/UI Design for Windows 8 & Windows Phone 8 - P...
PDF
Autodesk Technical Webinar: SAP HANA in-memory database
PDF
Autodesk Technical Webinar: SAP NetWeaver Gateway Part 3
SAP HANA Cloud Platform Expert Session - SAP HANA Cloud Platform Analytics
SUSE Technical Webinar – Get started with creating Lumira CVOM extensions -- ...
SUSE Technical Webinar – Get started with creating Design Studio extensions -...
SUSE Technical Webinar: Build HANA Apps in the Framework of the SAP and SUSE ...
SUSE Technical Webinar: Developing Fiori & GWPAM Apps on HANA (SAP and SUSE C...
SUSE Technical Webinar: Developing Fiori & GWPAM Apps on HANA (SAP and SUSE C...
SUSE Technical Webinar: Build B1 apps in the Framework of the SAP and SUSE Ca...
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
SUSE Technical Webinar: Introduction to Business Intelligence - the SAP and S...
SUSE Technical Webinar: Build Cloud Apps with SAP HANA Cloud Platform
Partner with SAP to Develop Mobile apps and capture the Mobile Market Opportu...
Microsoft Technical Webinar: SAP Mobile Platform for Windows 8 and Windows Ph...
Microsoft Technical Webinar - New devices for Windows 8 and Windows Phone 8, ...
Autodesk Technical Webinar: SAP Business One
Microsoft Technical Webinar: Doing more with MS Office, SharePoint and Visual...
Microsoft Technical Webinar: UX/UI Design for Windows 8 & Windows Phone 8 - S...
Microsoft Technical Webinar: UX/UI Design for Windows 8 & Windows Phone 8 - P...
Autodesk Technical Webinar: SAP HANA in-memory database
Autodesk Technical Webinar: SAP NetWeaver Gateway Part 3

Recently uploaded (20)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
KodekX | Application Modernization Development
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Big Data Technologies - Introduction.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Electronic commerce courselecture one. Pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Approach and Philosophy of On baking technology
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
The Rise and Fall of 3GPP – Time for a Sabbatical?
KodekX | Application Modernization Development
Unlocking AI with Model Context Protocol (MCP)
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Machine learning based COVID-19 study performance prediction
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Big Data Technologies - Introduction.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
“AI and Expert System Decision Support & Business Intelligence Systems”
Electronic commerce courselecture one. Pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Approach and Philosophy of On baking technology
Advanced methodologies resolving dimensionality complications for autism neur...
NewMind AI Weekly Chronicles - August'25 Week I
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm

Autodesk Technical Webinar: SAP NetWeaver Gateway Part 1

  • 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
  • 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. 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. 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. 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
  • 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. 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. 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. 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. Demo – RFC/BOR Generator © 2012 SAP AG. All rights reserved. 13
  • 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
  • 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. 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
  • 19. Agenda Redefine services based on  Easy Query  MDX  GENIL  SPI Include Gateway Servcies © 2012 SAP AG. All rights reserved. 20
  • 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. 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. 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. 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. 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. Service generation based on SPI © 2012 SAP AG. All rights reserved. 27
  • 27. What is the Service Provider Interface – SPI ? © 2012 SAP AG. All rights reserved. 28
  • 28. Service Provider Enhancements - Overview Some SPI objects do not offer a query method. Solution: © 2012 SAP AG. All rights reserved. 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. 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