Entering content frameSyntax documentationadd_script_from_table Locate the document in its SAP Library structure

Use this method to load a script. The script must be contained in a table in the application program.

CALL METHOD script_coll->add_script_from_table
       EXPORTING script_name  = script_name
                 script_type  = script_type
                 script_table = script_table
                 no_flush     = no_flush
       IMPORTING retcode      = retcode
                 error        = error.

Description of parameters

Parameter

Optional

Description

script_name

 

Technical name 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.

script_table

 

Internal table into which the script is to be loaded.

 

Leaving content frame