SAP Knowledge Base Article - Public

2764118 - Error: “Activity XYZ cannot be closed; you must perform the activity first” While Closing a Custom Fine-Tuning Activity in Business Configuration

Symptom

Your requirement is to close the custom fine-tuning activity in the Implementation Project in Business Configuration. Upon trying to change the status of the fine-tuning activity to Closed, system throws the error:

Activity XYZ cannot be closed; you must perform the activity first

(where XYZ is the name of the custom fine-tuning activity)

Environment

SAP Business ByDesign, SAP Cloud for Customer

Reproducing the Issue

  1. Go to Business Configuration work center
  2. Go to Implementation Projects view
  3. Select the relevant project
  4. Select Open activity list button
  5. Find the activity XYZ and select it
  6. Choose the Change Status->Closed
  7. System throws the mentioned error

Cause

For the custom fine-tuning activity XYZ that you created in Cloud Applications Studio / SDK, the Activity type has been set to Maintain. Further, as the activity has been flagged as Mandatory, it cannot be removed from the implementation project.

In addition, in the SAP Business ByDesign/ SAP Cloud for Customer system, the values that are already present in the custom fine-tuning activity XYZ came from the Cloud Applications Studio / SDK, and no modification was made. Considering this, the system states that the activity was not yet performed and raises the error.

Resolution

Make any change in the custom fine-tuning activity XYZ for example: add a new row in a table or change a label so it will be possible to close the activity in the implementation project.

Keywords

Activity cannot be closed, Perform activity first, Change status of activity , KBA , perform activity first , change status of activity , activity cannot be closed , AP-RC-BCT , Business Config. Tools (SAP Business ByDesign , Problem

Product

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