SAP Knowledge Base Article - Public

3593174 - Identifier 'RaiseMessage' does not exist

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

  1. In XBO add Raise Keyword in the BODL eg: message NewMessage text "New Message Raised" ;
  2. Use message in ABSL
  3. Attempt activation
  4. 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

https://help.sap.com/docs/SAP_CLOUD_APPLICATIONS_STUDIO/cbcebe3cfb1647a8b0322c18dbb0b481/7526607d73e21014b8f5ad6733332907.html?locale=en-US&q=XBO

https://help.sap.com/docs/SAP_CLOUD_APPLICATIONS_STUDIO/cbcebe3cfb1647a8b0322c18dbb0b481/754b3cf973e210149511b6afd0c37d0a.html?locale=en-US&q=XBO

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

Product

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