ABAP · Intermediate · Configuration
How to configure an outbound communication scenario in SAP BTP ABAP environment
Connect a cloud ABAP application to an approved remote Business Partner OData endpoint without hardcoding credentials or target hosts in application source code.
- APPLICABILITY
- SAP BTP ABAP environment, with ADT access and a communication administration user. The consuming ABAP system and the target S/4HANA Cloud Public Edition system are separate tenants. This exercise uses read-only OData access; availability depends on the target API and supported authentication.
- TOOLS / TRANSACTIONS
- Eclipse ADT · Outbound Service · Communication Scenario · Communication Systems · Communication Arrangements
Your project assignment
A hypothetical integration project needs a read-only lookup of an approved synthetic business partner from a separate S/4HANA Cloud sandbox. The developer models the outbound service, while the administrator configures the tenant-specific communication system and arrangement. No partner is created or changed.
Where to start: URLs and transactions
- Development
- Eclipse ADT
- Administration
- Communication Systems and Communication Arrangements apps in the assigned ABAP tenant
- ERPClimb prerequisite
- How to connect Eclipse ADT to the SAP BTP ABAP environment
Prerequisites
- An ABAP Cloud development package and supported ADT version.
- A target sandbox with approved read-only Business Partner API access and service metadata.
- A communication administrator and an approved mutually supported authentication method.
Configuration workflow
ABAP Cloud outbound service resolution
All steps visible. Play or advance one stage at a time.
Hands-on implementation — step by step
Follow the screen navigation, replace example values with approved project values, and mark each step after checking its result. The screens below are original teaching aids, not live SAP screenshots. Progress is local to this visit.
- 1
Target sandbox → confirm API access
Have the target administrator verify that the Business Partner OData service and intended read operation are available to the approved communication identity. Obtain metadata using the sanctioned route.
Target sandbox → confirm API accessERPClimb · illustrative screen - Service
API_BUSINESS_PARTNER- Operation
Read only- Target
Approved sandbox
Expected result: The target API and permitted read operation are established.
Why this matters: An outbound arrangement cannot grant authorization in the remote system.
- 2
ADT → create Outbound Service
In the development package create an outbound service object and set the default path prefix to match the target API. Save it as a development object.
ADT → create Outbound ServiceERPClimb · illustrative screen - Object
ZTRAIN_BP_OUT (hypothetical)- Default Path Prefix
/sap/opu/odata/sap/API_BUSINESS_PARTNER
Expected result: The outbound service has the intended API path.
Why this matters: Separating the service path from the host allows tenant-specific configuration.
- 3
ADT → create Communication Scenario
Create a custom communication scenario, include the outbound service and select only supported authentication methods agreed with the administrator. Publish the scenario using the supported ADT action.
ADT → create Communication ScenarioERPClimb · illustrative screen - Scenario
ZTRAIN_BP_SCEN (hypothetical)- Outbound service
ZTRAIN_BP_OUT- Authentication
Approved supported method
Expected result: The scenario is published and available for communication administration.
Why this matters: The scenario describes the service and allowed authentication choices, not production credentials.
- 4
Communication Systems → maintain target
In the ABAP tenant create a communication system for the approved remote host, with the outbound identity or certificate reference required by your authentication design.
Communication Systems → maintain targetERPClimb · illustrative screen - System ID
TRAIN_S4_QA (hypothetical)- Host
Administrator-provided QA host- Identity
Approved read-only communication identity
Expected result: A target communication system exists with approved authentication settings.
Why this matters: The communication system holds environment-specific connection information outside application code.
- 5
Communication Arrangements → create
Create an arrangement using the published scenario, assign the communication system and configure the outbound service using the approved authentication details. Confirm the service URL.
Communication Arrangements → createERPClimb · illustrative screen - Scenario
ZTRAIN_BP_SCEN- System
TRAIN_S4_QA- Outbound path
Approved Business Partner API path
Expected result: The arrangement connects the scenario and the target system.
Why this matters: The arrangement supplies the runtime destination for the modeled communication.
- 6
ADT → consumer and controlled test
Create a service consumption model using the approved API metadata. Implement a read-only consumer using the generated proxy and the supported communication-arrangement destination API for your release.
ADT → consumer and controlled testERPClimb · illustrative screen - Service Consumption Model
ZTRAIN_BP_PROXY (hypothetical)- Request
Read one synthetic partner- Result
Only necessary non-sensitive fields
Expected result: The consumer reads the authorized synthetic record or returns a diagnostic error without changing remote data.
Why this matters: The final request validates destination resolution, authentication and remote authorization together.
Project acceptance checklist
Use this checklist to prepare evidence for your project lead.
0 of 4 checks marked. This does not certify the SAP configuration.
Validate your configuration
- The published scenario and outbound service are visible in the arrangement.
- An approved read-only request returns the expected test record without any remote write.
Common errors and what to check
scenario missing.
Check: Check the ADT publish state and administrator authorizations.
authentication failure.
Check: Check the agreed authentication configuration and identity validity without exposing secrets.
forbidden request.
Check: Check the target API communication setup and read authorization.
endpoint not found.
Check: Compare the target service path and metadata with the outbound service configuration.
More in the SAP Library
Need help with a configuration error? Open ERPClimb Copilot.
Technical references & further reading
Official documentation for technical verification, release compatibility and further study.