SAP Knowledge Base Article - Public

2655474 - How To Use Encryption Function In ABSL Code PDI


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


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.


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


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.


Reuse hash library Hash.EncryptString()

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


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