

Integrating the ABAP Environment with SAP S/4HANA Cloud | Hands-on Video Tutoria...
source link: https://blogs.sap.com/2021/05/12/integrating-the-abap-environment-with-sap-s-4hana-cloud-hands-on-video-tutorials/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Integrate the ABAP environment of the SAP Business Technology Platform with SAP S/4HANA Cloud in a few clicks and some oldskool copy ‘n paste.
In this blog post you will find the tutorial video embedded with references and additional information.
For the related blog posts, visit
Questions? Please post as comment.
Useful? Give us a like and share on social media.
Thanks!
Hands-On Video Tutorials
What You Will Learn
In the video we cover how to prepare the SAP S/4HANA Cloud tenant to accept connections from the SAP Business Technology Platform (BTP) ABAP environment using OAuth, how to configure a destination in your BTP subaccount pointing to SAP S/4HANA Cloud, and what objects you need to create and code to write to make the API calls.
Ingredients
To follow along, you’ll need
- SAP S/4HANA Cloud tenant with an account privileged to create a communication arrangement (SAP_CORE_BC_COM)
- SAP BTP ABAP Environment with an account authorized to create destinations
- ABAP Development Tools (ADT)
Code Sample
For the code sample used in this tutorial and a step-by-step description of the ABAP development activities, visit the SAP Development Center
- Create business partner in S/4HANA Cloud using ABAP Environment data by Niloofar Flothkoetter
Integrating the ABAP Environment with SAP S/4HANA Cloud
In this short video tutorial, we cover the concepts, configure the communication arrangement, the destination, and showcase the code sample.
0:00 – Introduction and documentation
3:00 – Download Trust from SAP BTP Subaccount Destinations
4:00 – Create communication arrangement in SAP S/4HANA Cloud
4:40 – Upload signing certificate to the communication system
5:10 – Get URL of ABAP environment
5:45 – Create communication user for inbound communication
7:25 – Get hostname of inbound service URL (OData) and OAuth 2.0 details
8:00 – Create new destination for the SAP BTP subaccount
9:10 – Using ADT, create a service consumption model
9:25 – Get API EDMX from SAP API Business Hub
10:00 – Create HTTP service
10:25 – Create business partner using API call
10:45 – Verification in SAP S/4HANA Cloud
Scenario
Administration Activities
For this scenario, we need to create a communication arrangement with communication system and user on our SAP S/4HANA tenant. For the OAuth 2.0 trust, we need to update a signing key that we can download from our SAP BTP subaccount.
The illustration below shows the administration activities. Previously, it was required to create a service instance of the destination service, create a service key for this instance, and create a communication arrangement in the ABAP environment. This is no longer required and a destination defined at the subaccount suffices (not shown here).
To call the API, as developer, we need to create a service definition using the metadata from the SAP S/4HANA Cloud tenant (or the SAP API Business Hub, alternatively) and an HTTP Service with API handler.
The figure below shows the configuration of the OAUTH2SAMLBearerAssertion destination. Time of writing, the configuration requires the copy and paste of a number of settings from the communication arrangement of the SAP S/4HANA Cloud tenant, as documented
The figure below shows the generated service consumption model from the EDMX. The model is references in the HTTP service object.
Additional Resources
SAP Help Portal
For the documentation of the procedure, visit
- Integrating the ABAP Environment and the SAP S/4HANA Cloud System | SAP Business Technology Platform
For more information about communication arrangements, see
- Communication Management | Extend and Integrate Your SAP S/4HANA Cloud
For more information about extending SAP S/4HANA Cloud, see
- APIs on SAP API Business Hub | Extend and Integrate Your SAP S/4HANA Cloud
For more information about the Business Partner API, visit
- Business Partner (A2X) | APIs for Master Data Maintenance (API) | SAP S/4HANA Cloud
SAP API Business Hub
To download the EDMX for the API and learn more about the different APIs and entities, see
Share and Connect
Questions? Post as comment.
Useful? Give us a like and share on social media. Thanks!
If you would like to receive updates, connect with me on
Recommend
-
17
Environment, Health, and Safety (EH&S) in SAP S/4HANA Cloud 2108 This blog provides you with the latest and greatest innovations that our SAP S/4HANA Cloud 2108 release has in store for you in the area of Environm...
-
12
Sahil Grover April 22, 2022 2 minute read
-
7
Sahil Grover April 22, 2022 3 minute read
-
6
Beautiful Dashboards with Grafana and Prometheus - Monitoring Kubernetes Tutorial By Techno Tim Posted 14 hours ago Updated 1...
-
11
RAP Based Events in SAP S/4HANA Cloud ABAP Environment ( aka Embedded Steampunk ) Event Driven Architecture has gained a lot of popularity in recent times as businesses are looking to leverage it to become flexible , agile...
-
8
Ramy Salem February 20, 2023 4 minute read ...
-
14
Vincent Zhu April 6, 2023 6 minute read ...
-
8
As you can know from the title, this is the 3rd case of our series. Before we start this blog, I’d like to suggest that you can read other blogs in our series.
-
5
Vincent Zhu June 19, 2023 3 minute read ...
-
11
Martin Pankraz June 30, 2023 7 minute read...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK