Symptom
You have created a custom Approval Process for a custom Business Object. When activating the .approvalprocess file, you see the message "Activation Failed" but without messages explaining root cause.
Environment
-
SAP Cloud for Customer.
- SAP Business ByDesign.
Reproducing the Issue
Prerequisites:
-
Custom BO created.
- Custom Approval Process for the CBO created.
To Reproduce:
- Right-click on your .approvalprocess file in the SDK. (Note: This should be under the root node of the custom business object).
- Click Activate.
- After some time, observe the error message displayed.
Error: Activation failed.
Cause
In many cases, when a PDI Object is activated there are several conditions that are checked to ensure consistency. In the case of an Approval Process, we check for dependent business objects.
You have not selected any business object elements in the conditions in your approval process.
This means the validation check cannot locate elements with dependent characteristics.
Resolution
You should open the approval process and maintain some BO elements for the conditions. Finally reactivate the file and wait for success.
Keywords
Approval Process, Activation, Failed, SDK , custom business object, PDI object , KBA , error , approval process , activate , solution , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , Problem