gateway for the uninformed #sitnl edition
DESCRIPTION
Presentation given at SAP Inside Track NL 26-11-2011 about SAP NetWeaver GatewayTRANSCRIPT
Fred Verheul, NL for BusinessNovember 2011
SAP NetWeaver Gateway for the Uninformed at #sitnl
Chris Whealy, Customer Solution Adoption, EMEANovember 2011
SAP NetWeaver Gateway for the Uninformed
© 2011 SAP AG. All rights reserved. 3
Disclaimer
This presentation outlines our general product direction and should not be relied on in making a purchase decision. This presentation is not subject to your license agreement or any other agreement with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or to develop or release any functionality mentioned in this presentation. This presentation and SAP's strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. 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. SAP assumes no responsibility for errors or omissions in this document, except if such damages were caused by SAP being intentionally or grossly negligent.
IntroductionSetting the scene
© 2011 SAP AG. All rights reserved. 5
Enterprise Computing for Business ConsumersKey Challenges and Desired Outcome
From Black Box to Open Any Environment, Any Platform, Any Experience
From Business Process Centric to People Centric Optimized for user interaction scenarios
From Version Specific to Timeless Non-disruptive, any SAP Business Suite version
From SAP Developers to Non-SAP Developers No SAP knowledge required
From complex APIs to Standards & Simple Based on REST and OData/ATOM
From IT nightmare to IT control Manage IT complexity with no comprise to IT audit &
compliance while deploying innovations
From High TCO to Low TCO Consumption pricing model
SRM SCM ERPPLMCRM
SAP Business Suite
Browser Based Applications
Mobile Devices Enterprise Software
Consumer Devices
Cloud
Point to Point SolutionsIncrease Costs & Complexity
© 2011 SAP AG. All rights reserved. 6
SAP NetWeaver Gateway
Sybase Unwired Platform
Enterprise Software
Web
SRM SCM ERPPLMCRM
SAP Business Suite
SAP NetWeaver Gateway
OpenAny Device, Any Experience, Any Platform
PeopleOptimized for user interaction scenarios
TimelessNon-disruptive, any SAP Business Suite
version
DevelopersSimple consumption API – no SAP
knowledge required
StandardsBased on REST and OData/ATOM
Social
Exp
erie
nce
s
© 2011 SAP AG. All rights reserved. 7
© 2011 SAP AG. All rights reserved. 8
What is the Open Data Protocol (OData)?
OData for SAP
OData
Atom Syndication
XML
HTTP(S)
OData is a Microsoft developed extension to the Atom Publishing and Atom Syndication standards, which in turn, are based on XML and HTTP(S).
It was designed to provide database-like access to server-side resources. Hence, OData has been described as:
“ODBC for the Web”
It can be used freely without the need for a license or contract.
OData is also extensible. This allows SAP to supplement the data types used by OData with extra information from the ABAP Data Dictionary.
Atom Publishing
Development Paradigms inSAP NetWeaver ® Gateway
© 2011 SAP AG. All rights reserved. 10
SA
P N
etW
eave
r
SA
P N
etW
eave
r
Gat
eway
DesignTime
Development in the Gateway Server
Generators
CustomDev.
Gateway Core
Runtime &OData Library
SAP Business Suite
[ERP,CRM,SRM…]
IW_BEP
CustomDev.
Data Source Prov.
Data Conn.
BAPI RFC Scr.
Life Cycle Management Development on Gateway Server
Service generators for specific data sources (BAPI/RFC/Dynpro Screens*)
Requirements Screen Scraping:
Backends must be based on NW 7.00 SP14 or higher + AddOn: IW_SCS
RFC/BAPI & Custom Dev:Backends must be based on 4.6C or higher
Recommendation Partners/Customers with Backend
< ECC 6.0 EHP 0
Gateway AddOns not installed in Backend Systems
Use of code generators preferred over custom coding
IW_SCS
Web Sybase Unwired Platform Enterprise Software Social
© 2011 SAP AG. All rights reserved. 11
SA
P N
etW
eave
r
SA
P N
etW
eave
r
Gat
eway
DesignTime
Development in the Gateway Server
Generators
CustomDev.
Gateway Core
Runtime &OData Library
SAP Business Suite
[ERP,CRM,SRM…]
IW_BEP
CustomDev.
Data Source Prov.
Data Conn.
BAPI RFC Scr.
Life Cycle Management Development on Gateway Server
Service generators for specific data sources (BAPI/RFC/Dynpro Screens*)
Requirements Screen Scraping:
Backends must be based on NW 7.00 SP14 or higher + AddOn: IW_SCS
RFC/BAPI & Custom Dev:Backends must be based on 4.6C or higher
Recommendation Partners/Customers with Backend
< ECC 6.0 EHP 0
Gateway AddOns not installed in Backend Systems
Use of code generators preferred over custom coding
IW_SCS
Web Sybase Unwired Platform Enterprise Software Social
© 2011 SAP AG. All rights reserved. 12
SA
P N
etW
eave
r
SA
P N
etW
eave
r
Gat
eway
DesignTime
Development in the Backend System – OData Channel
Generators
CustomDev.
Gateway Core
Runtime & OData Library
SAP Business Suite
[ERP,CRM,SRM…]
IW_BEP
CustomDev.
Data Source Prov.
Data Conn.
BAPI RFC Scr.
Life Cycle Management Development in the SAP Backend
Gateway Server: Configuration only
Requirements Backends must be based on
NW 7.00 SP18 or higher and need AddOn: IW_BEP
Recommendation Used by SAP for Standard Software
Development
Most flexible since it allows access to all backend resources and not only to remote enabled interfaces.
IW_SCS
Web Sybase Unwired Platform Enterprise Software Social
Development using the OData Channel
© 2011 SAP AG. All rights reserved. 14
Gateway Service Architecture – 1/5
A Gateway Service is built from 2 different ABAP classes.
Model Provider
Class
DataProvider
Class
Defines the Gateway Service’s interface
(Metadata)
Contains the implementation of the Gateway Service’s functionality
© 2011 SAP AG. All rights reserved. 15
Service GroupTechnical Model
Object
Gateway Service Architecture – 2/5
These classes are not required to have any direct programmatic communication with each other. They are combined in to a Gateway Service by means of configuration.
Model Provider
Class
DataProvider
Class
A Technical Model Object is a configuration wrapper for the
Model Provider Class
A Service Group is a configuration wrapper for the
Data Provider Class
© 2011 SAP AG. All rights reserved. 16
Service GroupTechnical Model
Object
Gateway Service Architecture – 3/5
The Service Group contains the definitions for the internal and external names of your Gateway Service.
Model Provider
Class
DataProvider
Class
Internal Service Name
External Service Name
IMPORTANT!
The value entered for the External Name should be meaningful to the end user and is case-sensitive!
© 2011 SAP AG. All rights reserved. 17
Gateway Service
Service GroupTechnical Model
Object
Gateway Service Architecture – 4/5
A Gateway Service is created by associating the Technical Model Object with the Service Group.
Model Provider
Class
DataProvider
Class
Internal Service Name
External Service Name
© 2011 SAP AG. All rights reserved. 18
Gateway Service
Service GroupTechnical Model
Object
Gateway Service Architecture – 5/5
The final configuration step is to activate the Gateway Service.The service is now accessible from outside the SAP NetWeaver system.
Model Provider
Class
DataProvider
Class
Internal Service Name
External Service Name
Direct access to a Gateway service from a device or browser is only one of several connection possibilities.
Consumption of Gateway Services
© 2011 SAP AG. All rights reserved. 20
Consumption of SAP NetWeaver Gateway Services
Q: What’s the best way to consume a Gateway service?
A: Well you could use…
If fact, you can use any technology with which you are comfortable…
© 2011 SAP AG. All rights reserved. 21
© 2011 SAP AG. All rights reserved. 22
Next steps
• Gateway docu on SDN: http://www.sdn.sap.com/irj/sdn/gateway
• Please do the tutorials of Chris Whealy. They can be found via the link above or directly at:• Part 1: http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/109c15ed-d8a3-2e10-7c9f-dcb1168aa1ff
• Part 2: http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50ad7227-68a9-2e10-b191-905cb9b6c31a
• More tutorials available on help.sap.com:• http://help.sap.com/saphelp_gateway20sp02/helpdata/en/56/d0cc05b564411e841141f68294e29f/
frameset.htm
• More on OData: http://www.odata.org/developers/protocols/overview
• Read the HTTP spec: http://www.w3.org/Protocols/rfc2616/rfc2616.html
© 2011 SAP AG. All rights reserved. 23
Q & A