The file command can be used with either strings or with regular expressions. in the following examples we will demonstrate the various usages.
In the following example, we will use a string.
Create a file in SAPWR with the following filename:
Open the 'esession.sjs' file and enter the following code. Create the file if it does not already exist.
file("Z.GUIXT.SAPLSMTR_NAVIGATION.E0100.sjs", {"alias":"sessmgr"});
Save the file.
You should now be able to access the file using the alias 'sessmgr' instead of the actual file name.