Use this method to add a script to the collection. The script is identified by a URL.
CALL METHOD script_coll->add_script
EXPORTING script_name = script_name
script_type = script_type
script_url = script_url
user_info = user_info
no_flush = no_flush
IMPORTING retcode = retcode
error = error.
Description of parameters
Parameter |
Optional |
Description |
script_name |
Technical name of the script | |
script_url |
The URL address of the script | |
script_type |
X |
script_type_unknown : The system tries to determine the type from the MIME type within the URL. If this is not possible, an error occurs.script_type_vbscript : The script is written in VB Script.script_type_jscript : The script is written in Java Script. |
user_info |
X |
Logon and proxy data for accessing an HTTP or FTP server. |