SlideShare uma empresa Scribd logo
1 de 18
Service Development
Introduction
© 2012 SAP AG. All rights reserved. 3
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
Service Generation
Gateway Service Builder - development flow
Service
Definition
Data Model Definition
Service Implementation
(Code based or mapping)
Gateway
Backend
(SEGW)
Service Registration
and Hub Activation
Gateway Server
(/IWFND/MAINT_SERVICE)
© 2012 SAP AG. All rights reserved. 5
Gateway Service Builder - development flow in detail
OData Service
Definition in
SEGW
Declarative
Model
Definition*
Import
Data Model
(EDMX)
Import DDIC/
RFC/BOR
Interface*
Redefine
Data Source
Service
(GenIL, SPI, B
W Easy
Query, MDX)Code-Based Implementation*
Code-Based Extensions*
Data Model
Definition
(MPC)
Service
Implementation
(DPC)
Map RFC/BOR
Operation*
Service Registration
and Hub Activation
Service
Maintenance
Include
Gateway
Service*
* Repeatable
within
one service
Service Generation
Data Model Definition
Service Implementation
(Code based or mapping)
© 2012 SAP AG. All rights reserved. 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
Association: Relationship
between two entity types
An Entity Type is built from
one or more properties
Navigation implements an
association
Entity Type: EDM basic
building block. Represents
specific business object
At least one property must
be nominated as a key field
Service Development
© 2012 SAP AG. All rights reserved. 8
Agenda
Data Model Definition
Declarative model definition
Import data model (EDMX)
Import DDIC
Import RFC/BOR Interface
Service implementation
Code based implementation
Code based extensions
Mapping of RFC/BOR operations
Service registration
Gateway Hub
Gateway Backend
© 2012 SAP AG. All rights reserved. 9
Gateway Service Builder – Modeling
OData Service
Definition in
SEGW
Declarative
Model
Definition*
Import
Data Model
(EDMX)
Import DDIC/
RFC/BOR
Interface*
Redefine
Data Source
Service
(GenIL, BOL, S
PI, BW Easy
Query, MDX)Code-Based Implementation*
Code-Based Extensions*
Data Model
Definition
(MPC)
Service
Implementation
(DPC)
Map RFC/BOR
Operation*
Service Registration
and Hub Activation
Service
Maintenance
Include
Gateway
Service*
* Repeatable
within
one service
© 2012 SAP AG. All rights reserved. 10
Gateway Service Builder – outside in approach
OData Service
Definition in
SEGW
Declarative
Model
Definition*
Import
Data Model
(EDMX)
Import DDIC/
RFC/BOR
Interface*
Redefine
Data Source
Service
(GenIL, BOL, S
PI, BW Easy
Query, MDX)Code-Based Implementation*
Code-Based Extensions*
Data Model
Definition
(MPC)
Service
Implementation
(DPC)
Map RFC/BOR
Operation*
Service Registration
and Hub Activation
Service
Maintenance
Include
Gateway
Service*
* Repeatable
within
one service
© 2012 SAP AG. All rights reserved. 11
Gateway Service Builder – Leveraging Data Dictionary
OData Service
Definition in
SEGW
Declarative
Model
Definition*
Import
Data Model
(EDMX)
Import DDIC/
RFC/BOR
Interface*
Redefine
Data Source
Service
(GenIL, BOL, S
PI, BW Easy
Query, MDX)Code-Based Implementation*
Code-Based Extensions*
Data Model
Definition
(MPC)
Service
Implementation
(DPC)
Map RFC/BOR
Operation*
Service Registration
and Hub Activation
Service
Maintenance
Include
Gateway
Service*
* Repeatable
within
one service
© 2012 SAP AG. All rights reserved. 12
Gateway Service Builder – Leverage RFC/BOR interfaces
OData Service
Definition in
SEGW
Declarative
Model
Definition*
Import
Data Model
(EDMX)
Import DDIC/
RFC/BOR
Interface*
Redefine
Data Source
Service
(GenIL, BOL,
SPI, BW Easy
Query, MDX)Code-Based Implementation*
Code-Based Extensions*
Data Model
Definition
(MPC)
Service
Implementation
(DPC)
Map RFC/BOR
Operation*
Service Registration
and Hub Activation
Service
Maintenance
Include
Gateway
Service*
* Repeatable
within
one service
© 2012 SAP AG. All rights reserved. 13
Demo – RFC/BOR Generator
© 2012 SAP AG. All rights reserved. 14
ERP or Business Suite
Gateway Service
Registered Service
Name
Registered Model
Name
Service Builder – Result
Extension
Class
Data
Provider
Class
Extension
Class
Model
Provider
Class
External
Service Name
© 2012 SAP AG. All rights reserved. 15
Service Builder – runtime artifacts
ABAP classes for
- Model definition
- Service implementation
Service registration in the backend
Demo
Service Registration
© 2012 SAP AG. All rights reserved. 17
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 Service Catalogue (Hub Deployment)
ERP or Business Suite
Gateway Service
Registered
Service
Data
Provider
Class
Registered
Model
Model
Provider
Class
Gateway Hub
Gateway
Server
AddOns
Gateway Service Catalogue
External
Name
External
Name
Gateway
Backend
AddOns
© 2012 SAP AG. All rights reserved. 18
Gateway service registration on the hub
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
Demo

Mais conteúdo relacionado

Semelhante a W8/WP8 App Dev for SAP, Part 1A: Service Development with NetWeaver Gateway Service Builder

Accessing sap and_mainframe_data_and_applications_via_share_point
Accessing sap and_mainframe_data_and_applications_via_share_pointAccessing sap and_mainframe_data_and_applications_via_share_point
Accessing sap and_mainframe_data_and_applications_via_share_point
Yuval Birenboum
 
Biztalk Server 2006
Biztalk Server 2006Biztalk Server 2006
Biztalk Server 2006
ipaciti
 
Building Enterprise Interoperability Applications Using Microsoft
Building Enterprise Interoperability Applications Using MicrosoftBuilding Enterprise Interoperability Applications Using Microsoft
Building Enterprise Interoperability Applications Using Microsoft
webhostingguy
 
DAY1- DAY2Netweaver gateway
DAY1- DAY2Netweaver gatewayDAY1- DAY2Netweaver gateway
DAY1- DAY2Netweaver gateway
Gaurav Ahluwalia
 

Semelhante a W8/WP8 App Dev for SAP, Part 1A: Service Development with NetWeaver Gateway Service Builder (20)

Autodesk Technical Webinar: SAP NetWeaver Gateway Part 1
Autodesk Technical Webinar: SAP NetWeaver Gateway Part 1Autodesk Technical Webinar: SAP NetWeaver Gateway Part 1
Autodesk Technical Webinar: SAP NetWeaver Gateway Part 1
 
W8/WP8 App Dev for SAP, Part 1B: Service Generation with NetWeaver Gateway Fr...
W8/WP8 App Dev for SAP, Part 1B: Service Generation with NetWeaver Gateway Fr...W8/WP8 App Dev for SAP, Part 1B: Service Generation with NetWeaver Gateway Fr...
W8/WP8 App Dev for SAP, Part 1B: Service Generation with NetWeaver Gateway Fr...
 
NetWeaver Gateway- Service Builder
NetWeaver Gateway- Service BuilderNetWeaver Gateway- Service Builder
NetWeaver Gateway- Service Builder
 
SAP FIORI COEP Pune - pavan golesar (ppt)
SAP FIORI COEP Pune - pavan golesar (ppt)SAP FIORI COEP Pune - pavan golesar (ppt)
SAP FIORI COEP Pune - pavan golesar (ppt)
 
Accessing sap and_mainframe_data_and_applications_via_share_point
Accessing sap and_mainframe_data_and_applications_via_share_pointAccessing sap and_mainframe_data_and_applications_via_share_point
Accessing sap and_mainframe_data_and_applications_via_share_point
 
Biztalk Server 2006
Biztalk Server 2006Biztalk Server 2006
Biztalk Server 2006
 
IBM Z for the Digital Enterprise 2018 - Offering API channel to application a...
IBM Z for the Digital Enterprise 2018 - Offering API channel to application a...IBM Z for the Digital Enterprise 2018 - Offering API channel to application a...
IBM Z for the Digital Enterprise 2018 - Offering API channel to application a...
 
Brocade Software Networking (SDN NFV Day ITB 2016)
Brocade Software Networking (SDN NFV Day ITB 2016)Brocade Software Networking (SDN NFV Day ITB 2016)
Brocade Software Networking (SDN NFV Day ITB 2016)
 
Zero to Portlet in 20 minutes or less
Zero to Portlet in 20 minutes or lessZero to Portlet in 20 minutes or less
Zero to Portlet in 20 minutes or less
 
SAP NetWeaver Gateway - RFC & BOR Generators
SAP NetWeaver Gateway - RFC & BOR GeneratorsSAP NetWeaver Gateway - RFC & BOR Generators
SAP NetWeaver Gateway - RFC & BOR Generators
 
Enterprise service bus part 2
Enterprise service bus part 2Enterprise service bus part 2
Enterprise service bus part 2
 
Building Enterprise Interoperability Applications Using Microsoft
Building Enterprise Interoperability Applications Using MicrosoftBuilding Enterprise Interoperability Applications Using Microsoft
Building Enterprise Interoperability Applications Using Microsoft
 
Sap Process Integration
Sap Process Integration Sap Process Integration
Sap Process Integration
 
Creating Data Driven Web Apps with BIRT - Pierre Richer (Actuate)
Creating Data Driven Web Apps with BIRT - Pierre Richer (Actuate)Creating Data Driven Web Apps with BIRT - Pierre Richer (Actuate)
Creating Data Driven Web Apps with BIRT - Pierre Richer (Actuate)
 
CICS Transaction Gateway V9.1 Overview
CICS Transaction Gateway V9.1 OverviewCICS Transaction Gateway V9.1 Overview
CICS Transaction Gateway V9.1 Overview
 
Sql Azure
Sql AzureSql Azure
Sql Azure
 
DAY1- DAY2Netweaver gateway
DAY1- DAY2Netweaver gatewayDAY1- DAY2Netweaver gateway
DAY1- DAY2Netweaver gateway
 
Sap xi online training
Sap xi online trainingSap xi online training
Sap xi online training
 
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk ServicesGlobal Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
 
SOA (hands-on exercise w.r.t Oracle included)
SOA (hands-on exercise w.r.t Oracle included)SOA (hands-on exercise w.r.t Oracle included)
SOA (hands-on exercise w.r.t Oracle included)
 

Mais de SAP PartnerEdge program for Application Development

Mais de SAP PartnerEdge program for Application Development (20)

SAP HANA Cloud Platform Expert Session - SAP HANA Cloud Platform Analytics
SAP HANA Cloud Platform Expert Session - SAP HANA Cloud Platform AnalyticsSAP HANA Cloud Platform Expert Session - SAP HANA Cloud Platform Analytics
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 Lumira CVOM extensions -- ...SUSE Technical Webinar – Get started with creating Lumira CVOM extensions -- ...
SUSE Technical Webinar – Get started with creating Lumira CVOM extensions -- ...
 
SUSE Technical Webinar – Get started with creating Design Studio extensions -...
SUSE Technical Webinar – Get started with creating Design Studio extensions -...SUSE Technical Webinar – Get started with creating Design Studio 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: Build HANA Apps in the Framework of the SAP and SUSE ...SUSE Technical Webinar: Build HANA Apps in the Framework of the SAP and SUSE ...
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: 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: 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: 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...
SUSE Technical Webinar: Build B1 apps in the Framework of the SAP and SUSE Ca...SUSE Technical Webinar: Build B1 apps in the Framework of the SAP and SUSE Ca...
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...
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
 
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
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: Introduction to Business Intelligence - the SAP and S...SUSE Technical Webinar: Introduction to Business Intelligence - the SAP and S...
SUSE Technical Webinar: Introduction to Business Intelligence - the SAP and S...
 
SUSE Technical Webinar: Build Cloud Apps with SAP HANA Cloud Platform
SUSE Technical Webinar: Build Cloud Apps with SAP HANA Cloud PlatformSUSE Technical Webinar: Build Cloud Apps with SAP HANA Cloud Platform
SUSE Technical Webinar: Build Cloud Apps with SAP HANA Cloud Platform
 
Partner with SAP to Develop Mobile apps and capture the Mobile Market Opportu...
Partner with SAP to Develop Mobile apps and capture the Mobile Market Opportu...Partner with SAP to Develop Mobile apps and capture the Mobile Market Opportu...
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: SAP Mobile Platform for Windows 8 and Windows Ph...Microsoft Technical Webinar: SAP Mobile Platform for Windows 8 and Windows Ph...
Microsoft Technical Webinar: SAP Mobile Platform for Windows 8 and Windows Ph...
 
Microsoft Technical Webinar - New devices for Windows 8 and Windows Phone 8, ...
Microsoft Technical Webinar - New devices for Windows 8 and Windows Phone 8, ...Microsoft Technical Webinar - New devices for Windows 8 and Windows Phone 8, ...
Microsoft Technical Webinar - New devices for Windows 8 and Windows Phone 8, ...
 
Autodesk Technical Webinar: SAP Business One
Autodesk Technical Webinar: SAP Business OneAutodesk Technical Webinar: SAP Business One
Autodesk Technical Webinar: SAP Business One
 
Microsoft Technical Webinar: Doing more with MS Office, SharePoint and Visual...
Microsoft Technical Webinar: Doing more with MS Office, SharePoint and Visual...Microsoft Technical Webinar: Doing more with MS Office, SharePoint and Visual...
Microsoft Technical Webinar: Doing more with MS Office, SharePoint and Visual...
 
Mobile Apps 4 Charity
Mobile Apps 4 CharityMobile Apps 4 Charity
Mobile Apps 4 Charity
 
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 - S...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 - S...
 
Microsoft Technical Webinar: UX/UI Design for Windows 8 & Windows Phone 8 - P...
Microsoft Technical Webinar: UX/UI Design for Windows 8 & Windows Phone 8 - P...Microsoft Technical Webinar: UX/UI Design for Windows 8 & Windows Phone 8 - P...
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 HANA in-memory databaseAutodesk Technical Webinar: SAP HANA in-memory database
Autodesk Technical Webinar: SAP HANA in-memory database
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Último (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 

W8/WP8 App Dev for SAP, Part 1A: Service Development with NetWeaver Gateway Service Builder

  • 3. © 2012 SAP AG. All rights reserved. 3 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.
  • 4. © 2012 SAP AG. All rights reserved. 4 Service Generation Gateway Service Builder - development flow Service Definition Data Model Definition Service Implementation (Code based or mapping) Gateway Backend (SEGW) Service Registration and Hub Activation Gateway Server (/IWFND/MAINT_SERVICE)
  • 5. © 2012 SAP AG. All rights reserved. 5 Gateway Service Builder - development flow in detail OData Service Definition in SEGW Declarative Model Definition* Import Data Model (EDMX) Import DDIC/ RFC/BOR Interface* Redefine Data Source Service (GenIL, SPI, B W Easy Query, MDX)Code-Based Implementation* Code-Based Extensions* Data Model Definition (MPC) Service Implementation (DPC) Map RFC/BOR Operation* Service Registration and Hub Activation Service Maintenance Include Gateway Service* * Repeatable within one service Service Generation Data Model Definition Service Implementation (Code based or mapping)
  • 6. © 2012 SAP AG. All rights reserved. 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 Association: Relationship between two entity types An Entity Type is built from one or more properties Navigation implements an association Entity Type: EDM basic building block. Represents specific business object At least one property must be nominated as a key field
  • 8. © 2012 SAP AG. All rights reserved. 8 Agenda Data Model Definition Declarative model definition Import data model (EDMX) Import DDIC Import RFC/BOR Interface Service implementation Code based implementation Code based extensions Mapping of RFC/BOR operations Service registration Gateway Hub Gateway Backend
  • 9. © 2012 SAP AG. All rights reserved. 9 Gateway Service Builder – Modeling OData Service Definition in SEGW Declarative Model Definition* Import Data Model (EDMX) Import DDIC/ RFC/BOR Interface* Redefine Data Source Service (GenIL, BOL, S PI, BW Easy Query, MDX)Code-Based Implementation* Code-Based Extensions* Data Model Definition (MPC) Service Implementation (DPC) Map RFC/BOR Operation* Service Registration and Hub Activation Service Maintenance Include Gateway Service* * Repeatable within one service
  • 10. © 2012 SAP AG. All rights reserved. 10 Gateway Service Builder – outside in approach OData Service Definition in SEGW Declarative Model Definition* Import Data Model (EDMX) Import DDIC/ RFC/BOR Interface* Redefine Data Source Service (GenIL, BOL, S PI, BW Easy Query, MDX)Code-Based Implementation* Code-Based Extensions* Data Model Definition (MPC) Service Implementation (DPC) Map RFC/BOR Operation* Service Registration and Hub Activation Service Maintenance Include Gateway Service* * Repeatable within one service
  • 11. © 2012 SAP AG. All rights reserved. 11 Gateway Service Builder – Leveraging Data Dictionary OData Service Definition in SEGW Declarative Model Definition* Import Data Model (EDMX) Import DDIC/ RFC/BOR Interface* Redefine Data Source Service (GenIL, BOL, S PI, BW Easy Query, MDX)Code-Based Implementation* Code-Based Extensions* Data Model Definition (MPC) Service Implementation (DPC) Map RFC/BOR Operation* Service Registration and Hub Activation Service Maintenance Include Gateway Service* * Repeatable within one service
  • 12. © 2012 SAP AG. All rights reserved. 12 Gateway Service Builder – Leverage RFC/BOR interfaces OData Service Definition in SEGW Declarative Model Definition* Import Data Model (EDMX) Import DDIC/ RFC/BOR Interface* Redefine Data Source Service (GenIL, BOL, SPI, BW Easy Query, MDX)Code-Based Implementation* Code-Based Extensions* Data Model Definition (MPC) Service Implementation (DPC) Map RFC/BOR Operation* Service Registration and Hub Activation Service Maintenance Include Gateway Service* * Repeatable within one service
  • 13. © 2012 SAP AG. All rights reserved. 13 Demo – RFC/BOR Generator
  • 14. © 2012 SAP AG. All rights reserved. 14 ERP or Business Suite Gateway Service Registered Service Name Registered Model Name Service Builder – Result Extension Class Data Provider Class Extension Class Model Provider Class External Service Name
  • 15. © 2012 SAP AG. All rights reserved. 15 Service Builder – runtime artifacts ABAP classes for - Model definition - Service implementation Service registration in the backend Demo
  • 17. © 2012 SAP AG. All rights reserved. 17 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 Service Catalogue (Hub Deployment) ERP or Business Suite Gateway Service Registered Service Data Provider Class Registered Model Model Provider Class Gateway Hub Gateway Server AddOns Gateway Service Catalogue External Name External Name Gateway Backend AddOns
  • 18. © 2012 SAP AG. All rights reserved. 18 Gateway service registration on the hub 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 Demo

Notas do Editor

  1. Value Proposition / Theme = (why should a customer care)
  2. Noit‘s time toactivatetheservice
  3. SEGW has created four ABAP classes and have registered them in the backend.Now, we must register the Technical Service Name in the Hub
  4. SEGWhascreated 4 classse:Data Provider Base Class (ZCL_ZCD204_EPM_DEMO_DPC)Data Provider Extension Class (ZCL_ZCD204_EPM_DEMO_DPC_EXT)Model Provider Base Class (ZCL_ZCD204_EPM_DEMO_MPC)Model Provider Extension Class (ZCL_ZCD204_EPM_DEMO_MPC_EXT)Registered Model (ZCD204_EPM_DEMO_MDL)Registered Service (ZCD204_EPM_DEMO_SRV)
  5. Component IW_SCS is only needed if you create Gateway Services that use screen scraping.It is entirely possible for all the Gateway Add-On Components to be installed in a single server; however, this installation arrangement is only recommended for test and development scenarios. For all productive scenarios, it is recommended that a separate Gateway Hub server is installed.