You are on page 1of 16

SAP NetWeaver Gateway

Overview
Agenda
Overview
Architecture
OData
SEGW (SAP NetWeaver Gateway)
1. Entity Types 2. Complex Types
3. Associations 4. Entity Sets
5. Association Sets 6. Function Imports
7. Redefining Services
Point to Point solutions
SAP NetWeaver Gateway
Open
Any Device, Any Experience, Any
Experiences

Platform

People
Optimized for user interaction
scenarios
Enterprise
Web Devices Social
Software
Timeless
Non-disruptive, any SAP Business
Suite version

Developers
SAP NetWeaver Gateway Simple APIs, no SAP knowledge
required

Standards
Based on the OData protocol (Atom)
SAP Business Suite REST

CRM SRM SCM PLM ERP


SAP NetWeaver Gateway Architecture

IDEs Consumer Consumer Consumer Network


Plug-ins Standards

Tools Gateway Core OData with SAP Annotations


Technology
Metadata Repository Supportability
GeneratorsCustom Dev
BOR/SCR/ OData Service Monitoring
RFC Channel API Events /
Adaptati
Worflow Security
on
SAP NetWeaver

SAP NetWeaver Data Source Data Conn.


Providers
Gateway BAPI / RFC Dynpro

SAP Business Suite [ERP,CRM,SRM]


The SAP NetWeaver Gateway interface can be used by any
programmable device that can speak HTTP(S). In providing this
capability, it hides the complexities that exist within your
system landscape by making use of:
Protocol Adaptation
OData becomes the only communication protocol needed for
you to supply or consume SAP Business Data to or from your
SAP systems.
Service Adaptation
Different types and versions of SAP systems now appear as a
single, integrated repository of business information.
What is OData?
OData is a Microsoft developed extension to
the Atom Publishing and Atom Syndication
standards, which in turn, are based on XML OData + SAP Extensions
and HTTP(S).
It was designed to provide a standardized OData
implementation of a RESTful API. In doing so, it
offers database-like access to server-side Atom Publishing Protocol
resources. Hence, OData is described as:
Atom Syndication Format
ODBC for the Web
It can be used freely without the need for a XML
license or contract.
HTTP
OData is also extensible. This allows SAP to
supplement the data types used by OData with
extra information from the ABAP Data
Dictionary.
SAP NetWeaver Gateway Tools
Benefits Capabilities
Does not require coding Supports multiple object aggregation
Well-suited for tweakers and non- Supports adaptation based on client application
ABAP developers requirements
Enables rapid prototyping Generate structures based on underlying data
Create new Gateway objects from source
existing BOR Objects, RFMs & ABAP Support CRUD operations + QUERY Operation
Dynpro screens Simplification of Service Interface so that no
SAP skills required

Network
IDEs Consumer Consumer Consumer
Tools Plug-ins
Standard
s

Gateway Core OData with SAP Annotations


RFC BOR SCR Custom Tools
Technology
Supportability
SAP NetWeaver

Generator Generator Generator Dev. Generators


Custom
REST
Metadata
Repository Monitoring
BOR/SCR/ Dev. Service
RFC Events Security
Adaptation

SAP
Data Conn.
NetWeave Data Source
Generate new Gateway Build custom r Gateway
Providers BAPI RFC WS

objects from existing BAPIs, Gateway


RFCs or Dynpros object
SAP Business Suite [ERP,CRM,SRM]
Data Model :
Describes the organization and relationship of data resources with
in a business scenario.

Data Model Elements:

Entity Types
Complex Types
Associations
Entity Sets
Association Sets
Function Imports
Entity Types :
Describe the structure of data in the Entity Data Model (EDM).
Entity types represent a specific type of data, for example an item
or a concept.

The structure of an entity type is provided by its Properties.

Properties define the characteristics of the data that an entity type instance
will contain at runtime.

An Entity Key is formed from a subset of the properties of the entity type.
Association :
An Association is a named relationship between two entity types.
Every association includes two association ends, which specify the entity
types that are related and the cardinality rules for each end of the
association.

Navigation Properties :
Describe the navigation path between the relationship of an
entity. It is the property of an Entity that represents a link from the Entity to
one or more related Entities.
Complex Types :
Complex types are structural types similar to an entity type; the main
difference is that complex types have no identity and cannot support
associations.

Unlike entity types, complex types cannot form either end of an


association between data objects, and therefore you cannot define
navigation properties for complex types.

Entity Sets :
Used to group together instances of an entity type together with
instances of any type that are derived from this particular entity type.
Association Sets :

An Association Set groups Association instances. Hence, it specifies a


relationship between two Entity Sets based on the respective Entity Types
of the underlying Association.

Function Imports :

Service operations that can be invoked by the HTTP methods GET or


POST for anything that cannot be mapped to the standard CRUD
operations.
Redefining Services :

Redefine a service
Extend the existing model
Overwrite existing model

Redefining Services from External Framework :

Service Provider Interface (SPI)


SAP Business Warehouse (BW)
Generic Interaction Layer (GenIL)
Thank You

You might also like