Skip to Content

Script Engine – new Service Layer feature!

With SAP Business One 9.2 PL04, version for SAP HANA the Service Layer has been enhanced with a new feature called Script Engine!


This new feature allows partners and customers to develop their own script extensions that can be embeded and executed by Service Layer. The script engine feature give a powerfull opportunity to build complex transactions in a single oData request being handled by the Service Layer Script Engine.


Main features of the Service Layer Script Engine are:

  • Embedded JavaScript parsing engine into Service Layer (Google Chrome V8)
  • Provided JavaScript SDK to develop extension applications.
  • Exposed SAP Business One CRUD API.
  • Exposed SAP Business One transaction API.
  • Exposed HTTP request and response API. Benefits
  • Allow partners to implement server-side JavaScript extensions hosted by Service Layer (UDOs and Business Objects customization and validation,…).
  • Share server-side customization among different applications (client and server side) on top of Service Layer.
  • Allow global transactions grouping several operations


Check the following blog B1 Service Layer:  Develop extensions by embedding JavaScript as well as the SAP Note 2343691 – Service Layer supports script engine (S-user required) for more details.

Detailed documentation of this Service Layer feature and all available features is of course available directly in your HANA server at https://hana-server:50000.


Hope you will enjoy this new great feature!


You must be Logged on to comment or reply to a post.