on 07-13-2009 7:12 AM
Hi experts,
I am facing with some smartform printing problem.
Here is the problem:
We develop an add_on program for printing some FI report and we use F:Front end Printing in SPAD Access Method.
The problem that we faced is: After enter the TCODE, we select preview into the smartform window.( Display is all right) At this window, when we click Print Icon, the output request directly sent to the printer and the page printed out without giving a selection window for selecting Printers and printing page range (Like standard print configuration).
What we want is that after displaying the FI report in smartform, we could select the print page range and printers in user's PC.
Appreciate for your valuable advice.
BR,
Derek Yang
Usually,I choose a FM named 'SSF_FUNCTION_MODULE_NAME' to get the name of Smartform ,and use the returned FM name to print it , then it will pop a window to select.
Edited by: Alberto Fantasista on Jul 13, 2009 8:19 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After study this case, I found that it is incapable of SAP to achieve what I want.
Thanks everyone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to set PREVIEW = 'X', before you see print preview.
Try this way
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZTEST_SMARTFORM'
IMPORTING
fm_name = fm_name.
DATA:ssfctrlop TYPE ssfctrlop.
ssfctrlop-preview = 'X'. "Needs to be set this. It shows dialog window to set print parameters
CALL FUNCTION fm_name
EXPORTING
control_parameters = ssfctrlop
TABLES
it_nfal = it_nfal.
Thanks
Venkat.O
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try using GET_PRINT_PARAMETERS FM in your code.. if you can..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.