08-04-2017 7:17 AM
Hi All,
I have a requirement to disable to "Number of Copies" option while printing the word file from Zprogram.
I am using below method to print the document
CALL METHOD document->print_document
EXPORTING prompt_user = 'X'.
Main requirement is to allow user to take only single print of the document.
For this, can I able to disable the option "Number of Copies" and how?
OR is it possible to achieve this by hiding the whole print screen window and how?
OR what I am trying to achieve from Zprogram is possible or not ?
Please any help will be highly appreciated...
Thanks.
08-07-2017 7:01 AM
08-07-2017 7:36 AM
I don't wish to sound un-supportive, but what is the benefit of doing this? If I were an end user and I really wanted to get another copy of a document, to which I have access, there are options, which you cannot easily prevent - e.g. I could print to file, or I could take the printed paper, scan it and print as many times as I wish. There are a few more tricks which a resourceful person could think of, but these ones are so simple, that I would not look much further...
08-07-2017 7:52 AM
This is not an SAP question in reality. If you want this finer control then I would use OLE and send word the relevant commands myself rather than using SAP. For this type of thing search the Word Programming forums.
However... as Veselina said....
08-07-2017 8:24 AM
In your SAP system, can you run the following report ? This is SAP demo for Desktop office integration. In this program, the Print button is behaving exactly like you require (that is to send the print in background). Hope it helps you.
Report name : SAPRDEMOOFFICEINTEGRATION