HANA Server side libraries are special type of Java Script program that can be imported and called in JavaScript program to perform simple and repetitive tasks.
Basic points about Server side libraries.
Basic points about Server side libraries.
- The libraries exist in the context of package, which is referenced when you import a package.
- The libraries are imported by using function import of XS Java Script API.
Syntax: import(path,library). - The Import operation generates a hierarchy of objects below $ that resembles the libraries location in the repository.
for example- if library name is Test located at path new/testpackage having function sum(),minus()
Then it will generate following object.
$new.testpackage.Test
Additional properties for newly generated libraries object.
$new.testpackage.Test.sum()
$new.testpackage.Test.minus() - Do not import the referenced libraries if it is already defined in the package.
For example:
Pre-defined libraries which gets included when create a project. - How to write Custom Server side libraries.
Thanks for sharing nice blog...
ReplyDeleteOpen stack training
SAP ABAP on Hana training
SAP ABAP training
SAP Basis training
SAP Bods training
SAP BW on Hana training
SAP CS training
SAP Fico training
SAP Grc training
SAP Hana training
Excellent article!!! Thanks for sharing it. IntelliMindz is the best IT Training in Bangalore with placement, offering 200 and more software courses with 100% Placement Assistance.
ReplyDeleteETL Testing Course In Bangalore
Selenium Training In Bangalore
Java Training In Bangalore
LoadRunner Training In Bangalore
TestComplete Training In Bangalore
SDET Training In Bangalore
Splunk Training In Bangalore
Tableau Training In Bangalore
Power BI Course In Bangalore