print_document 

You use this method to print a document that is open in the office application

CALL METHOD document->print_document
     EXPORTING prompt_user = prompt_user
               no_flush    = no_flush
     IMPORTING error       = error
               retcode     = retcode.

Description of parameters

Parameter

Optional

Description

prompt_user

X

Flags whether the method should call the corresponding dialog box in the office application when it is executed