0% found this document useful (0 votes)
26 views14 pages

Unit 03 - Getting Started

This document outlines the objectives and steps for getting started with SAP API Management, including connecting to the SAP HANA Cloud Platform and creating a simple API Proxy. It provides a high-level overview of the components involved in the API management process and instructions for accessing necessary resources. By the end of the unit, users should be able to log into the HCP Trial, connect to the SAP Gateway, and create an API Proxy to test in a browser.

Uploaded by

atungmu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views14 pages

Unit 03 - Getting Started

This document outlines the objectives and steps for getting started with SAP API Management, including connecting to the SAP HANA Cloud Platform and creating a simple API Proxy. It provides a high-level overview of the components involved in the API management process and instructions for accessing necessary resources. By the end of the unit, users should be able to log into the HCP Trial, connect to the SAP Gateway, and create an API Proxy to test in a browser.

Uploaded by

atungmu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

SAP API Management

Unit 3: Getting Started


Andreas Krause
November 2017

PUBLIC
Objectives

After completing this unit, you will be able to:


- Understand from an end-to-end demo how an SAP API Management implementation
could look like
- Connect and enable SAP API Management on SAP HANA Cloud Platform trial
- Connect to a public SAP Gateway system and consume an OData service
- Expose this service via SAP API Management
- Test the service in a browser

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2


© 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 2
A First End-to-End Flow
High Level Overview of Component / Flow

API Key Access


Caching SAP WebIDE
Verification Control

OAuth 2.0
Quota CORS
URL Masking
Handling Handling
Native Mobile App
Backend Dynamic Content
Authentication
Spike Arrest Routing
(using SMP SDK)

Protocol Custom Error SAML


Transformation Messages Authentication
PHP / Web App

Identity Provider
SAP HANA Cloud Connector HCP ODP / GWaaS
BASIC Auth.
X.509 SAML

OData Service OData Service SOAP Service

Non-SAP
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4
© 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 4
End-to-End Flow

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5


© 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 5
Getting Started
Build your first very simple API Proxy

Build your first very simple API Proxy


✓ Register & log on to HCP Trial
✓ Activate SAP API Management
✓ Register & connect to public SAP
Gateway ES4
✓ Create a simple API Proxy
Register & Log on to HCP Trial

SAP HANA Cloud Platform Trial


https://account.hanatrial.ondemand.com/

What is the HCP Cockpit?

The cockpit is a web-based user interface for


deploying, running, and managing your web
applications and connecting them with services on
the HANA cloud platform.

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7


© 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 7
Activate SAP API Management

SAP API Management

One of the services available on HCP is SAP API


Management.

Once activated the API Portal and the Dev Portal


can be accessed

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8


© 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 8
Register & Connect to SAP Gateway System

SAP Gateway is one tool to expose SAP


business data via OData.

A public SAP Gateway system is available at

https://sapes4.sapdevcenter.com

Users can be registered via:

http://scn.sap.com/docs/DOC-40986

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9


© 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 9
Create Simple API Proxy

From the SAP API Management API Portal,


connect to public SAP Gateway Odata service
at

https://sapes4.sapdevcenter.com/sap/opu/odat
a/iwbep/GWSAMPLE_BASIC

And test the newly created API Proxy in a


browser:

https://trial.apim1.hanatrial.ondemand.com:443/
p1941945543trial/GWSAMPLE_BASIC_Simple

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10


© 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 10
Before we get started…

Throught the next exercises we will access and use several URL, users, API Keys, …

To simplify switching back and forth it can be useful to collect all this information in a notepad
so you can easily copy and paste it from there.

Information you should keep are:

HCP Trial ID
URL to HCP APIM
API Portal
API Developer Portal
API Proxy
API Key

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 11


© 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 11
Unit 3 – Exercise: Create Your First API Proxy

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12


© 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 12
Lesson Summary

You should now be able to:


- Log on to HCP Trial and understand what it is for
- Connect to the public SAP Gateway system ES4
- Create a very simple API Proxy and call it from a browser

© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 13


© 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 13
Thank you.

You might also like