With load(), you can load an external file. Once this file is loaded, anything included in the file will be available for global use in WS scripts.
You can load files from the following locations:
To load a file from a directory on your local machine:
Note: If the file is not in the same directory as the script file, you must specify the full path.
To load a file from a shared directory on the network:
SAP Web Repositories
To load a file from the SAP Web Repository (SAPWR), use the following syntax:
Note: Use the file command to give the file an alias if it exceeds the 30-character limitation on SAPWR file names.
The load() command does not take any options.
Open a script file and add the below code.//ESESSION.sjs
// wsoffice.dll is required to be installed