Printing of files from SAP alongwith printing SAPScript form

Question:
I have one technical query. Through DMS Document Management System, some word/excel or graphic files are attached to SAP documents(Purchase order/Maintenance order etc.)Is it possible to print these files at the time of printing the SAP document let us say printing of a purchase order using SAPScript. I mean to say at that point of time, if these files such as MS-WORD or any other file attached to that purchase order should also get printed.
Do you know any function module in SAP to print Microsoft documents or OLE methods/techniques.
ABAPer
Answer:
I have the same problem.
I don't know if you find a solution for that.
Many thanks for your help
Answer:
Hi,
Just a thought.
Each sapscript has a print program(ABAP) program associated with it. So in the print program, how about
STEP 1
- using function modules "WS_QUERY" to find out if the word file exists or not on the presentation server?
or
- use some SQL commands in ABAP to find out the details about word document, etc.
STEP 2
- then if the file exists, use function module "WS_EXECUTE"(used to execute dos commands) to print the file.
These function modules could be added at the end of the print program.
Good luck,
kumar
Answer:
I have the same problem...I would highly appreciate if you guys could share the solution if you had found by now...
Thanks

More Articles:

could any one give answer for this?
could you pls tell me how to improve report performance?
Has the SAP CAFE site gone ?
EKKO user exit?
ME21N / shorten input field?
local objects in PRD?