Module api_outbound_delivery_srv_0002

osa/api_outbound_delivery_srv_0002

0.1.0

Overview

S/4HANA is a robust enterprise resource planning (ERP) solution, designed for large-scale enterprises by SAP SE.

The ballerinax/sap.s4hana.api_outbound_delivery_srv_0002 package offers APIs for seamless integration with the Outbound Delivery API v2.1.0. This service enables you to create, read, update and delete outbound deliveries.

Setup guide

  1. Sign in to your S/4HANA dashboard.

  2. Under the Communication Management section, click on the Display Communications Scenario title.

    Display Scenarios

  3. In the search bar, type Delivery Processing Integration and select the corresponding scenario from the results.

    Search Sales Order

  4. In the top right corner of the screen, click on Create Communication Arrangement.

    Click Create Arrangement

  5. Enter a unique name for the arrangement.

    Give Arrangement Name

  6. Choose an existing Communication System from the dropdown menu and save your arrangement.

    Select Existing Communication Arrangement

  7. The hostname (<unique id>-api.s4hana.cloud.sap) will be displayed in the top right corner of the screen.

    View Hostname

Quickstart

To use the sap.s4hana.api_outbound_delivery_srv_0002 connector in your Ballerina application, modify the .bal file as follows:

Step 1: Import the module

Import the sap.s4hana.api_outbound_delivery_srv_0002 module.

Copy
mport ballerinax/sap.s4hana.api_outbound_delivery_srv_0002 as outbDel;

Step 2: Instantiate a new connector

Use the hostname and credentials to initiate a client

Copy
onfigurable string hostname = ?;
onfigurable string username = ?;
onfigurable string password = ?;

utbDel:Client outbDelClient = check new (
   hostname = hostname,
   config = {
       auth: {
           username,
           password
       }
   }
;

Step 3: Invoke the connector operation

Now, utilize the available connector operations.

Copy
utbDel:CollectionOfA_OutbDeliveryItemWrapper listOutbDeliveryItems = check outbdDelClient->listA_OutbDeliveryItems();

Step 4: Run the Ballerina application

Copy
al run

Import

import osa/api_outbound_delivery_srv_0002;Copy

Metadata

Released date: 3 months ago

Version: 0.1.0


Compatibility

Platform: any

Ballerina version: 2201.9.0

GraalVM compatible: Yes


Pull count

Total: 2

Current verison: 2


Weekly downloads


Other versions

0.1.0