Skip to main content
Put topics about this connector package here. Always check the ‘How to use the Alumio connector packages’ topic.

Extra information

System documentation:

Connector package documentation

Table of Contents

  1. Setting up HTTP Client SAP S/4 Hana Odata
    • 1.1 Steps
    1. Subscribing to Entities from SAP S/4 Hana Odata
      • 2.1 Steps
        • 2.2 General Concept
        1. Publishing Entity to SAP S/4 Hana Odata
          • 3.1 Steps
            • 3.2 General Concept

            Setting up HTTP Client SAP S/4 Hana Odata

            Steps

            1. In Alumio Dashboard, go to Clients > HTTPS Client. Create a new HTTP Client and select SAP S/4 Hana Odata HTTP Client as the prototype of the HTTP Client.
            2. Fill in the Base URI, and Api Key.
            3. On the top right, press Save & Continue, after you received the key. image

            Subscribing to Entities from SAP S/4 Hana Odata

            Steps

            1. Go to Connections → Incoming and create a new incoming configuration and select SAP S/4 Hana Odata Subscriber as the subscriber.
            2. Select the entity you want to subscribe from SAP S/4 Hana Odata.
            3. Add any request parameters needed to subscribe to the entity (optional).
            4. You can optionally add a transformer to transform the request parameters into something you need.
            5. Select the SAP S/4 Hana Odata HTTP Client to use.

            General Concept

            We follow SAP S/4 Hana Odata documentation on building this connector so you can easily use the connector based on SAP S/4 Hana Odata API Reference. Entity It’s the entity you want to subscribe from SAP S/4 Hana Odata. Please refer to the entities in Management APIs from SAP S/4 Hana Odata API Reference page. Request Parameters These are the parameters you can provide to get the needed entity based on SAP S/4 Hana Odata API Reference. Please look at the example below on how to fill the Request Parameters field when subscribing Read Bank by Details. image image That’s why we need to define the BankCountry, and BankInternalID property inside the odata property in the Request Parameters field. The properties inside query parameters will be parsed as query parameters. The properties inside path parameters will be parsed as path parameters. The properties inside payload parameters will be parsed as payload. Here is the final URL that will be called when using such Request Parameters field.
            /odata/sap/API_BANKDETAIL_SRV/A_BankDetail(BankCountry='US',BankInternalID='444444')
            
            Input Transformer Any transformers set here will be executed after the Request Parameters are loaded. So, you basically can add any transformer to provide and transform the request parameters into anything you need either as path parameters and/or as query parameters of an entity. HTTP Client It’s the HTTP Client configuration or prototype you will use to access SAP S/4 Hana Odata.

            Publishing Entity to SAP S/4 Hana Odata

            Steps

            1. Go to Connections → Outgoing, create a new outgoing configuration, and select SAP S/4 Hana Odata Publisher as the publisher.
            2. Select the action that you want the publisher to do with the data.
            3. Select the SAP S/4 Hana Odata entity you want the data to be published.
            4. Select the HTTP Client to use. image

            General Concept

            Like the subscriber, the publisher has similar methods on how to use it. The difference is the payload that will be submitted by the publisher originating from the data (from routes, from transformers in outgoing configuration). Action Currently, we support Create (HTTP POST method), Patch (HTTP Patch method), and Delete (HTTP DELETE method). Entity We support publishing to most SAP S/4 Hana Odata. Please refer to the entities in Management APIs from SAP S/4 Hana Odata API Reference page. Based on the documentation, some endpoints may need one or more odata parameters. For endpoints that require an object as the request payload, please look at the example below. For example, we want to Add new entity to related to_BatchPlant. Please select “Create” as the action and “Add new entity to related to_BatchPlant” as the entity of the publisher. image image You can put the payload you want to send to SAP S/4 Hana Odata into the payload property in the data. Here is an example of the Possible Response after Creation. image Alumio will send an API request to SAP S/4 Hana Odata with URL
            odata/sap/API_BATCH_SRV/Batch(Material=%27Polyester%27,BatchIdentifyingPlant=%27Arsenal%27,Batch=%270234567%27)/to_BatchText
            
            HTTP Client It’s the HTTP Client configuration or prototype you will use to access SAP S/4 Hana Odata.