Follow these steps to connect to SAP S/4HANA Cloud.

Step 1: Configuring SAP S/4HANA Cloud
Let's look at the configuration required to expose the CDS view I_GLAccountLineItemRawData in SAP S/4HANA Cloud as an external API for consumption.
In SAP Sustainability Control Tower, the CDS view I_GLAccountLineItemRawData is used to replicate financial data from SAP S/4HANA Cloud, including the most important business entities, such as G/L accounts, company codes, cost centers, or profit centers.
PrerequisitesYou have created at least one authorization group ID with a CDS view allowlist in the Manage Your Solution application, in the section Configure Your Solution with the self-service configuration Define Allowlists for CDS view extraction (Application Area: Application Platform and Infrastructure. Sub Application Area: Data Extraction).
If you are using SAP Central Business Configuration, you can define a CDS view allowlist in the configuration activity Define Allowlists for CDS View Extraction (Configuration Activities → General Settings → Further Settings → Define Allowlists for CDS View Extraction).
Communication ArrangementsLet's look at the setup of communication arrangements required for this scope item. The table outlines the communication setups that must be enabled in SAP S/4HANA Cloud for communication with web services.
| ID of Communication Arrangement | Name of Communication Arrangement |
|---|---|
| SAP_COM_0531 | SAP Data Hub - ABAP CDS OData Integration |
Follow the links provided in the table to know the procedures for setting up communication arrangements.
| Steps to Create the Communication Arrangement | Links |
|---|---|
| Create a Technical Communication User | Creating a Technical Communication User | SAP Help Portal |
| Create the Communication System | Create the Communication System | SAP Help Portal |
| Create the Communication Arrangement | Create the Communication Arrangement | SAP Help Portal |
Step 2: Setting up the Destination (Cloud)
Follow the given steps to set up the destination.
- Go to the SAP BTP cockpit and navigate to Subaccount + Connectivity + Destinations.
- Select New Destination and fill in the details below.
Destination Configuration
Field Name Value Name SAP_SCT_S4H Type HTTP Description A description of your choice, for example Connection to <your system>. URL Enter the actual host by which SAP S/4HANA Cloud system can be reached over the internet, for example, https://myxxxxxx-api.s4hana.ondemand.com. Proxy Type Internet Authentication BasicAuthentication User <The technical communication user that is used in SAP S/4HANA Cloud>. For more information, see Configuring SAP S/4HANA Cloud. Password <The password of the technical communication user>. For more information, see Configuring SAP S/4HANA Cloud. - Select Save.