Skip to content

Access Data in the SAP Public Cloud

The following article shows how to access data from the SAP S/4HANA Public Cloud. Xtract Universal can access BAPIs / Function Modules that are available via SAP Communication Scenarios.

Note

Xtract Universal only supports data extraction via RFC service using the BAPI extraction type. Data extraction via OData is currently in development and is scheduled to be released in Q4 2024. Other extraction types cannot access data in the SAP Public Cloud.

About Communication Scenarios

Communication Scenarios are used to exchange data between the SAP Cloud and external systems.
You can use the Display Communication Scenarios app in the SAP Public Cloud to look up available Communication Scenarios that provide access to BAPIs / Function Modules, e.g., the Communication Scenario SAP_COM_0109 includes BAPIS that are used for Sales Order Integration.

In Communication Scenarios BAPIs / Function Modules are listed as Service Type RFC:

display-communication-scenarios

Prerequisites

Enable Communication in the SAP Public Cloud

Use the Communication Management apps in the SAP Public Cloud to make BAPIs / Function Modules accessible for external systems:

  1. Create a Communication User in the Maintain Communication Users app.
    Maintain-Communication-Users
  2. Create a Communication System that handles inbound service calls in the Communication Systems app.
    Communication-System
  3. Assign a Communication User to the Communication System in the subsection Users for Inbound Communication.
  4. Create Communication Arrangements to define, which Communication Scenarios can be accessed by the Communication System and the Communication User. The Communication Scenario SAP_COM_0636 (Remote Function Call - RFC Metadata Integration) is mandatory for using the BAPI extraction type in Xtract Universal.
    Communication-Arrangement

For more information, see SAP Help: Setting up Communication Management.

Enable Communication in Xtract Universal

Follow the steps below to create an Xtract Universal source that connects to an SAP Public Cloud:

  1. In the main window of the Designer, navigate to the menu bar and select Server > Manage Sources. The window "Manage Sources" opens.
    Create-Connection
  2. Click [Add] to add a new SAP connection or click [ ] to edit an existing connection. The window "Change Source" opens.
    Create-Connection-2
  3. Enter a name for the SAP connection in the field Name, e.g., SAPCloud.
  4. In the General tab, select the connection method WebSocket.
    sap-source-general
  5. Fill out the connection details, see Connection Settings.
    • In the field Library, enter the path to the SAP Cryptographic Library (sapcrypto.dll).
    • In the field Client PSE, enter the path to the client .pse file.
  6. In the Authentication tab, enter the username and password of the SAP Communication User.
  7. Activate the checkbox User name is alias.
    sap-source-authentication-websocket
  8. Click [Test designer connection] to validate the connection between the Xtract Universal Designer and the SAP system.
  9. Click [Test server connection] to validate the connection between the Xtract Universal Server and the SAP system.
  10. Click [OK] to save the SAP source.

Look Up and Execute BAPIs

Follow the regular workflow to look up and execute BAPIS:

  1. Create a new BAPI / Function Module extraction.
  2. Look up a BAPI / Function Module included in the Communication Scenarios that your Communication User has access to.

    Note

    The lookup returns a list of all BAPIS in the SAP Public Cloud with no consideration for Communication Scenarios. Make sure to only select BAPIS that are available via Communication Scenarios, see About Communication Scenarios.

  3. Define all mandatory parameters of the BAPI.

  4. Run the extraction.


Last update: September 26, 2024
Written by: Valerie Schipka