‎2007 Oct 22 1:56 PM
Hello all,
I have a requirement in wich i need to print files from SAP (the files are in a directory in a file server). The files can be PDF or WORD. Is there a function module that allows me to do this?
Thanks in advance
Nuno Silva
‎2007 Oct 22 3:11 PM
There is no specific function module to get the files from application server and send for printing.
You can do workaround : From Open Dataset you can read the files from server. Download this file and use NEW-PAGE print command to direct send printing from report.
For more info, please refer below link;
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba5ef35c111d1829f0000e829fbfe/content.htm
‎2007 Oct 22 6:29 PM
‎2007 Oct 25 12:06 PM
If i do the NEW-PAGE i will be sending the ascii contents of the file to the printer right? It won't print as if it was printed from word isn't that right?
‎2007 Oct 25 12:21 PM
Hi,
If you use NEW-PAGE PRINT On. .then it will print like a Classical report output.
You wont get it in a tabular format with all different fonts/Bold/Italic formatting.
If you need formatting, then you need to opt for SMARTFORM.
Else if a plain text file output (Same as print out from Notepad) is fine, then go for NEW PAGE PRINT ON.
Best regards,
Prashant
‎2007 Oct 25 2:33 PM
Hello,
But what i need is to print the file as-is like if you printed it from word (for example).