SAP Build Process Automation (SBPA) enables business users to automate workflow processes and tasks without writing code.
Check here for What's New and Learn more from the roadmap.
This August 2024, SAP Build Process Automation has a released a new way of discovering Business Events from Lobby.
It enables users to discover events from Business Accelerator hub and to view the detailed event catalogue. It also facilitates reuse by creating centrally managed Events projects at Lobby level. Additionally using the Manual Event Specification Upload feature, all the SAP and non-SAP business events supporting CloudEvent1.0 format are supported which can be configured with Event Mesh(or Advanced Event Mesh) at runtime.
This blog will demonstrate the latest features of event triggers in the context of a SAP S/4HANA business use case:
Credit Memo Requests in SAP S/4HANA and SAP S/4HANA Public Cloud
A credit memo request is a sales document used in complaints processing to request credit for a customer. Creating credit memo requests is a part of Sales and Distribution in SAP S/4HANA.
In situations where the calculated prices are incorrect, or if discounts are not applied etc. a credit memo request can be created. The credit memo request can be automatically blocked for credit checking. Once it has been approved, you can remove the block.
The system uses the credit memo request to create a credit memo.
The SBPA Process for Manage Credit Memo Requests enables the business user to view the Credit Memo Request which are configured for external approvals and make a decision to Approve or Reject the Credit Memo Request which in turn will Release or Reject it in SAP S/4HANA or SAP S/4HANA Public Cloud.
From the SAP Build Lobby, click on Events and click Create .
There are two options - One to browse SAP Business Accelerator Hub to discover public business events or to upload an event specification file. Choose SAP Business Accelerator Hub for this particular use case.
Search with Credit Memo and Select Credit Memo Request Events SAP S/4HANA Cloud Public Edition for Business Events
All the available Credit Memo Request Events are displayed with relevant details. Click Add.
The Project Name and Description is automatically populated. Click Create to create the event project.
The Event Project is now created. Click Release to release the project.
Choose the required option and click Release.
The Event Project is now released. Click Publish to publish the project to Library. Once the event project is released to Library it can be consumed in SAP Build Process Automation(SBPA).
Click Publish.
Now the Event Project is ready to be consumed in the SAP Build Process Automation(SBPA) process.
The events available in the events project released in the above step are available as a part of the Library and can be used in the SAP Build Process Automation(SBPA).
For example, when you add an Event Trigger to the process , it automatically shows the list of events available.
In the SAP Build Process Automation(SBPA) process, click on Add a Trigger.
Click on Wait for an Event.
Select CreditMemoRequest Created event and click on Add.
Note that all the required details are filled, click on Create.
The event trigger is added to the process.
A sample business process for Manage Credit Memo Requests could look like the following:
Now our SBPA process is ready.
Expert Tip : Ensure to test your Actions projects and Events setup before testing
the process to ensure they are working as expected.
This will save time for troubleshooting and debugging later.
Add some comments and click approve.
When a Credit Memo Request is approved, it is released for further processing in the S/4HANA Public Cloud. The approval status will show ‘Released’ as the status of the Credit Memo Request
OR Add some comments and click Reject. Check that the S/4HANA Approval Status is updated as Rejected.
You can also check the SBPA Logs to check the details.
You can now test your processes locally that use event triggers by simulating the event trigger payload without connecting to the system or having an event mesh setup. This is to test if your end-to-end process works fine with the expected payload format for
“Run Now” action for event triggers in Trigger view allows to execute the event trigger in order to initiate event delivery with the user-provided data immediately. For more information, please refer to documentation here.
Below is sample screenshot from Control Tower-> Environments -> Select your environment -> Triggers tab -> Select the required Event Trigger -> Run Now.
Enter a valid payload in the Run Now UI and Click Run Now.
The process is triggered with the sample payload.
Note: The Manage Credit Memo Requests SBPA Process neither replaces nor has all the features of SAP Credit Management or Financial Supply Chain Management. It enables an approval process with information about the credit memo request. Our customers could use and extend this process for exception management, notifications, auditing for the particular credit memo requests after approval from one or more personas like credit manager, finance analysts, etc.
There are some additional use cases for business event triggers:
Do write to me in case of blockers, queries and feedback.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 49 | |
| 49 | |
| 29 | |
| 23 | |
| 21 | |
| 15 | |
| 14 | |
| 13 | |
| 13 | |
| 13 |