Hi Everyone,
As you read the blog post's title, I'm sure you're excited to get to the interesting section where you'll discover how to use SOAP Service to write to SAP S/4 HANA Cloud.
The public cloud version of SAP S/4 HANA offers equivalent SOAP APIs, which can be leveraged in the Universal Model. This flexibility enables you posting documents not just in SAP S/4 HANA On-premise, but also in the SAP S/4 HANA Cloud.
For more information, see SAP S/4 HANA Public Cloud SOAP APIs.
Now allow me to demonstrate your prerequisites and procedures.
You were able to read data records from SAP S/4 HANA Public Cloud in context of the recent blog post SAP PaPM Cloud Standard and Universal Model OData Integration with S/4HANA Public Cloud.
Now, you are required to sent back the calculated data records from Universal Model using SOAP Service.
You may follow the same approach of the Creation of Communication User and System from the mentioned blog post above on our scenario but without ticking the box Inbound Only.
Then add a User for Inbound and Outbound Communication.
For more information about the procedure, see Create a Communication System with Inbound and Outbound Users.
For this blog post, let’s use the Journal Entry by Ledger – Post (Asynchronous).
In the procedure from the official documentation of Create Communication Arrangement. Proceed on creation of Communication Arrangement.
Create the Destination according to the configuration that you have created from previous steps.
Fields | Values |
Name | S4HC_DEST |
Type | HTTP |
Description | Destination for using SOAP Service SAP S/4 HANA Public Cloud |
Proxy Type | Internet |
URL | <api-url of your communication arrangements> |
Authentication | BasicAuthentication |
User | <Your Communication User> |
Password | <Your Communication Password> |
Additional Properties | sap-client :<your s4hc client> |
For reference, see image below.
Since you already have the Destination, you may now proceed on the creation of Connection in Universal Model.
For the Journal Entry by Ledger - Post (Asynchronous), you may refer for the Models and Fields that are being used for the General Ledger posting.
If you want more detailed fields that I have added, please refer to SAP PaPM Cloud Universal Model (SAP PaPM Cloud UM) Posting Strategy via SOAP Services as it uses the same use case for Journal Entry.
Once all Models and Fields are configured, you may now proceed on pressing the Sync Models button to generate the Model Entities that will be used as a Result Model function in your Writer.
For more information, see Manage Connections.
You can maintain the Connection created from previous procedures and Model in your Writer function.
Configure the mapping of fields according to what you have added from previous procedures.
With this configuration, when you Run the Writer function, it will generate a Message ID that we can check in SAP S/4 HANA Cloud.
In the SAP S/4 HANA Public Cloud Message Monitoring for Administrators, you will be seeing an Interface /FINANCE – JRNLENTRIN – 00001 that you can open to search the Message ID from generated from Universal Model.
Once opened, search the Message ID.
It will show the status of posting and returns the Document number accordingly by SAP S/4 HANA Public Cloud.
Disclaimer: All data like Connection names, message IDs, document numbers and other examples are our dummy records. And this is only to showing how you can use SOAP Service in Universal Model.
And that will be it for this blog post! I hope you have learned now how you can setup the writing of SAP PaPM Cloud Universal Model to your SAP S/4 HANA Cloud Public Cloud.
See you again onto the next topic!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |