Symptom
Activation of custom Object Fails with errors Character is not Expected
Environment
- SAP Cloud for Customer
- SAP Business ByDesign
- SAP Cloud Applications Studio
Reproducing the Issue
- Go to SAP Cloud Applications Studio.
- Open Solution YABCXXXXX_
- Open the respective Business Object.
- Activate errors appears bo Character '' is not expected
Cause
The error pops up because there seems to be an additional invalid character at the beginning of the BODL.
Resolution
User can copy the entire BODL from the SAP Cloud Applications Studio to an external editor (like Notepad++ or VS Code) and then check if an unrecognized character is present at the beginning of the BODL.
If this is present, please request to remove this character, paste the BODL back to the SAP Cloud Applications Studio and then re-activate the BO. The BO activation should then go fine.
Keywords
Activation error; bo Character '' is not expected; , KBA , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , How To