webMethods.io Integration: Create Payment Advice in SAP S/4 HANA

Summary

This article describes the step-by-step process of creating a Payment Advice using SAP S/4 HANA Cloud OData v2.0 connector in webMethods.io Integration.

Prerequisites

  • The user needs to have working SAP HANA credentials to access the API.
  • Working webMethods.io Integration cloud tenant.

Steps

  1. Login to webMethods.io Integration tenant.
  2. Create a new project or choose an existing project if required.
  3. Click on the FlowServices tab and add a new Flow Service.

  1. Name the flow service and choose the SAP S/4 HANA Cloud OData v2.0 connector.

  1. Click on “Add custom operation” and then the “+” icon in the following tab to configure an account.

  1. After configuring the account, “Name” the custom operation, Select the functional area and click on “Next”.

  1. Select the operation and click on “Next”

  1. Select the Business Object and click on “Next”

  1. Select the Fields and click “Next”, Click on “Done” for the confirmation.

  1. After creating a custom operation and adding an account, provide inputs via the “Transform pipeline” shown in the screenshots below along with the sample field value.

            "createPaymentAdviceA2XInput": {
                        "A_PaymentAdviceType": {
                            "CompanyCode": "1010",
                            "PaymentAdvice": "0420061806361078",
                            "PaymentAdviceAccount": "10100001",
                            "PaymentAdviceAccountType": "D"
                        } }
  1. First, open the inputs panel to select input fields.

  1. Copy fields.

  1. Open “Transform Pipeline”.

  1. Paste the fields.

  1. Now double click on the input signature to provide inputs and save.

  1. Save the flow service and click on run to run the flow service.

With this we will be able to create a “Payment Advice” in the SAP backend.

4 Likes