Using the Script Collection 
The script collection allows you to include macros belonging to a certain area in a script file. The script collection downloads the script file to the document, and the macros can be run.
Prerequisites
You must create the instance document for document management before you can use the interface.
Declare an instance with reference to interface i_oi_script_collection:
DATA script_coll TYPE REF TO i_oi_script_collection.
Use the method get_script_collection on the document instance for document management to create the instance for the mail merge interface.
Use the script collection methods:
Method |
Function |
|
Adds a script to the collection |
|
Adds a script to the collection |
|
Remove all scripts |
|
Remove a particular script |
Note
Any parameters not contained in the individual method descriptions are listed under Generic Parameters.