You use this method to save the document on the local presentation server
CALL METHOD document->save_as
EXPORTING file_name = file_name
prompt_user = prompt_user
no_flush = no_flush
IMPORTING error = error
retcode = retcode.
Description of parameters
Parameter |
Optional |
Description |
file_name |
X |
The name of the file to be created |
prompt_user |
X |
When you execute the method, it starts the relevant dialog box in the office application. |
You should only use this method to create a local copy of the document on the presentation server. Note that this method only works while the document is open. To save the document in a document repository, use the method save_document_to_url.