SAP Knowledge Base Article - Public

3636777 - Error while Activating a Custom Business Object

Symptom

You may face an Error message: "Missing header data for Business Object YXXXXXXX_AAAAAAAAA111".

  • Error message: "Character '' is not expected".
  • Activation of the custom business object fails with errors

during activating Custom Business Object

Environment

SAP Cloud Application Studio

SAP Business Bydesign 

SAP Cloud for Customer

Reproducing the Issue

  1. Open Cloud Application Studio.
  2. Navigate to the affected Solution.
  3. Attempt to activate the custom business object
  • Error message: "Character '' is not expected".
  • Activation of the custom business object fails with errors

Cause

Kindly cross check the BODL, where some of the Special characters were added to the code before the import statement "import AP.Common.GDT as apCommonGDT" as suggested in the line number from the error list.

Resolution

  1. Go to Cloud Application Studio
  2. Open the Affected Solution and the Business Object
  3. Open the affected code and copy it in a text editor such as Notepad++.
  4. Identify and remove the special characters located before the import statement "import AP.Common.GDT as apCommonGDT".
  5. Save the updated code.
  6. Reattempt to activate the custom business object in Cloud Application Studio.

See Also

Keywords

activation error, inconsistent patch solution, missing header data, character not expected, sap business bydesign, custom business object, sales_report, cloud application studio, import statement, special characters, activation failure. , KBA , AP-RC-BDS-LM , ByDesign Studio Lifecycle Management , Problem

Product

SAP Cloud for Customer core applications all versions