<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Webhooks &amp; SAP Cloud application studio in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235585#M4580765</link>
    <description>&lt;P&gt;Dear Jürgen, &lt;/P&gt;&lt;P&gt;Thanks for this answer. Thus, in a situation like mine where : the 3rd party has deployed two web-hooks methods : POST and SOAP standards on their side and non-customizable, we are not able to integrate webhooks into ByD. &lt;/P&gt;&lt;P&gt;Sad situation because webhooks are quite useful. &lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Best regards, &lt;/P&gt;</description>
    <pubDate>Tue, 20 Oct 2020 06:48:43 GMT</pubDate>
    <dc:creator>solene_roques</dc:creator>
    <dc:date>2020-10-20T06:48:43Z</dc:date>
    <item>
      <title>Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaq-p/12235574</link>
      <description>&lt;P&gt;Hello all, &lt;/P&gt;
  &lt;P&gt;I would like to integrate webhooks generated by an external application into ByDesign through SAP Cloud Application Studio (ByDesign or C4C). If anyone has already made it, could you give me an overview of what elements are needed please ? &lt;/P&gt;
  &lt;P&gt;My external application can generate html POST webhooks or SOAP webhooks. As far as I know, like the &lt;EM&gt;x-csrf-token &lt;/EM&gt;is needed for POST OData action, my only option is to integrate SOAP webhooks. &lt;/P&gt;
  &lt;P&gt;Thanks for your help, &lt;/P&gt;
  &lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 13:41:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaq-p/12235574</guid>
      <dc:creator>solene_roques</dc:creator>
      <dc:date>2020-10-08T13:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235575#M4580755</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can integrate webhooks into SAP C4C using SAP Cloud application studio. In order to do so you would need to:&lt;/P&gt;&lt;P&gt;1. Create an external web service interaction using the webhook URL.&lt;/P&gt;&lt;P&gt;2. Configure the generate communication arrangement for web service integration created in last step.&lt;/P&gt;&lt;P&gt;3. Now call the web service webhook via ABSL code based on your business need using reuse library WebServiceUtilities.ExecuteRESTService.&lt;/P&gt;&lt;P&gt;For more details please refer: &lt;A href="https://blogs.sap.com/2018/12/06/use-restful-service-to-consume-s4-functionality-in-sap-cloud-for-customer/" target="test_blank"&gt;https://blogs.sap.com/2018/12/06/use-restful-service-to-consume-s4-functionality-in-sap-cloud-for-customer/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 20:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235575#M4580755</guid>
      <dc:creator>former_member226</dc:creator>
      <dc:date>2020-10-08T20:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235576#M4580756</link>
      <description>&lt;P&gt;Dear Saurabh, &lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;However, I am not sure that my case is similar to the case in the blog post. I need my ByD to be able to receive passivly data from a third party. There is no trigger on ByD (different from the C4C button in the blog post). The external system sends webhooks depending some events on their side and ByD needs to able to receive them. &lt;/P&gt;&lt;P&gt;Indeed, I assume it requires a external webservice integration. The third party external system requires an URL where to send the data, what would it be please ? &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 07:39:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235576#M4580756</guid>
      <dc:creator>solene_roques</dc:creator>
      <dc:date>2020-10-09T07:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235577#M4580757</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am not a ByD expert but I believe there must be ByD Public OData APIs that can receive this data but I think someone from ByD background can confirm this.&lt;/P&gt;&lt;P&gt;Sorry!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 07:52:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235577#M4580757</guid>
      <dc:creator>former_member226</dc:creator>
      <dc:date>2020-10-09T07:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235578#M4580758</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;It will be perfect to use OData but I faced the CSRF token issue. My external system is not able to launch a GET request first to obtain the csrf token and then set it into the POST request&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 08:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235578#M4580758</guid>
      <dc:creator>solene_roques</dc:creator>
      <dc:date>2020-10-09T08:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235579#M4580759</link>
      <description>&lt;P&gt;Fetching a CSRF token is fairly simple as it is quite a standard procedure in all of the SAP API communications and there are a lot of blogs and discussion post available on SCN that talks about how to deal with it. &lt;/P&gt;&lt;P&gt;In case your system is unable to make a GET call to fetch CSRF token then as a workaround you can build a simple wrapper API, maybe using CPI iflow or SCP API Management. This sample API end point will be triggered by your external system as a POST call but within this API you can make GET call to fetch the CSRF and then handle POST to do the data operation.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 08:21:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235579#M4580759</guid>
      <dc:creator>former_member226</dc:creator>
      <dc:date>2020-10-09T08:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235580#M4580760</link>
      <description>&lt;P&gt;Using a between API to manage csrf token is a good idea. I will think about it but I do not think I will manage to do it because this development is running without any middelware (SCPi or other), it is only third-party system (that only launch POST request and I can not modify anything on it) , SAP Cloud App Studio and ByD. &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 10:21:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235580#M4580760</guid>
      <dc:creator>solene_roques</dc:creator>
      <dc:date>2020-10-09T10:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235581#M4580761</link>
      <description>&lt;P&gt;Dear Solène,&lt;/P&gt;&lt;P&gt;the two possibilities to make a custom inbound interface are OData or SOAP.&lt;/P&gt;&lt;P&gt;For OData you will need to create a Custom Business Objekt in SDK and create an OData service in the admin work center within ByD. For the POST request you will need to use the x-csrf-token header, it will not work without. Also the JSON/XML you are receiving needs to have the compatible format (standard OData).&lt;/P&gt;&lt;P&gt;For SOAP you will also need to create a Custom Business Object in SDK and create a inbound service in SDK too. With that and the corresponding communication agreement you can create the necessary request from the WSDL. This also implies that the 3rd party can send a valid SOAP request which fits the schema of the WSDL.&lt;/P&gt;&lt;P&gt;Unfortunately there is no way to define some kind of "freestyle" endpoint which can receive and work with any kind of data structure.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Jürgen&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 11:56:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235581#M4580761</guid>
      <dc:creator>jravnik</dc:creator>
      <dc:date>2020-10-12T11:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235582#M4580762</link>
      <description>&lt;P&gt;Hello Sonène,&lt;BR /&gt;&lt;BR /&gt;We are going to release blog posts related to event-driven architecture in a weekly basis, discussing concepts, delivering tutorial videos, sharing code and more.&lt;/P&gt;This is the first of the series: &lt;A href="https://blogs.sap.com/2020/10/09/how-to-get-sap-business-bydesign-events-in-a-loosely-coupled-solution/" target="test_blank"&gt;https://blogs.sap.com/2020/10/09/how-to-get-sap-business-bydesign-events-in-a-loosely-coupled-solution/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Thiago.</description>
      <pubDate>Tue, 13 Oct 2020 08:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235582#M4580762</guid>
      <dc:creator>thiago</dc:creator>
      <dc:date>2020-10-13T08:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235583#M4580763</link>
      <description>&lt;P&gt;Dear Jürgen, &lt;/P&gt;&lt;P&gt;Thanks for this summary.&lt;/P&gt;&lt;P&gt;In my case, the 3rd party can not manage x-crsf token, so OData is excluded. &lt;/P&gt;&lt;P&gt;In the SOAP scenario, the service is already created by the 3rd party (standard on their side). I created an External webservice integration based on the wsdl provided by the 3rd party (and the communication agreement). But what should be done regarding the custom BO ? How can I create a BO that will perfectly fit the data given by the message ? &lt;/P&gt;&lt;P&gt;Thanks, best regards&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 09:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235583#M4580763</guid>
      <dc:creator>solene_roques</dc:creator>
      <dc:date>2020-10-19T09:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235584#M4580764</link>
      <description>&lt;P&gt;Dear Solène,&lt;/P&gt;&lt;P&gt;for the inbound communication via SOAP you have to create a Custom BO in the SDK. For that BO you will define a Web Service: &lt;A href="https://help.sap.com/viewer/cbcebe3cfb1647a8b0322c18dbb0b481/2020.08/en-US/74f86f6073e210149e3fd0678f6a11de.html" target="test_blank"&gt;https://help.sap.com/viewer/cbcebe3cfb1647a8b0322c18dbb0b481/2020.08/en-US/74f86f6073e210149e3fd0678f6a11de.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That means that the WSDL will be generated by the SDK, which you cannot manipulate in any way.&lt;/P&gt;&lt;P&gt;So your 3rd Party must work with the WSDL generated by the SDK. You cannot use their WSDL as an inbound service definition.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Jürgen&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 12:04:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235584#M4580764</guid>
      <dc:creator>jravnik</dc:creator>
      <dc:date>2020-10-19T12:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235585#M4580765</link>
      <description>&lt;P&gt;Dear Jürgen, &lt;/P&gt;&lt;P&gt;Thanks for this answer. Thus, in a situation like mine where : the 3rd party has deployed two web-hooks methods : POST and SOAP standards on their side and non-customizable, we are not able to integrate webhooks into ByD. &lt;/P&gt;&lt;P&gt;Sad situation because webhooks are quite useful. &lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Best regards, &lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 06:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235585#M4580765</guid>
      <dc:creator>solene_roques</dc:creator>
      <dc:date>2020-10-20T06:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Webhooks &amp; SAP Cloud application studio</title>
      <link>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235586#M4580766</link>
      <description>&lt;P&gt;Hi Solene,&lt;/P&gt;&lt;P&gt;What Jürgen and Saurabh suggested would work.&lt;/P&gt;&lt;P&gt;However, in C4C (unfortunately, I don't have access to ByDesign to confirm), there are ways you can go with OData without CSRF token.&lt;/P&gt;&lt;P&gt;Please check C4C OData documentation here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/SAP/C4CODATAAPIDEVGUIDE#csrf-token" target="_blank"&gt;https://github.com/SAP/C4CODATAAPIDEVGUIDE#csrf-token&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And this blog post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2020/10/24/no-need-for-csrf-token-when-calling-c4c-odata/"&gt;No need for CSRF token when calling C4C OData&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2020 11:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webhooks-sap-cloud-application-studio/qaa-p/12235586#M4580766</guid>
      <dc:creator>VishnAndr</dc:creator>
      <dc:date>2020-10-24T11:49:38Z</dc:date>
    </item>
  </channel>
</rss>

