Software AG webMethods.io Integration: Create Payment Advice in SAP S/4 HANA
Tags: integration, cloud, tutorial
Published: 2022-09-20 12:13:54

---
title: Software AG webMethods.io Integration: Create Payment Advice in SAP S/4 HANA
published: true
date: 2022-06-10 07:08:31 UTC
tags: integration, cloud, tutorial
canonical_url: https://tech.forums.softwareag.com/t/webmethods-io-integration-create-payment-advice-in-sap-s-4-hana/258102
---

## 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](http://webMethods.io) Integration.

<video width="100%" height="100%" preload="metadata" controls="">
      <source src="https://aws1.discourse-cdn.com/techcommunity/original/3X/9/8/9859f042e6a5ee2519ec6aef29f19e82e59682c1.mp4">
      <a href="https://aws1.discourse-cdn.com/techcommunity/original/3X/9/8/9859f042e6a5ee2519ec6aef29f19e82e59682c1.mp4">https://aws1.discourse-cdn.com/techcommunity/original/3X/9/8/9859f042e6a5ee2519ec6aef29f19e82e59682c1.mp4</a>
    </source></video>

## Prerequisites

- The user needs to have working SAP HANA credentials to access the API.
- Working [webMethods.io](http://webMethods.io) Integration cloud tenant.

## Steps

1. Login to [webMethods.io](http://webMethods.io) Integration tenant.
2. Create new project or choose an existing project if required.
3. Click on the FlowServices tab and add a new Flow Service.
![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/6/7/675c0552bd813da3266da3d110690c2de0663619_2_690x306.png)
4. Name the flow service and choose the SAP S/4 HANA Cloud OData v2.0 connector.
![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/c/7/c7d34844042171e6a8377fc41866812592d5bfc5_2_690x227.png)
5. Click on “Add custom operation” and then the “+” icon in the following tab to configure an account.
![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/8/2/82949ce1f78e2f3df6991a22e9c3dae7cb355784_2_690x277.png)
![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/f/1/f1788dffd9b0b181644ced3f66e542564f23e873_2_690x413.png)
![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/7/e/7ebc1d60b7109a15018162fa085f93319122f9b4_2_690x426.jpeg)
6. After configuring the account, “Name” the custom operation, Select the functional area and click on “Next”.
![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/9/a/9a2c07925e03dc42c4ac8c7bba8e2d65d6387fb9_2_690x327.png)
7. Select the operation and click on “Next”
![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/9/a/9a2c07925e03dc42c4ac8c7bba8e2d65d6387fb9_2_690x327.png)
8. Select the Business Object and click on “Next”
![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/5/b/5b169afdd717f5863620aa4e147aa6ea6609fe10_2_690x400.jpeg)
9. Select the Fields and click “Next”, Click on “Done” for the confirmation.
![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/c/4/c42d7d20f9743074dc71c9705b42a20e60062ec8_2_690x365.png)
![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/c/8/c8d22e99121f17cc8b6def6d08f69a771789a647_2_690x402.png)
![Input0](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/5/3/535a6eaddbbee27d9067ff66349c72fa317fa068_2_690x311.jpeg)
10. 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"
                        } }
```
11. First, open the inputs panel to select input fields.
![Input0](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/5/3/535a6eaddbbee27d9067ff66349c72fa317fa068_2_690x311.jpeg)
12. Copy fields.
![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/d/2/d265c1dda2c5b271f862d9322375e5e91fcd8f26_2_690x275.png)
13. Open “Transform Pipeline”.
![Inputs3](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/b/3/b3a67f67483de2945578962063d862725b73c354_2_690x308.jpeg)
14. Paste the fields.
![Inputs4](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/7/1/71b5a3630cbb569e74f8641241e672db55c69e39_2_690x291.jpeg)
15. Now double click on the input signature to provide inputs and save.
![Inputs5](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/b/1/b191b4209482ad4639a51c50df9476da0fdcc8a4_2_690x486.jpeg)
16. Save the flow service and click on run to run the flow service.
![Save_n_run](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/c/6/c69e88292b465fabcf05d9066d73e4320a86a603_2_690x312.jpeg)
![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/5/5/5507a65be0fcb00b9c6e1417797f74c4e9eeaa76_2_690x318.jpeg)

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

[Read full topic](https://tech.forums.softwareag.com/t/webmethods-io-integration-create-payment-advice-in-sap-s-4-hana/258102)