teched2020-DEV268
teched2020-DEV268 copied to clipboard
DEV268 - SAP Cloud Platform, ABAP Environment Connectivity and Integration
DEV268 - SAP BTP ABAP Environment Connectivity and Integration
Description
This repository contains the material for the SAP TechEd 2020 session called DEV268 - SAP Cloud Platform, ABAP Environment Connectivity and Integration.
Disclaimer
Note that this workshop was first offered in 2020; consequently, all its assets were created before the branding changes related to SAP technology were announced in January 2021. For example, SAP Cloud Platform, ABAP environment has been renamed to SAP Business Technology Platform (BTP), ABAP environment.
Overview
In this session we will show you how you can use SAP Cloud Platform, ABAP environment for side-by-side extension scenarios with SAP S/4 HANA using the ABAP RESTful Application Programming Model
Our scenario is an inventory application that runs on SAP Cloud Platform, ABAP environment. This application will use product master data from an on premise S/4 HANA system that will be retrieved via calling an OData service and via calling a SOAP web service.
To speed up the development we will use a tool called the RAP Generator that generates the complete stack of a RAP business object based on one or more tables that have to be created beforehand.
For this workshop we even prepared a class that also creates the table for the inventory data and then calls the RAP Generator to generate the RAP business object on top. This allows us to skip writing lots of boiler plate coding that you otherwise would have to write yourself.
And we can start much faster with the implementation of our side-by-side integration scenario, so that it fits into the schedule of a 2-hour hands-on session.
Requirements
- You have created a trial account on SAP Cloud Platform: Get a Free Trial Account on SAP Cloud Platform.
- You have installed the ABAP Development Tools (ADT). Get the ABAP Development Tools (ADT), section „Procedure“.
- You have prepared your ABAP Trial which can be easily be done via the SAP Cloud Platform cockpit in just 3 steps.
- Click on Enter Your Trial Account.
- Click on Boosters in the menu on the left hand side
- Choose the tile Prepare an Account for ABAP Trial and follow the wizard
- Click on Enter Your Trial Account.
For a detailed step-by-step description check out our Onboarding Tutorial.
Download and Installation
You have to download and install the ABAP Development Tools (ADT) as described in section Requirements
Known Issues
There are no known issues.
Exercises
These are the steps of our hands-ons session:
-
Getting Started
- Connect to the system
- Import the helper class - required on non-trial systems
-
Exercise 1 - Generate a starter application
- Generate the data model
- Publish service
- Check the generated repository objects
- Behavior Implementation
- Summary
- Solution
-
Exercise 2 - Consume an OData service
- Create the service consumption model
- Create a console application to test the OData service
-
Create a custom entity and implement the query implementation class
- Create a custom entity
- Implement the query implemenation class
- Add the custom entity as a value help
- Test the service
- Summary
- Solution
-
Exercise 3 - Consume a SOAP Web service
- Download the WSDL
- Create the Service Consumption Model
- Add and implement a determination
- Test the service
- Solution
How to obtain support
Support for the content in this repository is available during the actual time of the online session for which this content has been designed. Otherwise, you may request support via the Issues tab.
License
Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.