on 2025 Mar 19 1:29 PM
Hello! We have a project that is being created in SAP Build Automation that will read an email, transform the attachment, and make a REST call to a SAP Cloud Integration IFLOW with a .json body. The Destination seems to be working as we can pull in the list of IFLOW's available. But we're struggling on how to put the remaining pieces together to complete the process flow. All of the blogs that I've found to date appear to be from earlier versions as their links are no longer found.
Request clarification before answering.
To create an event in SAP Build Process Automation that calls a REST iFlow in the cloud, follow these steps:
Prerequisites
Ensure the following prerequisites are met: (https://help.sap.com/docs/PROCESS_AUTOMATION/a331c4ef0a9d48a89c779fd449c022e7/9e171a2f1af943438167fb...)
Your SAP S/4HANA Cloud system is available and connected with SAP Build Process Automation, and is able to receive all required notification events. For more information, see
Enable the Consumption of SAP S/4HANA Cloud Events
You have set up an SAP Event Mesh service instance in your SAP BTP cockpit subaccount. For more information, see
Setting Up SAP Event Mesh in BTP Cockpit
You have created your queue and your queue subscriptions. For more information, see
Manage Queues
You have created a webhook subscription to subscribe to an event queue. For more information, see
Manage Queue Subscriptions
You have created a service key. For more information, see
Create a Service Key for the SAP Build Process Automation Instance
Steps to Create an Event Project (https://help.sap.com/docs/PROCESS_AUTOMATION/a331c4ef0a9d48a89c779fd449c022e7/cb133f94c32d44a690c171...)
Create an Event Project:
Use a unified customer landscape to consume APIs from SAP applications, such as SAP SuccessFactors, SAP Ariba, and SAP S/4HANA Cloud, that are registered with a global account in SAP BTP
Configure the Webhook URL:
Fulfill the Webhook URL by using the URL from the instance of the SAP Build Process Automation plan standard Service Key api endpoints and adding internal/be/v1/events. The webhook URL should be as follows: plaintext https://spa-api-gateway-bpi-eu-prod.cfapps.sap.hana.ondemand.com/internal/be/v1/events
Insert the Client ID, Client Secret, and Token URL by adding oauth/token to the latter. Copy and paste these credentials from the service key
Create a Consumer Queue:
Create a consumer queue with appropriate topic subscriptions to capture which events from SAP Integration Suite, Advanced Event Mesh reach SAP Build Process Automation. For more information, see
Configuring Queues (https://help.sap.com/docs/PROCESS_AUTOMATION/a331c4ef0a9d48a89c779fd449c022e7/623365f5e0b24e8c9d500f...)
Create a Custom REST Delivery Point:
Use the information in the event to call the API and start the business process
Create a REST Consumer:
Inside the new REST connector, which requires the credentials from an SAP Build Process Automation service instance. For more information, see
Creating a REST Connector
Create a Queue Binding:
Enter the POST Request Target to create a queue binding.
Enter the Request headers if created, so that the queue binding won't fail.
Enter the Content-Type, for example, application/cloudevents+json.
Enter the string that identifies the SAP Integration Suite, Advanced Event Mesh instance in WebHook-Request-Origin, for example, "aem, prod-aem"
Next Steps
You can consume the published events in your process. For more information, see
Create an Event to Start a Process (https://help.sap.com/docs/PROCESS_AUTOMATION/a331c4ef0a9d48a89c779fd449c022e7/11f18c7c07c14cde953af1...)
By following these steps, you can successfully create an event in SAP Build Process Automation to call a REST iFlow in the cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
12 | |
9 | |
8 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.