SAP Knowledge Base Article - Public

2655474 - How To Use Encryption Function In ABSL Code PDI

Symptom

Use of Hash.EncryptString() Function in ABSL code logic.

Environment

SAP Hybris Cloud For Customer

SAP Business ByDesign

SAP Cloud Application Studio

Reproducing the Issue

  • Login to Cloud Application Studio.
  • Open PDI Solution.
  • Open ABSL Code Logic(.absl file) where you have used function Hash.EncryptString().
  • When you debug your .absl file you can find function Hash.EncryptString() will return as empty.

Cause

This funtcion is currently not part of the official C4C delivery as generally available..

Resolution

If you want to use this function in your code logic then this can be turned on via an explicit request from your side. You can raise an incident at SAP Support. SAP team will check the feasibility whether the reusable hash library can be enabled in the tenant or not and will enable if feasible.

Keywords

Reuse hash library Hash.EncryptString()

EncryptString() feature
, KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , AP-XPE , Custom Specific Development , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions