Skip to Content

Create a Communication Arrangement for Outbound Communication

test
0 %
Create a Communication Arrangement for Outbound Communication
Details
// Explore More Tutorials

Create a Communication Arrangement for Outbound Communication

Requires Customer/Partner License

09/30/2019

Create a communication arrangement to connect your ABAP Environment to an external system - either SAP or third-party.

You will learn

  • How to create a Communication Arrangement (see below) for SAP CP Cloud Foundry Service Integration. You can then use this communication arrangement, for example to connect your ABAP Environment instance to an external API
  • How to test this arrangement by creating a specific destination pointing to an external API

The communication scenario SAP_COM_0276 is predefined by SAP. It allow you to, for example, exchange data between an ABAP Environment instance and an on-premise S/4HANA System, or a third-party API.
A communication arrangement specifies the metadata for a specific communication scenario, such as your host system and the authentication method. This metadata is contained in a service key. You can then define one or more specific destinations for this arrangement.

For more information, see:

For more information on SAP Cloud Platform, accounts, and environments, see SAP Help Portal: What is SAP Cloud Platform

Throughout this tutorial, objects name include the suffix 2 or XXX. Replace this suffix with your group number or initials.


Step 1: Create a Cloud Foundry destination service instance
  1. In SAP Cloud Cockpit: Navigate to your Space (such as Dev).

    Image depicting step1-space
  2. Choose Service Marketplace > Destination.

    Image depicting step1b-service-marketplace
  3. Choose Instances > New Instance.

    Image depicting step1c-destination-external-api
  4. Accept the defaults and choose Next > Next > Next.

  5. On the Confirm screen, enter an instance name EXTERNAL_API_XXX, then choose Finish.

    Image depicting step1d-destination-instance-name

The new instance appears in the list.

Image depicting step1e-list-of-instances
Log on to answer question
Step 2: Create a new specific destination for the service instance
  1. Open your destination, EXTERNAL_API_XXX, by double-clicking it, then choose Destinations > New Destination:

    Image depicting step2-new-destination
  2. Then enter the following (replacing xxx with your group number). Then choose Save:

    • Name = Z_CHUCKNORRIS_xxx
    • URL = http://api.icndb.com/jokes/random?limitTo=[nerdy]
    • Proxy type = Internet
    • Authentication = NoAuthentication
    Image depicting step2b-destination-settings
Log on to answer question
Step 3: Check the connection

Check the connection:

Image depicting step2c-check-connection
Log on to answer question
Step 4: Create a service key
  1. Choose Service Keys > Create Service Key.

    Image depicting step4e-create-service-key

  2. Enter the service instance name EXTERNAL_API_XXX.

    Image depicting step4f-enter-service-instance-name

  3. Copy the service key to a text file, since you will need it later.

    Image depicting step4g-copy-service-key

Log on to answer question
Step 5: Open the dashboard for your ABAP service instance
  1. Go back to your space, Dev and choose Service Instances > your_ABAP_service_instance.

    Image depicting step3a-abap-service-instance
  2. Choose Open Dashboard.

    Image depicting step3b-open-dashboard

The dashboard opens.

Log on to answer question
Step 6: Create a communication arrangement using the service key
  1. Choose Communication Arrangements > New.

    Image depicting step3c-create-comm-arr

    .
    Image depicting step3d-new-comm-arr

  2. Choose the correct communication scenario from the drop-down list, that is SAP_COM_0276 (SAP CP Cloud Foundry Service Integration). These scenarios are pre-configured by SAP.

    Image depicting step3e-comm-scenario

    .
    Image depicting step4a-comm-scenarios-list

  3. Enter the name you chose for your destination service instance in SAP Cloud Cockpit, that is EXTERNAL_API_XXX.

  4. Paste in the service key and choose Create.

    Image depicting step4b-new-comm-arr-by-service-key

A communication arrangement is created, along with an identically-named communication system.

Image depicting step4c-comm-arr-list

.
Image depicting step4d-comm-arr-sys

Log on to answer question
Step 7: Add the service instance name

Still in the Communication Arrangement, in the Additional Properties panel, replace the default value EXTERNAL_API_XXX of the property Service Instance Name, with another value such as OutboundComm_for_RFCDemo_XXX. (To avoid confusion, make the Communication Arrangement name and the service instance name different).

Image depicting step6-service-instance-name
Log on to answer question
Step 8: Test yourself
In which entity or entities can you enter information about OAuth authentication? Choose all that apply:
×

Next Steps

Prerequisites

Back to top