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

Printing without asking Print Parameters

Former Member
0 Likes
630

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.

3 REPLIES 3
Read only

Former Member
0 Likes
584

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.

Read only

Former Member
0 Likes
584

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

Read only

0 Likes
584

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