SAP Knowledge Base Article - Public

2469605 - Error While Trying to Activate Script File : Identifier ABC Does not Exist

Symptom

You will receive an error when you try to activate your ABSL file:

Identifier ABC Does not Exist

Where ABC is an element which you have already declared in the BO definition.

 

Reproducing the Issue

  1. Declare the elements in the BO.
  2. Create a script file and try to use the element by using this.ABC.
  3. Right click on the ABSL file and select activate.
  4. Error appears

Please note that the element will not appearing in the code completion as well. 

mass1.PNG

 

Cause

The script file you have created must be mass enabled.

From 1705 release, all the script files are mass enabled by default to enhance system performance.

 

Resolution

In order to resolve this issue you should follow either of the below procedure:

1. You should use GetFirst() function in your script.

Example: this.GetFirst().ABC;

Or

2. When you try to create a script file you have to de-select the check box for Mass Enabled.

 MassEnabled.PNG

Keywords

KBA , SRD-CC , Cross Components , How To

Product

SAP BUSINESS BYDESIGN 1705 ; SAP BUSINESS BYDESIGN 1708 ; SAP Business ByDesign 1711 ; SAP HYBRIS C4C ADDINS 1705 ; SAP Hybris Cloud for Customer 1708 ; SAP Hybris Cloud for Customer 1711