SAP Knowledge Base Article - Public

3400358 - Solution activation failure - - Template BO is not active or does not exist

Symptom

Activation of a first time patch fails with errors detailing a template BO is not active or does not exist.

SDK errors:

  1. Failed to activate items of type BusinessObjectExtension.
  2. Template BO YXXXXXXXY_XXXXXXXXXXXX not active or does not exist.
  3. Create request failed.
  4. Expected create notification not found.

Environment

  • SAP Cloud for Customer
  • SAP Business ByDesign
  • SAP Cloud Application Studio

Reproducing the Issue

  1. You have created a first time patch with two XBO's created from the same Template BO.
  2. Activation fails of the patch with errors in SDIM detailing that a particular template BO is not active or does not exist.
  3. The file in question is present in XREP and active.
  4. It is inactive in the SDK.
  5. It is not present in MDRS.
  6. **This issue can also occur during when deploying this solution to a new tenant.

Cause

Errors such as this generally occur when the customer creates XBOs on a particular pair of standard BOs sharing the same Template BO and one of the standard BOs names ends in "Template", and the XBO of the standard BO whose name does not end in "Template" is picked up first for activation.

In such a scenario, during mass activation, there is a naming conflict which leads to an issue during activation of these entities in the MDRS framework.

Some example pairs are:
CustomerContract-CustomerContractTemplate
Project-ProjectTemplate

Resolution

Please raise an incident with component AP-RC-BDS-EXT with all details including permission to attempt activation and intervention of that on SAP side.

Keywords

Template BO, Activation Fail, Patch, Activation, PDI, SDK; , KBA , AP-RC-BDS-EXT , ByDesign Studio Extensibility , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions