Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Print Files

Former Member
0 Likes
824

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

5 REPLIES 5
Read only

Former Member
0 Likes
727

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

Read only

0 Likes
727

How can i do that?

Read only

0 Likes
727

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?

Read only

Former Member
0 Likes
727

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

Read only

0 Likes
727

Hello,

But what i need is to print the file as-is like if you printed it from word (for example).