Presentation is loading. Please wait.

Presentation is loading. Please wait.

INTERNAL SAP NetWeaver Gateway 2.0 Overview August, 2011.

Similar presentations


Presentation on theme: "INTERNAL SAP NetWeaver Gateway 2.0 Overview August, 2011."— Presentation transcript:

1 INTERNAL SAP NetWeaver Gateway 2.0 Overview August, 2011

2 ©2011 SAP AG. All rights reserved.2 At the end of this module, you will be able to: Understand the basics of SAP NetWeaver Gateway Understand OData Channel API basic concept Know the types of SAP Business Content that we can expose as Gateway Services Know the Development Environments that SAP developed Gateway plug-ins for Objectives

3 ©2011 SAP AG. All rights reserved.3 Agenda Overview Service Modeling OData Channel API Summary

4 ©2011 SAP AG. All rights reserved.4 Agenda Overview Service Modeling OData Channel API Summary

5 ©2011 SAP AG. All rights reserved.5 SAP NetWeaver Gateway Devices Enterprise Software Web SRMSCMERPPLMCRM SAP Business Suite SAP NetWeaver Gateway Open Any Device, Any Experience, Any Platform People Optimized for user interaction scenarios Timeless Non-disruptive, any SAP Business Suite version Developers Simple APIs, no SAP knowledge required Standards Based on the OData protocol (Atom) REST Social Experienc es

6 ©2011 SAP AG. All rights reserved.6 SAP NetWeaver Gateway Architecture Gateway Core Technology OData with SAP Annotations Network Standards Data Source Providers Tools SAP NetWeaver SAP NetWeaver Gateway Service Adaptation Supportability Monitoring Security SAP Business Suite [ERP,CRM,SRM…] BAPI / RFCDynpro Data Conn. IDEs Plug-ins Events / Worflow Metadata Repository Consumer Generators BOR/SCR/ RFC Custom Dev OData Channel API

7 ©2011 SAP AG. All rights reserved.7 OData + SAP Extensions OData Atom Publishing Protocol Atom Syndication Format What is OData? Gateway Core Technology OData with SAP Annotations REST Service Adaptation Metadata Repository Service Adaptation Supportability Monitoring Security HTTP XML

8 ©2011 SAP AG. All rights reserved.8 SAP NetWeaver Gateway Tools Gateway Core Technology OData with SAP Annotations Network Standards Tools SAP NetWeaver SAP NetWeaver Gateway Service Adaptation REST Supportability Monitoring Security SAP Business Suite [ERP,CRM,SRM…] Data Source Providers BAPIRFCWS Data Conn. IDEs Plug-ins Events Metadata Repository Consumer Generators BOR/SCR/ RFC Custom Dev. Tools BOR Generator SCR Generator Generate new Gateway objects from existing BAPIs, RFCs or Dynpros Build custom Gateway object RFC Generator Custom Dev. Benefits Capabilities Does not require coding Well-suited for tweakers and non-ABAP developers Enables rapid prototyping Create new Gateway objects from existing BOR Objects, RFMs & ABAP Dynpro screens Supports multiple object aggregation Supports adaptation based on client application requirements Generate structures based on underlying data source Support CRUD operations + QUERY Operation Simplification of Service Interface so that no SAP skills required

9 ©2011 SAP AG. All rights reserved.9 IDE Plug-Ins [optional] IDE Plug-in tools IDEs Plug-ins Benefits Capabilities Developers require no SAP Knowledge Applicable to client developers In their native [IDE] environment Increase productivity Simplify SAP service consumption IDE plug-In available for Visual Studio, xCode & Eclipse Provide ease of consumption thru search and exploration capabilities on Gateway services Enable proxy generation of Gateway services Application starter kit Support all CRUD operations on Gateway services Push support for xCode, Visual Studio Provide out-of-box security and supportability capability Not Mandatory! Many Open Source APIs for OData/REST!

10 ©2011 SAP AG. All rights reserved.10 Gateway Model Types (simplified view) Data Source Model Unmodified model of existing SAP Business Suite services in a Gateway- internal representation User-Centric Exposure Model Consumable model, derived from a PSM and optimized for an specific use case (mobile, web, embedded) Public Solution Model Service model that is adapted (reduced) for lightweight consumption via Gateway PCEM Service Adaptation ServiceAdjustment Client Developer ABAP Developer UC DSM PS Relative Complexity

11 ©2011 SAP AG. All rights reserved.11 Gateway Development Background Gateway Service Development Adaptation in Gateway BOR / RFC Generator Screen Scraping Model & Implement Skeleton Class Adaptation in the Backend Create Data Provider & Model Providers Generation ChannelOData Channel IW_BEP Add-on Component Required on Backend System (AS ABAP 7.0 or higher) for OData Channel IW_SCS Add-on Component Required on Backend System (AS ABAP 7.0 or higher) for Screen Scraping 4.6C Systems or Higher supported for RFC and BOR.

12 ©2011 SAP AG. All rights reserved.12 Agenda Overview Service Modeling OData Channel API Summary

13 ©2011 SAP AG. All rights reserved.13 Remote Function Modules Remote Function Modules (RFMs) are based on Function Modules that are enabled for being called Remotely Based on the Remote Function Call (RFC) Protocol All BAPIs are RFC enabled Easy to create RFC enabled Function Modules

14 ©2011 SAP AG. All rights reserved.14 Business Object Repository (BOR) The BOR organizes SAP business APIs as Business Objects. Objects contain methods, events, key fields, and attributes Methods are often mapped to BAPIs Key fields are mandatory fields instantiating the object Events are used to notify others of some business event View the BOR via transaction SWO2 (O not zero). Create your own BOR objects or extend existing BOR objects via transaction SWO1

15 ©2011 SAP AG. All rights reserved.15 Dynpro User Interfaces There are thousands of Dynpro User Interfaces on SAP Systems User Interfaces for all aspects of SAP Business Applications For Reading, Updating, and Creating Business Data For marking Business Data for deletion/archiving Integrated Search Helps available making data input easier Screen Scraping technology has been available for years (BDC sessions)

16 ©2011 SAP AG. All rights reserved.16 Gateway Services Based on RFMs or BOR Objects Overview Gateway Data Models can be created based on RFMs or BOR Objects. Gateway Objects are created in the ABAP Development Workbench – transaction SE80 Once you create the object you will be navigated to the Gateway Object Modeler – transaction /IWFND/GWO_GEN. The Gateway Object Modeler is where you model your service. Browse BOR or search for RFMs. Each Operation can be mapped to an individual RFM or BOR Object.

17 ©2011 SAP AG. All rights reserved.17 Gateway Services Based on Screen Scraping Overview Gateway Services can be modeled based on Screen Scraping Dynpro User Interfaces. Gateway Objects are created in the ABAP Development Workbench – transaction SE80 Once you create the object you will be navigated to the Gateway Object Modeler – transaction /IWFND/GWO_GEN. The Gateway Object Modeler is where you: Record the Screen Map Operations to Screen Recordings Access Search Helps for QUERY operations

18 ©2011 SAP AG. All rights reserved.18 Screen Scraping – When to Use When should you use Screen Scraping? For quick proto-typing For exposing Search Helps as QUERY operations When there is no appropriate BOR Object or Remote Function Module available

19 ©2011 SAP AG. All rights reserved.19 Gateway Service Mapping Tool The Mapping Tool allows you to do the following: Select Data Model operation type being mapped. Flatten structures Rename attributes Simplify the interface Assign constant values to import attributes Assign attributes as key values Change Mapping Route – used to flatten structures, rename attributes, and assign attributes as keys (S_COR_ID-VALUE) Set Constant Value – used to assign a constant value an input attribute

20 ©2011 SAP AG. All rights reserved.20 S_COR_ID-VALUE = Primary Key S_COR_ID-VALUE is the Primary Key of Data Models Each operation must have the same attributes mapped to S_COR_ID-VALUE S_COR_ID-VALUE is a 72 character string, the combined length of mapped attributes can not exceed this Attributes mapped to S_COR_ID-VALUE are ordered alphabetically by default, this can be overridden if need be

21 ©2011 SAP AG. All rights reserved.21 Agenda Overview Service Modeling OData Channel API Summary

22 ©2011 SAP AG. All rights reserved.22 Configuration Browser Code OData Channel Development Overview 1. Pre-Requisites 2. Define Model Class 3. Define Runtime Class 4. Register Model Class 5. Define Model Group 6. Assign Runtime Class to Model Group 7. Register Objects in Gateway 8. Test Service Consumer Gateway SAP Business Suite

23 ©2011 SAP AG. All rights reserved.23 Sample Application! Look at Package /IWBEP/MGW SFLIGHT Model and Runtime sample classes demonstrate complete API Embedded Package : /IWBEP/MGW_APPLICATION & /IWBEP/MGW_SAMPLE_SFLIGHT Meta Data Class : /IWBEP/CL_MGW_MED_SFLIGHT Runtime Class : /IWBEP/CL_MGW_RT_SFLIGHT SAP Business Suite

24 ©2011 SAP AG. All rights reserved.24 Agenda Overview Service Modeling OData Channel API Summary

25 ©2011 SAP AG. All rights reserved.25 You should now be able to: Understand the basics of SAP NetWeaver Gateway Understand OData Channel API basic concept Know the types of SAP Business Content that we can expose as Gateway Services Know the Development Environments that SAP developed Gateway plug-ins for. Summary

26 ©2011 SAP AG. All rights reserved.26 No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/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, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle and Java are registered trademarks of Oracle and/or its affiliates. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. © 2011 SAP AG. All rights reserved. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C ®, World Wide Web Consortium, Massachusetts Institute of Technology. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, 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. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company. Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase, Inc. Sybase is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of SAP AG.


Download ppt "INTERNAL SAP NetWeaver Gateway 2.0 Overview August, 2011."

Similar presentations


Ads by Google