Receive Business Events

You can use the Receive Business Events activity to receive Business Events from the SAP S/4HANA system. When the Business Event is sent from SAP S/4HANA, only key information is provided. To get the changed data from SAP S/4HANA, the key information stored in the Business Event is used with the Consume OData Service activity.

When you receive the Business Event from SAP S/4HANA, the event is stored in the database configured in the Business Event tab of the SAP S/4HANA Cloud Connection shared resource. The entries saved to the database can be used for troubleshooting and reprocessing messages as needed.

Note: The OData V2 API Business Events Queue - the Read used by the Receive Business Events activity does not support authentication type OAuth 2.0. When configuring the Receive Business Events activity, you must use an SAP S/4HANA Cloud Connection shared resource of authentication type Basic Authentication or SSL.

General Tab

The following table lists the configurations on the General tab of the Receive Business Events activity:

Field Module Property Description
Name No Specify the name to be displayed as the label for the activity in the process.
SAP S/4HANA Cloud Connection Yes Click to select an SAP S/4HANA Cloud Connection shared resource. The SAP S/4HANA Cloud Connection shared resource establishes connections between the plug-in and the SAP S/4HANA Cloud system.

If no matching SAP S/4HANA Cloud Connection shared resources are found, click Create Shared Resource to create one. For more details, see Creating and Configuring an SAP S/4HANA Cloud Connection.

Subscriber ID Yes Enter Subscriber ID, for example, BEVT

Description Tab

On the Description tab, you can enter a short description for the Receive Business Events activity.

Advanced Tab

The following table lists the configurations on the Advanced tab of the Receive Business Events activity:

Field Module Property Description
Sequence Key No Specify the Sequence Key for the activity in the process.
Custom Job id No Enter the Custom Job id.

SAP S/4 HANA Object type Yes Enter SAP Object Type for the activity, for example, Purchase Order, Bill of Material.
Event Type Yes Specify the Event Type for the activity, for example, Created, Changed.
Start Date/Time (yyyyMMddHHmmSS) Yes

Specify the Start date and time used by the activity for receiving Business Events.

Note: The start date/time is optional and maintained as yyyyMMddHHmmss. If the value is blank, then the start date/time would be calculated using the latest Business Event stored in the database. If there are no entries in the database, then all available Business Events would be received. If the value is maintained, then the entered value would be used.
Output Event Batch Size Yes

Specify the Batch size for the Output Event. Default is 1.

Note: When configuring this property, maintain accordingly, based on the number of changes in the SAP S/4 HANA system and the polling interval property.
Polling Interval (ms) Yes Specify the polling interval for the activity in milliseconds. Default is 30000.

Output Tab

The Output tab shows the response of the invoked service.

Output Item Data Type Description
BusinessEvents Complex Type Includes one more business event received from SAP S/4 HANA system.