Mobile Solutions with SAP NetWeaver Gateway
Syambabu Allu, ConsultantSAP Mobility
Agenda
What is SAP NetWeaver Gateway and oData
Overview of SAP NetWeaver Gateway
Architecture of SAP NetWeaver Gateway
Solution Architecture for Online Mobile Apps
Software Components for Gateway System
Development Process
Demo
SAP NetWeaver Gateway
What is SAP NetWeaver Gateway and what is it not?
It is not…… the Gateway component of SAP NetWeaver Mobile.
… the SAP Gateway that is part of the Web Application Server ABAP that enablesRFC communication.
… a mobile platform.
… a replacement for SAP NetWeaver PI and eSOA Services.
It is…
… a NetWeaver Application Server ABAP add-on.
… an essential part in making an online mobile application, providing access viaSUP to SAP Business Suite using the OData protocol.
*Remote Function Call **Process Integration
SAP NetWeaver Gateway provides the following functionality
…Runtime environment for SAP solutions that integrates desktop programs with SAP systems.
…Runtime features, including user interface, secure data access, database connectivity, and network communications for managing applications running on top of the framework.
…Infrastructure and tools for developing applications to run on the framework or to enhance SAP solutions that integrate desktop programs with SAP systems.
…Connection to multiple SAP systems regardless of their versions.
Open Data Protocol (OData)
It is a non-proprietary license-free web protocol for querying and updating data.
It offers database-like access to business data (“ODBC for the Web”).
No prior knowledge of SAP required.
Dynamic binding takes place at runtime.
OData is based on HTTP(S) communication and the Atom Publishing Protocol(AtomPub).
For more detailed information, please refer to http://www.odata.org
Open Data Protocol - “ODBC for the Web”
OData can be used to access table like structures much the same way ODBC does.
Why REST?
Consumer
Core Network Standards SDK
Metering Security REST SOAP
Monitoring ID Mgt. Backend Adaptation
REST-based architecture - hides SAP backend
complexity
Human readable results
Apps characteristics is stateless
Uses the standard GET, PUT, POST & DELETE
SAP Data Protocol (Consultation)
Gateway
Core Tools
Metering Security REST SOAP Designtime Monitoring ID Mgt. Backend Adaptation Admin
Content Provisioning
Application
E.g.: Twitter, Twilio, Amazon.com, Facebook, eBay, YouTube, Yahoo!, The Atom Publishing Protocol, CouchDB
Enterprise Computing for Business ConsumersKey Challenges and Desired Outcome
Browser Based Mobile Devices Enterprise Cloud ConsumerApplications Software Devices
Point to Point SolutionsIncrease Costs & Complexity
SAP Business Suite
CRM SRM SCM PLM ERP
SAP NetWeaver GatewayOverview
Web Mobile devices
SybaseUnwiredPlatform
Enterprise Software Social Media OpenAny device, any platform, anyexperience
PeopleOptimized for user-interactionscenarios
TimelessNon-disruptive, any SAP BusinessSuite version
SAP NetWeaver GatewayDevelopers
SAP Business Suite
CRM SRM SCM PLM ERP
Simple APIs, no SAP knowledgerequired
StandardsBased on REST and OData/ATOM
SAP NetWeaver GatewayArchitecture
IDEsConsumer Consumer Consumer
Plug-ins
Tools Gateway Core
NetworkStandards
OData with SAP AnnotationsTechnologySupportability
Generators Custom Dev Metadata Repository MonitoringBOR/SCR/ OData
RFC Channel API Service Events /Adaptation Workflow Security
Data SourceSAP NetWeaver Providers
Gateway
Data Conn.
BAPI / RFC Dynpro
SAP Business Suite [ERP,CRM,SRM…]
Sybase Unwired Platform: High-Level Architecture
Apps (native and/or container)
Reusable libraries
Mobile device SDK OData
OData
Sybase Unwired Platform
OData
SAP Netweaver Gateway
Adapter
SDK MBO
MBO
Content
DOE Content
RFC; BAPI
API
Back-End Systems
Solution Architecture for Online Mobile Apps
User InterfaceMobile Device
Native UI on mobileNative app/UI
SAP libraries
R▼
Relay Server (optional)R
http / IMO / OData ▼
SUP 2.1 (Connectivity)R
http(s), OData
SAP SDK & libraries for OData for SAP products
Programming against a consumption model
ConnectivityBridge between internet and company intranet
Push ▼
SAP NetWeaver Gateway 2.0(ABAP, NW 7.02)
R RFCPush ▼
SAP ERP 6.0/
Suite 7.0 OData Adapter(ABAP, NW 7.0)
Business logic
Protocol TranslationGateway exposes OData Services
Business Logic, AdaptationSAP ERP 6.0/ Suite 7 provides business logicOData Adapter maps between business model andconsumption model
Software Components for SAP Netweaver Gateway
SAP Basis SAP Basis SAP Basis SAP Basis SAP Basis7.00 (SP 18) 7.01 (SP 3) 7.02 (SP 7) 7.30 7.31 (SP 1)
Gateway X XServerGateway BEP X X X X
Gateway SCS X X X X
Gateway Server: GW_CORE 200 SAP IW CBS 200 SAP IW CNT 200
SAP IW FND 250 SAP WEB UIF 7.01 Gateway BEP
SAP IW BEP 200 Gateway SCS • SAP IW SCS 200
1
Deployment Options
Deployment options: Embedded deployment: The core software components for SAP NetWeaver Gateway And any optional backend components are deployed together in the SAP Business Suite backend System.
Central hub deployment: The SAP NetWeaver Gateway core software components can be deployed in a standalone system, either behind or in front of the firewall. In addition, you can install the optional components for central hub deployment in your standalone system..
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
BAPI, RFC &ABAP Dynpro screens
Support multiple object aggregation Support filter and adaption based on client Application requirements Generate structures Support CRUD operations
Tools IDEs Plug-ins
Consumer Consumer Consumer Network Standards
RFC BOR Generator Generator
Generate new Gateway objects from existing
BAPIs, RFCs or Dynpros
SCR Custom Generator Dev.
Build custom Gateway object
Tools
Generators Custom BOR/SCR/ Dev.
RFC
SAP NetWeaver Gateway
Gateway Core Technology
REST
Service Adaptation
Data Source Providers
OData with SAP Annotations
Supportability Metadata Repository Monitoring
Events Security
Data Conn.
BAPI RFC WS
SAP Business Suite [ERP,CRM,SRM…]
Development Process
Consumer Application IDE
Create Proxy using Plug-ins
Create Consumer Application
Gateway SE80 Gateway Create Service Object Document
SAP Business Suite
Create Model RFC/ Dynpro & Data
BAPI Screen Provider
Step 1 (Gateway) • Pick a Dynpro, a BAPI or existing Gateway
Model • Create a Data Source Model through
the Gateway Design Time • Create a simplified Model and generate the
service document
Step 2 (Consumer IDE) • Create Proxy Classes using Plug-ins
• Create a consumer application
SAP NetWeaver Gateway Service Builder (SEGW)
Developer productivity (low TCD) for ABAPDeveloper
The SAP NetWeaver Gateway Service Builderprovides a tool to centrally display and createthe definition of an OData Service.-Runtime artifacts (model provider class,- data
-provider class, model and service)
- OData artifacts (entity set, entity type andproperties)
- Used data sources and models EDMX-Model import
DDIC Import
Multiple Origin Composition
Access data from multiple backend Systems with one service call.
Add multiple aliases to the service intransaction /IWFND/MAINT_SERVICE.
Add “;mo” to the URL of the service.- Example:
http://<host name>:<port>/sap/opu/odata/iwfnd/RMTSAMPLEFLIGHT;mo/
More information on the Help Portal.
DEMO BOR Generator
DEMO Screen Generator
Summary
Developers with/out SAP knowledge are able to create solutions for SAP Systems
SAP NetWeaver Gateway is required when developing mobile online applications,which enable the access to SAP Business Suite systems using OData Protocol
SAP NetWeaver Gateway is a NetWeaver Application Server ABAP add-on.
SAP NetWeaver Gateway supports every device and platform.
And Much Much More…
More features in SP4… $batch - allows you to pass in multiple operations in a single call
- See http://scn.sap.com/docs/DOC-29682
$inlinecount - includes entity count returned with results of get_entity_set method.
Integration with SAP HANA - make a connection to SAP HANA and expose HANA data as OData Service via Gateway- See http://scn.sap.com/docs/DOC-30428
And More…See entire list http://help.sap.com/saphelp_gateway20sp04/helpdata/en/10/2b9c8a863a451ebe6bd4358d9d6adb/frameset.htm .
What’s To Come in SP5 Generator integration with the Gateway Service Builder (SEGW) And Much Much More…
© 2012 SAP. 12
Thank you