Using versionnumber with WS.
The versionnumber command is used principally to reduce web traffic when scripts are hosted in a SAP web repository, a FTP shared directory or a HTTP web share. In action, the versionnumber command adds a version number to any scripts cached from SAPWR. If the versionnumber is updated, then SAP will access SAPWR to re-cache scripts that are stored there. This version number can be assigned as the user wishes and operates by causing the both the logon script and the session script to be loaded each time from the designated script directory. The syntax for the command is as follows:
versionnumber("string", {"option":value});
ab20
For the versionnumber command to function correctly, you must have one of the following two files:
The versionnumber command takes the following option.
If multiple SAP systems with the same name are being employed, users can specify a different system ID. This ID is then used to strengthen the cache directory name. The syntax is as follows:
{"systemid":"SAP_system_ID"}
In the following example, we will demonstrate the versionnumber command in action.
Add the following entry to the guixt.sjs file.
directory0 = "C:\\guixt\\versions";
Add the following entry to either the elogon or esession files. In this case we wil use the elogon.sjs file and add the following entry:
versionnumber("000");