SlideShare a Scribd company logo
How To Build OData Services from any
Business Suite Data – Fast!
Jeff Gebo, Chris Whealy
September 2012
SAP NetWeaver Gateway Service Builder (SEGW)
One-Stop-Shop for all GW OData Service Developers

                                           Ÿ  Developer productivity (low TCD) for
 Little or no ABAP skills




                                               ABAP Developer, Technical Consultant
                                               and Business Process Expert
                                           Ÿ  The SAP NetWeaver Gateway Service
                                               Builder is a one stop shop tool that
                            Technical          covers the entire development lifecycle
                            Consultant         of a Gateway Service
                              / BPX
                                           Ÿ  Generation of model definition
                                           Ÿ  Generation of service implementation
                                               from existing business functionality
                                           Ÿ  Integration and projection for important
                                               data sources like GenIL, SPI and BW
                                           Ÿ  EDMX-Model import
 Strong ABAP skills




                                           Ÿ  Extensibility/Reuse of Gateway
                                               Services


                            Professional
                               ABAP
                             Developer



©  2012 SAP AG. All rights reserved.                                                  2
SAP NetWeaver Gateway
Service Builder

Gateway’s Design-Time Environment
Build and manage services from one location
OData modelling environment
Ÿ  Define entity types, entity sets, associations etc.
Project-based Service Development
Ÿ  Consolidates all service design and runtime
    objects
For both experienced and less-experienced
developers
Ÿ  Take advantage of existing data sources and
    automatic content generation or…
Ÿ  Define a new service completely from scratch




©  2012 SAP AG. All rights reserved.                      3
Gateway Service Builder – Development Flow in Detail



                                                                              OData	
  Service	
  
                                                                               Defini.on	
  in	
  
                                                                                 SEGW	
  




             Data Model
                                       Declara.ve	
       Import	
        Import	
  DDIC/	
  
              Definition
               (MPC)
                                               Data	
  Model	
  Defini.on	
  
                                         Model	
        Data	
  Model	
     RFC/BOR	
  
                                                                                                         Redefine	
  
                                       Defini.on*	
       (EDMX)	
          Interface*	
  
                                                                                                       Data	
  Source	
  
                                                                                                          Service	
            Include	
  
                                                                                                       (GenIL,	
  BOL,	
   enera.on	
  
                                                                                                        Service	
  G          Gateway	
  
                                                                                                         SPI,	
  BW	
         Service*	
  
            Service                                                                                    Easy	
  Query,	
  
         Implementation                        Service	
  Implementa.on	
  	
  FC/BOR	
  
                                       Code-­‐Based	
  Implementa.on*	
      Map	
  R                      MDX)	
  
                                         Code-­‐Based	
  Extensions*	
   mapping)	
  
                                                                              Opera.on*	
  
             (DPC)                            (Code	
  based	
  or	
  


             Service                                                                                                * Repeatable
           Maintenance                                                                                                within
                                                                          Service	
  Registra.on	
                    one service
                                                                          and	
  Hub	
  Ac.va.on	
  




©  2012 SAP AG. All rights reserved.                                                                                                         4
Gateway Service Builder – Development Flow in Detail



                                                                                    OData	
  Service	
  
                                                                                     Defini.on	
  in	
  
                                                                                       SEGW	
  




             Data Model
                                       Declara.ve	
           Import	
              Import	
  DDIC/	
  
              Definition                 Model	
            Data	
  Model	
           RFC/BOR	
  
               (MPC)                                                                                           Redefine	
  
                                       Defini.on*	
           (EDMX)	
                Interface*	
  
                                                                                                             Data	
  Source	
  
                                                                                                                Service	
             Include	
  
                                                                                                             (GenIL,	
  BOL,	
       Gateway	
  
                                                                                                               SPI,	
  BW	
          Service*	
  
            Service                                                                                          Easy	
  Query,	
  
                                       Code-­‐Based	
  Implementa.on*	
             Map	
  RFC/BOR	
             MDX)	
  
         Implementation
             (DPC)                       Code-­‐Based	
  Extensions*	
               Opera.on*	
  




             Service                                                                                                          * Repeatable
           Maintenance                                                                                                          within
                                                                                Service	
  Registra.on	
                        one service
                                                                                and	
  Hub	
  Ac.va.on	
  




©  2012 SAP AG. All rights reserved.                                                                                                                5
Service Builder
File Import

Import a Data Model
Jumpstart service modelling
Ÿ  EDMX Modelling Tool
    (e.g. OData Visualizer in MS Visual Studio)
Ÿ  Modify properties as needed
Ÿ  Generate model provider class and
    stubs for data provider class




©  2012 SAP AG. All rights reserved.              6
Service Builder
Import Existing BOR/RFC Data Structure for Use in an OData Service

Import a Data Source
Re-use Existing BOR/RFC Interfaces
Ÿ  Wizard walks you through it
Ÿ  Modify properties as needed




©  2012 SAP AG. All rights reserved.                                 7
Service Builder
Generate an OData Service from an Existing BOR/RFC Object

Implementation Without Code
Map to Data Source
Ÿ  Add constants
Ÿ  Modify properties
Ÿ  Drag-and-drop




©  2012 SAP AG. All rights reserved.                        8
Service Builder
Associations

Relationships Between Entity Types
Use Service Builder to maintain associations
Enable navigation from one entity to another based
on association
Automatic generation of associations in model
provide class (MPC) and metadata




©  2012 SAP AG. All rights reserved.                 9
Service Builder – Runtime Artefacts



                                       NetWeaver System containing IW_BEP	
  


                                       Registered Service       Registered Model
                                             Name                    Name

                                        Data Provider           Model Provider
                                         Base Class              Base Class
                   External Service
                        Name               Data Provider           Model Provider
                                              Class                   Class




                                                  Gateway Service



©  2012 SAP AG. All rights reserved.                                                10
Demo




©  2012 SAP AG. All rights reserved.   11
Use Case 1: RFC/BOR Generator


Import from data source:
1.    Create an entity “Account” from BOR Object


           Account
           BP ID*
           BP Role
           Email
           Phone
           …


2.    Service Implementation for Account




 ©  2012 SAP AG. All rights reserved.              12
Use Case 2: Composition


Import from data source:                              Existing SalesOrder Service:
1.    Create an entity “Account” from BOR Object
                                                        SalesOrderHeader
                                               0..N
                                                        SO ID *
           Account                                      Buyer ID
           BP ID*                                       …
                                        1
           BP Role
           Email                                                   1

           Phone
           …
                                                                              SalesOrderItem
                                                                              SO ID*
                                                                              Item Position*
2.    Service Implementation for Account                               1..N   Product ID

3.    Composition with existing “Sales Order” service                         …




 ©  2012 SAP AG. All rights reserved.                                                          13
Use Case 3: Redefine a Service

1. Create an OData Service from SPI PLM_MAT

2. Redefine interface/metadata
                •  Select only relevant nodes
                •  Change labels
                •  Change External Names

3. Overwrite/ Generate new service for adjusted interface




©  2012 SAP AG. All rights reserved.                        14
Thank you

What’s new in Gateway SP5?
http://help.sap.com/saphelp_gateway20sp05/helpdata/en/10/2b9c8a863a451ebe6bd4358d9d6adb/
frameset.htm
Legal Disclaimer


The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the
permission of SAP. 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 document or any
related presentation, or to develop or release any functionality mentioned therein. This document, or any related
presentation 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 on this document is not a commitment, promise or legal obligation to deliver any material, code or
functionality. This document 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
document is for informational purposes and may not be incorporated into a contract. SAP assumes no responsibility
for errors or omissions in this document, except if such damages were caused by SAP intentionally or grossly
negligent.
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.




 ©  2012 SAP AG. All rights reserved.                                                                                16
© 2012 SAP AG. All rights reserved


No part of this publication may be reproduced or transmitted in any form or for any purpose   Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal
without the express permission of SAP AG. The information contained herein may be             Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services
changed without prior notice.                                                                 mentioned herein as well as their respective logos are trademarks or registered trademarks
                                                                                              of Business Objects Software Ltd. Business Objects is an SAP company.
Some software products marketed by SAP AG and its distributors contain proprietary
software components of other software vendors.                                                Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft     products and services mentioned herein as well as their respective logos are trademarks or
                                                                                              registered trademarks of Sybase, Inc. Sybase is an SAP company.
Corporation.
                                                                                              All other product and service names mentioned are the trademarks of their respective
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x,
                                                                                              companies. Data contained in this document serves informational purposes only. National
System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/
                                                                                              product specifications may vary.
VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server,
PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER,                         The information in this document is proprietary to SAP. No part of this document may be
OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP,                     reproduced, copied, or transmitted in any form or for any purpose without the express prior
RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent        written permission of SAP AG.
Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of   This document is a preliminary version and not subject to your license agreement or any
IBM Corporation.                                                                              other agreement with SAP. This document contains only intended strategies, developments,
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.          and functionalities of the SAP® product and is not intended to be binding upon SAP to any
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered    particular course of business, product strategy, and/or development. Please note that this
                                                                                              document is subject to change and may be changed by SAP at any time without notice.
trademarks of Adobe Systems Incorporated in the United States and/or other countries.
                                                                                              SAP assumes no responsibility for errors or omissions in this document. SAP does not
Oracle is a registered trademark of Oracle Corporation.
                                                                                              warrant the accuracy or completeness of the information, text, graphics, links, or other items
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.                   contained within this material. This document is provided without a warranty of any kind,
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are          either express or implied, including but not limited to the implied warranties of
trademarks or registered trademarks of Citrix Systems, Inc.                                   merchantability, fitness for a particular purpose, or non-infringement.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World               SAP shall have no liability for damages of any kind including without limitation direct, special,
Wide Web Consortium, Massachusetts Institute of Technology.                                   indirect, or consequential damages that may result from the use of these materials. This
                                                                                              limitation shall not apply in cases of intent or gross negligence.
Java is a registered trademark of Sun Microsystems, Inc.
                                                                                              The statutory liability for personal injury and defective products is not affected. SAP has no
JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for        control over the information that you may access through the use of hot links contained in
technology invented and implemented by Netscape.                                              these materials and does not endorse your use of third-party Web pages nor provide any
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer,           warranty whatsoever relating to third-party Web pages.
StreamWork, and other SAP products and services mentioned herein as well as their
respective logos are trademarks or registered trademarks of SAP AG in Germany and other
countries.




 ©  2012 SAP AG. All rights reserved.                                                                                                                                                     17

More Related Content

PDF
SAP NetWeaver Gateway - RFC & BOR Generators
PDF
Autodesk Technical Webinar: SAP NetWeaver Gateway Part 1
PDF
NetWeaver Gateway- Introduction to REST
PDF
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
PDF
Java EE 7: Developing for the Cloud at Java Day, Istanbul, May 2012
PDF
JAX-RS 2.0: RESTful Web services on steroids at Geecon 2012
PDF
GlassFish REST Administration Backend at JavaOne India 2012
PDF
Jfokus 2012: PaaSing a Java EE Application
SAP NetWeaver Gateway - RFC & BOR Generators
Autodesk Technical Webinar: SAP NetWeaver Gateway Part 1
NetWeaver Gateway- Introduction to REST
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
Java EE 7: Developing for the Cloud at Java Day, Istanbul, May 2012
JAX-RS 2.0: RESTful Web services on steroids at Geecon 2012
GlassFish REST Administration Backend at JavaOne India 2012
Jfokus 2012: PaaSing a Java EE Application

What's hot (20)

PDF
ECON2010 Proposal - "E4 Flexible Resources: From Local File System To REST"
PDF
Java EE 7: Developing for the Cloud at Geecon, JEEConf, Johannesburg
PDF
Jfokus 2012 : The Java EE 7 Platform: Developing for the Cloud
PDF
SAP Integration with Red Hat JBoss Technologies
PPTX
Evaluating jaspersoft community & commercial editions
PDF
Fm extraction
PDF
Integrating SAP the Java EE Way - JBoss One Day talk 2012
PPT
Enterprise Service Bus Part 1
PDF
TDC 2011: OSGi-enabled Java EE Application
PDF
Java Summit Chennai: Java EE 7
PDF
Hadoop + Forcedotcom = Like
PDF
Sap integration with_j_boss_technologies
PPTX
W8/WP8 App Dev for SAP, Part 1A: Service Development with NetWeaver Gateway S...
PDF
Ta3
PDF
01.egovFrame Training Book II
PDF
Wso2esb sap-jkh-v2.0
PDF
N(i)2 technical architecture 2.0 (v1 1)
 
PDF
The Java EE 7 Platform: Developing for the Cloud
PPTX
Where to use OSB
PDF
(ATS4-DEV04) Protocols as RESTful Services and RESTful URL Routing
ECON2010 Proposal - "E4 Flexible Resources: From Local File System To REST"
Java EE 7: Developing for the Cloud at Geecon, JEEConf, Johannesburg
Jfokus 2012 : The Java EE 7 Platform: Developing for the Cloud
SAP Integration with Red Hat JBoss Technologies
Evaluating jaspersoft community & commercial editions
Fm extraction
Integrating SAP the Java EE Way - JBoss One Day talk 2012
Enterprise Service Bus Part 1
TDC 2011: OSGi-enabled Java EE Application
Java Summit Chennai: Java EE 7
Hadoop + Forcedotcom = Like
Sap integration with_j_boss_technologies
W8/WP8 App Dev for SAP, Part 1A: Service Development with NetWeaver Gateway S...
Ta3
01.egovFrame Training Book II
Wso2esb sap-jkh-v2.0
N(i)2 technical architecture 2.0 (v1 1)
 
The Java EE 7 Platform: Developing for the Cloud
Where to use OSB
(ATS4-DEV04) Protocols as RESTful Services and RESTful URL Routing
Ad

Similar to NetWeaver Gateway- Service Builder (20)

PDF
HP Service Delivery Platform 3.0 Launch
PPT
Introduction to WebSphere Message Broker
PDF
AD404 - Extend your Social Business by integrating SAP Solutions
PDF
Sap microsoft interoperability sitnl 08-12-2012
PPT
Heterogeneous Domains’ e-Business Transactions Interoperability with the use ...
PDF
Eci Service Architecture Evolution 1
PDF
Oracle - Programatica2010
PDF
Fusion app customization_con8719_pdf_8719_0001
PDF
Datacenter
PDF
NFV SDN for carriers
PPT
CA John Michelsen - Oracle OpenWorld 2012 - "ServiceVirtualization Reality is...
PDF
DDS vs DDS4CCM
PPTX
W8/WP8 App Dev for SAP, Part 1B: Service Generation with NetWeaver Gateway Fr...
PDF
Data Quality meets SOA
PPT
All Roads Lead to SaaS
PPTX
Sdf Panel Nice 2009 V1.0
PDF
CeBIT-Preview Hamburg
PPTX
Lucid IT & UXC Consulting: The Cloud Opportunity: Building on Your Investment...
PDF
Informatica World 2006 - MDM Data Quality
HP Service Delivery Platform 3.0 Launch
Introduction to WebSphere Message Broker
AD404 - Extend your Social Business by integrating SAP Solutions
Sap microsoft interoperability sitnl 08-12-2012
Heterogeneous Domains’ e-Business Transactions Interoperability with the use ...
Eci Service Architecture Evolution 1
Oracle - Programatica2010
Fusion app customization_con8719_pdf_8719_0001
Datacenter
NFV SDN for carriers
CA John Michelsen - Oracle OpenWorld 2012 - "ServiceVirtualization Reality is...
DDS vs DDS4CCM
W8/WP8 App Dev for SAP, Part 1B: Service Generation with NetWeaver Gateway Fr...
Data Quality meets SOA
All Roads Lead to SaaS
Sdf Panel Nice 2009 V1.0
CeBIT-Preview Hamburg
Lucid IT & UXC Consulting: The Cloud Opportunity: Building on Your Investment...
Informatica World 2006 - MDM Data Quality
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
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Empathic Computing: Creating Shared Understanding
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPT
Teaching material agriculture food technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation theory and applications.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
MYSQL Presentation for SQL database connectivity
Empathic Computing: Creating Shared Understanding
MIND Revenue Release Quarter 2 2025 Press Release
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Understanding_Digital_Forensics_Presentation.pptx
Teaching material agriculture food technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Mobile App Security Testing_ A Comprehensive Guide.pdf
Approach and Philosophy of On baking technology
Electronic commerce courselecture one. Pdf
Encapsulation theory and applications.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Building Integrated photovoltaic BIPV_UPV.pdf
The AUB Centre for AI in Media Proposal.docx

NetWeaver Gateway- Service Builder

  • 1. How To Build OData Services from any Business Suite Data – Fast! Jeff Gebo, Chris Whealy September 2012
  • 2. SAP NetWeaver Gateway Service Builder (SEGW) One-Stop-Shop for all GW OData Service Developers Ÿ  Developer productivity (low TCD) for Little or no ABAP skills ABAP Developer, Technical Consultant and Business Process Expert Ÿ  The SAP NetWeaver Gateway Service Builder is a one stop shop tool that Technical covers the entire development lifecycle Consultant of a Gateway Service / BPX Ÿ  Generation of model definition Ÿ  Generation of service implementation from existing business functionality Ÿ  Integration and projection for important data sources like GenIL, SPI and BW Ÿ  EDMX-Model import Strong ABAP skills Ÿ  Extensibility/Reuse of Gateway Services Professional ABAP Developer ©  2012 SAP AG. All rights reserved. 2
  • 3. SAP NetWeaver Gateway Service Builder Gateway’s Design-Time Environment Build and manage services from one location OData modelling environment Ÿ  Define entity types, entity sets, associations etc. Project-based Service Development Ÿ  Consolidates all service design and runtime objects For both experienced and less-experienced developers Ÿ  Take advantage of existing data sources and automatic content generation or… Ÿ  Define a new service completely from scratch ©  2012 SAP AG. All rights reserved. 3
  • 4. Gateway Service Builder – Development Flow in Detail OData  Service   Defini.on  in   SEGW   Data Model Declara.ve   Import   Import  DDIC/   Definition (MPC) Data  Model  Defini.on   Model   Data  Model   RFC/BOR   Redefine   Defini.on*   (EDMX)   Interface*   Data  Source   Service   Include   (GenIL,  BOL,   enera.on   Service  G Gateway   SPI,  BW   Service*   Service Easy  Query,   Implementation Service  Implementa.on    FC/BOR   Code-­‐Based  Implementa.on*   Map  R MDX)   Code-­‐Based  Extensions*   mapping)   Opera.on*   (DPC) (Code  based  or   Service * Repeatable Maintenance within Service  Registra.on   one service and  Hub  Ac.va.on   ©  2012 SAP AG. All rights reserved. 4
  • 5. Gateway Service Builder – Development Flow in Detail OData  Service   Defini.on  in   SEGW   Data Model Declara.ve   Import   Import  DDIC/   Definition Model   Data  Model   RFC/BOR   (MPC) Redefine   Defini.on*   (EDMX)   Interface*   Data  Source   Service   Include   (GenIL,  BOL,   Gateway   SPI,  BW   Service*   Service Easy  Query,   Code-­‐Based  Implementa.on*   Map  RFC/BOR   MDX)   Implementation (DPC) Code-­‐Based  Extensions*   Opera.on*   Service * Repeatable Maintenance within Service  Registra.on   one service and  Hub  Ac.va.on   ©  2012 SAP AG. All rights reserved. 5
  • 6. Service Builder File Import Import a Data Model Jumpstart service modelling Ÿ  EDMX Modelling Tool (e.g. OData Visualizer in MS Visual Studio) Ÿ  Modify properties as needed Ÿ  Generate model provider class and stubs for data provider class ©  2012 SAP AG. All rights reserved. 6
  • 7. Service Builder Import Existing BOR/RFC Data Structure for Use in an OData Service Import a Data Source Re-use Existing BOR/RFC Interfaces Ÿ  Wizard walks you through it Ÿ  Modify properties as needed ©  2012 SAP AG. All rights reserved. 7
  • 8. Service Builder Generate an OData Service from an Existing BOR/RFC Object Implementation Without Code Map to Data Source Ÿ  Add constants Ÿ  Modify properties Ÿ  Drag-and-drop ©  2012 SAP AG. All rights reserved. 8
  • 9. Service Builder Associations Relationships Between Entity Types Use Service Builder to maintain associations Enable navigation from one entity to another based on association Automatic generation of associations in model provide class (MPC) and metadata ©  2012 SAP AG. All rights reserved. 9
  • 10. Service Builder – Runtime Artefacts NetWeaver System containing IW_BEP   Registered Service Registered Model Name Name Data Provider Model Provider Base Class Base Class External Service Name Data Provider Model Provider Class Class Gateway Service ©  2012 SAP AG. All rights reserved. 10
  • 11. Demo ©  2012 SAP AG. All rights reserved. 11
  • 12. Use Case 1: RFC/BOR Generator Import from data source: 1.  Create an entity “Account” from BOR Object Account BP ID* BP Role Email Phone … 2.  Service Implementation for Account ©  2012 SAP AG. All rights reserved. 12
  • 13. Use Case 2: Composition Import from data source: Existing SalesOrder Service: 1.  Create an entity “Account” from BOR Object SalesOrderHeader 0..N SO ID * Account Buyer ID BP ID* … 1 BP Role Email 1 Phone … SalesOrderItem SO ID* Item Position* 2.  Service Implementation for Account 1..N Product ID 3.  Composition with existing “Sales Order” service … ©  2012 SAP AG. All rights reserved. 13
  • 14. Use Case 3: Redefine a Service 1. Create an OData Service from SPI PLM_MAT 2. Redefine interface/metadata •  Select only relevant nodes •  Change labels •  Change External Names 3. Overwrite/ Generate new service for adjusted interface ©  2012 SAP AG. All rights reserved. 14
  • 15. Thank you What’s new in Gateway SP5? http://help.sap.com/saphelp_gateway20sp05/helpdata/en/10/2b9c8a863a451ebe6bd4358d9d6adb/ frameset.htm
  • 16. Legal Disclaimer The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the permission of SAP. 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 document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation 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 on this document is not a commitment, promise or legal obligation to deliver any material, code or functionality. This document 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 document is for informational purposes and may not be incorporated into a contract. SAP assumes no responsibility for errors or omissions in this document, except if such damages were caused by SAP intentionally or grossly negligent. 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. ©  2012 SAP AG. All rights reserved. 16
  • 17. © 2012 SAP AG. All rights reserved No part of this publication may be reproduced or transmitted in any form or for any purpose Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal without the express permission of SAP AG. The information contained herein may be Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services changed without prior notice. mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase, Inc. Sybase is an SAP company. Corporation. All other product and service names mentioned are the trademarks of their respective IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, companies. Data contained in this document serves informational purposes only. National System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/ product specifications may vary. VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, The information in this document is proprietary to SAP. No part of this document may be OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, reproduced, copied, or transmitted in any form or for any purpose without the express prior RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent written permission of SAP AG. Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of This document is a preliminary version and not subject to your license agreement or any IBM Corporation. other agreement with SAP. This document contains only intended strategies, developments, Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. and functionalities of the SAP® product and is not intended to be binding upon SAP to any Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered particular course of business, product strategy, and/or development. Please note that this document is subject to change and may be changed by SAP at any time without notice. trademarks of Adobe Systems Incorporated in the United States and/or other countries. SAP assumes no responsibility for errors or omissions in this document. SAP does not Oracle is a registered trademark of Oracle Corporation. warrant the accuracy or completeness of the information, text, graphics, links, or other items UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. contained within this material. This document is provided without a warranty of any kind, Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are either express or implied, including but not limited to the implied warranties of trademarks or registered trademarks of Citrix Systems, Inc. merchantability, fitness for a particular purpose, or non-infringement. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World SAP shall have no liability for damages of any kind including without limitation direct, special, Wide Web Consortium, Massachusetts Institute of Technology. indirect, or consequential damages that may result from the use of these materials. This limitation shall not apply in cases of intent or gross negligence. Java is a registered trademark of Sun Microsystems, Inc. The statutory liability for personal injury and defective products is not affected. SAP has no JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for control over the information that you may access through the use of hot links contained in technology invented and implemented by Netscape. these materials and does not endorse your use of third-party Web pages nor provide any SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, warranty whatsoever relating to third-party Web pages. StreamWork, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. ©  2012 SAP AG. All rights reserved. 17