2008 May 19 9:23 AM
HI,
I have faced one problem while printing the smartform. the User requirement is no need to ask the print Paramater Dialog. After excute the Report , it will print directly without asking Printer name, Print Immediately.
I have tried with GET_Print_parameters Fm. But I dont know wt are the Parameters to be passed.
With Regards,
Mahesh.
HI,
I have faced one problem while printing the smartform. the User requirement is no need to ask the print Paramater Dialog. After excute the Report , it will print directly without asking Printer name, Print Immediately.
I have tried with GET_Print_parameters Fm. But I dont know wt are the Parameters to be passed.
With Regards,
Mahesh.
2008 May 19 9:28 AM
try this ...
DATA: print_parameters TYPE pri_params,
archi_parameters TYPE arc_params,
valid_flag(1) TYPE c.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
archive_mode = '3'
no_dialog = 'X'
IMPORTING
out_parameters = print_parameters
out_archive_parameters = archi_parameters
valid = valid_flag
EXCEPTIONS
invalid_print_params = 2
OTHERS = 4.
2008 May 19 9:29 AM
hi mahesh,
go through this link.
u will get the answer.
[http://www.saptechies.com/smartforms-frequently-asked-questions/]
regard
sandeep patel
*reward point if useful
Edited by: Sandeep patel on May 19, 2008 2:00 PM
2008 May 19 9:47 AM
as per your link, i have modified the Report, but i have faced the error msg that 'Previous output request was not finished'.
guide me