SAP Knowledge Base Article - Public

3386496 - Identifier does not exist for reuse function in the SDK

Symptom

Error raised whenusing reuse library function in absl or activating ABSL r: 

Environment

Source: byd
Type: Test System
System ID/Name: CLOUD / my337742.crm.ondemand.com
Product version: SAP Cloud for Customer core applications 2308
System managed by: SAP Cloud Tenant
Install base item: my337742.crm.ondemand.com
Sold product: CUSTOMER ONDEMAND

Reproducing the Issue

  1. In the SDK open an absl
  2. Add a reuse function eg: Var Date= Context.GetCurrentSystemDate();
  3. SAve/Activate

Error raised: Identifier 'Context' does not exist.

Cause

Default 'import ABSL;' statement was removed from script

Resolution

Re-add Import ABSL; at the top of the script and the issue should be resolved

See Also

3137520 - Identifier does not exist

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

2920399 - Error: Identifier does not Exist while Activating the Solution in Target Tenant

Keywords

KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , Problem

Product

SAP Cloud for Customer core applications 2308