Symptom
Script fails to activate with error: Identifier 'RaiseMessage' does not exist.
Environment
- SAP Cloud for Customer
- SAP Business ByDesign
- SAP Cloud Applications Studio
Reproducing the Issue
- In XBO add Raise Keyword in the BODL eg: message NewMessage text "New Message Raised" ;
- Use message in ABSL
- Attempt activation
- Error is raised
Cause
Raise Keyword not defined correctly and as per help documentation.
Resolution
Raise keyword should be added after XBO name - e.g. "[Extension] businessobject AP.CRM.Global:SalesOrder raises NewMessage{ "
See Also
2920399 - Error: Identifier does not Exist while Activating the Solution
2469605 - Error While Trying to Activate Script File : Identifier ABC Does not Exist
3137520 - Identifier does not exist
3397516 - Identifier does not exist for reuse function in the SDK
Keywords
Script activation; Identifier; , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , Problem
SAP Knowledge Base Article - Public