Skip to Content

FETCHING SOAP in S4HC

Hello,

We are trying to develop multiple applications needed for some process on our customer S/4HANA Multi-tenant edition system. We are finding it really difficult to consume a SOAP request in S/4HANA Cloud. In an on-premise environment we can consume this kind of request in an ABAP system, what option is available for a S/4HANA Cloud system?

Doing some research from several posts gathering around the SAP community, the solutions are diverse about how to approach this issue, mostly referencing on premise environments. But what about the S/4HANA cloud multi-tenant edition? Rest requests are almost ready-to-go with a few simple clicks. Could the consumption of the WSDL be the root of these problems?

In our approach we try to consume the SOAP request as an oData Service (truly we attempt to fetch the input/response as OData). Let me explain this in detail, from our Integration department (going through SPCI) they wrap the SOAP request in an oData input/output container.

Any help would be really appreciated.

Thank you in advance.

Kind Regards,

Anna

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on Oct 08, 2019 at 06:28 AM

    Hi Anna,

    Where does this custom Application reside( from which source are we polling the data from?) and I am assuming your target system is S4HANA Cloud. If yes, then you will have to check in the API hub based on your business scenario to identify the right API. If you don't find a SOAP API for your relevant business in the API hub, then I am afraid there is any way forward. Like I said before we can ONLY consume those API's that are available in the API hub and if you don't find the right API of your choice( in your case SOAP) then we don't have them available for our customer yet.

    Thanks! Amith Nair

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 03, 2019 at 03:30 AM

    Hi Anna,

    Not sure if you’re already aware of the SAP API hub (https://api.sap.com/package/SAPS4HANACloud?section=Artifacts) for S4HANA Cloud for various business processes and this is a mix of both SOAP based and OData service. All these Web Services are whitelisted API’s, and this also means to say ONLY those Web Services available in the API hub are the one’s ready for Consumption and we cannot have any deviation from this in the Cloud World.

    In Cloud, we do not have the options for the business/Admin user to configure the changes directly in the ABAP system as they are directed through Dev Ops gauging the risk and Security aspect in mind, knowing its multi-tenant environment, where in a change in the backend would have an impact on several customers sharing a single database.

    SOAP and OData: There is lot been spoken over SOAP Web Services and let me be very transparent that all SOAP based protocols in API hub have a WSDL associated to it (be it Synchronous versus Asynchronous)

    SOAP web services expose a WSDL document whereas, a OData web services expose an EDMX document containing metadata for all published web services and hence SOAP and OData are two different Web services and I am not sure how we could consume a SOAP Request as an OData service and I am not sure about technical feasibility of this approach (may be this need further explanation on your side) but in S4Hana Cloud, we do not have this option supported.

    In short depending on the type of business process you’re trying to integrate with S4HANA Cloud, we have a dedicated whitelisted API and this could be either OData or SOAP Webservice and there will be no deviation from what is available in the API Hub.

    Here is one example of Financial posting from an external system into S4HANA Cloud using a SOAP Web services for reference:

    https://blogs.sap.com/2019/02/15/user-guide-for-journal-entry-post-api-on-s4-hana-cloud/

    Hope this helps!

    Thank you!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 17, 2019 at 05:46 AM

    Hi Anna.

    How are you? Have you tried the Extensibility Explorer site (https://extensibilityexplorer.cfapps.eu10.hana.ondemand.com/ExtensibilityExplorer/)? If you go to the Extensibility Cockpit (https://help.sap.com/viewer/788fa4c7585e415187e347e904010cee/1905.500/en-US/e941d6802d20464785b81c866c5b93a6.html), there you can have explanation of how to deal with Extensibility inside S/4HANA Cloud (In-App Extensibility), with explanation regarding usage of SOAP.

    Additionally, you can go the API Business Hub (https://api.sap.com/package/SAPS4HANACloud?section=Artifacts) for S/4HANA Cloud, that show different APIs using SOAP and ODATA for Integration and Function Execution.

    Finally, there is a Specific Session in S/4HANA Cloud Customer Community (https://community.sap.com/topics/s4hana-cloud) where you can see Cross Topic Questions, besides logos for accessing Extensibility Explorer and API Business Hub.

    Finally, if you want to extend communications that are not covered with Extensibility Explorer or API Business Hub, I would recommend that you try SAP Cloud SDK (https://developers.sap.com/topics/cloud-sdk.html), that support the development of communication arrangements using SAP Cloud Plataform (Side-by-Side Extensibility).

    Regards.

    Juliano Romanato.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Jualiano,

      We have been revising the information you provided. Thanks for sharing.

      However, we are still not able to fetch a SOAP API directly from a custom Application.

      If you have further information on how to do so, we would really appreciate it!

      Best Regards!

      Anna,

  • Posted on Oct 03, 2019 at 01:52 AM

    Here are some SAP resources you may review based on your topic "develop | finding | environment | s4hc | customer s/4hana | system | s/4hana cloud | abap system | s/4hana cloud system | community | applications"

    Cloud Availability Center

    The Cloud Availability Center gives you a personalized, at-a-glance view ... The SAP S-user ID is a unique number that SAP uses for identification of customers ... SAP S/4HANA Cloud; SAP Service Cloud ... SAP Cloud Platform ABAP Environment ... The Tenant ID is generated by our systems when your product was first?...

    https://support.sap.com/en/my-support/systems-installations/cloud-systems-installations.html

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 07, 2019 at 08:06 AM

    Hello Amith,

    Thank you for your answer.

    We are aware of the site you mentioned. We have been working with them for multiple purposes. However, the issue we mentioned is to Fetch a SOAP API from a custom application with no on premise system.

    We can call a SOAP API manually using softwares such as postman. We can use SOAP API from an external system. We have developed custom applications fetching ODATA APIS to update information in standard objects. But when fetching SOAP APIS, we had to use an on premise system to configure the usage of the SOAP API.

    Therefore, the question here would be, how can we fetch a SOAP API from a custom Application without using an on premise system?

    Thanks again.

    Kind Regards,

    Anna

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Anna,

      It should be simple to call a SOAP API. Which technology your custom application is built on? If it's JAVA then you can utilize JAX-WS framework to call any SOAP API.

      If you want to test SOAP API, you can use Postman or SoapUI.

      In case of ABAP OP systems, you can use consumer proxy to call SOAP API.

      Thanks and Regards,

      Rahul

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.