• Like
  • Save
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,316
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
0
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. How To Build OData Services from anyBusiness Suite Data – Fast!Jeff Gebo, Chris WhealySeptember 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 GatewayService BuilderGateway’s Design-Time EnvironmentBuild and manage services from one locationOData modelling environmentŸ  Define entity types, entity sets, associations etc.Project-based Service DevelopmentŸ  Consolidates all service design and runtime objectsFor both experienced and less-experienceddevelopersŸ  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 BuilderFile ImportImport a Data ModelJumpstart 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 BuilderImport Existing BOR/RFC Data Structure for Use in an OData ServiceImport a Data SourceRe-use Existing BOR/RFC InterfacesŸ  Wizard walks you through itŸ  Modify properties as needed©  2012 SAP AG. All rights reserved. 7
  • 8. Service BuilderGenerate an OData Service from an Existing BOR/RFC ObjectImplementation Without CodeMap to Data SourceŸ  Add constantsŸ  Modify propertiesŸ  Drag-and-drop©  2012 SAP AG. All rights reserved. 8
  • 9. Service BuilderAssociationsRelationships Between Entity TypesUse Service Builder to maintain associationsEnable navigation from one entity to another basedon associationAutomatic generation of associations in modelprovide 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 GeneratorImport 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: CompositionImport 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 ID3.  Composition with existing “Sales Order” service … ©  2012 SAP AG. All rights reserved. 13
  • 14. Use Case 3: Redefine a Service1. Create an OData Service from SPI PLM_MAT2. Redefine interface/metadata •  Select only relevant nodes •  Change labels •  Change External Names3. Overwrite/ Generate new service for adjusted interface©  2012 SAP AG. All rights reserved. 14
  • 15. Thank youWhat’s new in Gateway SP5?http://help.sap.com/saphelp_gateway20sp05/helpdata/en/10/2b9c8a863a451ebe6bd4358d9d6adb/frameset.htm
  • 16. Legal DisclaimerThe information in this presentation is confidential and proprietary to SAP and may not be disclosed without thepermission of SAP. This presentation is not subject to your license agreement or any other service or subscriptionagreement with SAP. SAP has no obligation to pursue any course of business outlined in this document or anyrelated presentation, or to develop or release any functionality mentioned therein. This document, or any relatedpresentation and SAPs strategy and possible future developments, products and or platforms directions andfunctionality are all subject to change and may be changed by SAP at any time for any reason without notice. Theinformation on this document is not a commitment, promise or legal obligation to deliver any material, code orfunctionality. This document is provided without a warranty of any kind, either express or implied, including but notlimited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. Thisdocument is for informational purposes and may not be incorporated into a contract. SAP assumes no responsibilityfor errors or omissions in this document, except if such damages were caused by SAP intentionally or grosslynegligent.All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differmaterially from expectations. Readers are cautioned not to place undue reliance on these forward-lookingstatements, 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 reservedNo 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, Crystalwithout the express permission of SAP AG. The information contained herein may be Decisions, Web Intelligence, Xcelsius, and other Business Objects products and serviceschanged 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 proprietarysoftware components of other software vendors. Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other SybaseMicrosoft, 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 respectiveIBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, companies. Data contained in this document serves informational purposes only. NationalSystem 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 beOpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, reproduced, copied, or transmitted in any form or for any purpose without the express priorRETAIN, 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 anyIBM 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 anyAdobe, 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 notOracle is a registered trademark of Oracle Corporation. warrant the accuracy or completeness of the information, text, graphics, links, or other itemsUNIX, 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 oftrademarks 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 noJavaScript 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 intechnology invented and implemented by Netscape. these materials and does not endorse your use of third-party Web pages nor provide anySAP, 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 theirrespective logos are trademarks or registered trademarks of SAP AG in Germany and othercountries. ©  2012 SAP AG. All rights reserved. 17