In SAP’s cloud solutions, notification rules can be defined by customers to receive a notification in case a certain situation occurs for a business object. Typical examples are status changes of business objects or the exceeding of threshold values. The notifications only serve as information and do not trigger automatic actions or tasks.
If a customer wants to use notification rules with a custom business object, you as a partner need to enable the business object for notification rules in the studio: In the Notification Rules Wizard, you select business object fields that can be used as placeholders, conditions, and recipients.
After you have enabled the custom business object for notification rules, your customer can create notification rules for the business object in the cloud solution.
For more information, see the "Notification Rules Quick Guide" in the documentation of the SAP cloud solution.
|
This documentation covers the SAP Cloud Applications Studio (“studio”) as a whole; therefore it describes all features that are available within the studio. Not all of these features are available for every cloud solution from SAP. Before using a particular feature, please consult the Feature Matrix to determine whether the feature is available for the cloud solution from SAP for which you are creating your solution. For details, see Feature Matrix. |
You have activated the custom business object for which you want to enable notification rules. For more information, see Business Objects Quick Guide.
If you want to use thing-based navigation with your solution, the following prerequisites apply:
You have created a thing-based screen scenario. For more information, see Generate Screens for a Business Object.
You have created a query. In the Query Wizard, in the Create a Query step, you have selected the Include in Enterprise Search option. For more information, see Create a Query.
|
To be able to select the Include in Enterprise Search option, you need to define a Date/Date Time field in your custom business object. |
In the studio, in the Solution Explorer, right-click the custom business object and select Enable Notification Rules.
The Notification Rules Wizard opens.
|
You can use this process only once per custom business object. |
In the wizard, in the Define Fields for Placeholders and Conditions step, do the following:
Select the business object elements to be used as fields for placeholders and conditions in notification rules.
|
|
Click Next.
In the Define Labels for Placeholders and Condition Fields step, you can adapt the field labels. Click OK.
|
Do not leave the field label blank or use identical labels for different fields; field labels must be unique. |
In the Define Recipients step, select the recipients to be used in notifications:
In the Description field, enter a description for the recipient, for example, Manager or Requestor.
In the Business Object Element field, click the ... button.
Select a business object element that you want to use as recipient and click OK.
|
|
Click Next.
In the Review step, review your entries and click Finish.
In the Solution Explorer, a [business object name].notification file (
) is created.
Right-click the file and select Activate.
Right-click your solution and click Deploy Business Configuration.
You have enabled the custom business object for notification rules. Your customer can now define a notification rule in the cloud solution. For more information, see the “Notification Rules Quick Guide” in the documentation of the SAP cloud solution.
In maintenance mode, the following restrictions apply:
Delivered fields cannot be deselected as they may have been used in notification rules by customers.
Delivered fields cannot be renamed.