Presentation is loading. Please wait.

Presentation is loading. Please wait.

SAP NetWeaver Gateway 2.0 Overview

Similar presentations


Presentation on theme: "SAP NetWeaver Gateway 2.0 Overview"— Presentation transcript:

1 SAP NetWeaver Gateway 2.0 Overview
August, 2011

2 Objectives 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 Environment’s that SAP developed Gateway plug-ins for

3 Agenda Overview Service Modeling OData Channel API Summary

4 Agenda Overview Service Modeling OData Channel API Summary

5 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 Experiences Enterprise Software Web Devices Social SAP NetWeaver Gateway SRM SCM ERP PLM CRM SAP Business Suite

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 / RFC Dynpro Data Conn. IDEs Plug-ins Events / Worflow Metadata Repository Consumer Generators BOR/SCR/ RFC Custom Dev OData Channel API

7 Atom Publishing Protocol Atom Syndication Format
Gateway Core Technology OData with SAP Annotations REST Service Adaptation Metadata Repository Supportability Monitoring Security What is OData? Based on industry standards – REST-based architecture Uses the standard GET, PUT, POST & DELETE HTTP Verbs for CRUD operations Stateless apps OData APIs Offer database like access to business data – “ODBC for the Web” No knowledge of SAP structures required: Supports object navigation Dynamic binding takes place at run time OData + SAP Extensions OData Atom Publishing Protocol Atom Syndication Format XML HTTP

8 SAP NetWeaver Gateway Tools
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 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 BAPI RFC WS Data Conn. IDEs Plug-ins Events Metadata Repository Consumer Generators BOR/SCR/ Custom Dev. BOR Generator SCR Generator Generate new Gateway objects from existing BAPIs, RFCs or Dynpros Build custom Gateway object RFC Generator SAP NetWeaver Gateway content generators do not require coding and allow not only to reuse exiting Business Objects or screens but also allows no-code based data adaptation capabilities. Data coming from multiple object can be aggregated, filtered and adapted based on the client application requirements. These generators can be used to generate structures that are then enhanced using the programming tools. f Generation of new GW Data Models based on recordings of SAP transaction screens, and enables information from the recorded transactions to be consumed in OData compliant way Record dynpro based Transactions Utilize Transaction recorder (Batch Input) in order to capture business processes from the SAP System that are based on "classic" ABAP dynpro controls (Web Dynpro and ActiveX controls are not supported in this release). These represented as Recordings in the Screen Scraping data source. Map ABAP Dynpro screens and fields, that are part of the recording, to the Data Model CRUD operations.

9 IDE Plug-Ins [optional] IDE Plug-in tools
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! IDEs Plug-ins

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

11 Gateway Development Background
Gateway Service Development 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. Adaptation in Gateway Adaptation in the Backend BOR / RFC Generator Screen Scraping Model & Implement Skeleton Class Create Data Provider & Model Providers Generation Channel OData Channel

12 Agenda Overview Service Modeling OData Channel API Summary

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 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 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 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 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 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 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 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 Agenda Overview Service Modeling OData Channel API Summary

22 OData Channel Development Overview
SAP Business Suite Gateway Consumer Pre-Requisites Define Model Class Define Runtime Class Register Model Class Define Model Group Assign Runtime Class to Model Group Register Objects in Gateway Test Service Code Configuration Configuration Browser

23 Sample Application! Look at Package /IWBEP/MGW
SAP Business Suite 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

24 Agenda Overview Service Modeling OData Channel API Summary

25 Summary 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 Environment’s that SAP developed Gateway plug-ins for.

26


Download ppt "SAP NetWeaver Gateway 2.0 Overview"

Similar presentations


Ads by Google