‎2007 Mar 08 1:27 PM
I DONT WANT THE PRINT PREVIEW SCREEN TO BE APPEARED WHENEVER I EXECUTE A SMARTFORM OR A SCRIPT.
I WANT TO SKIP THE PRINT PREVIEW SCREEN ? CAN ANYONE GIVE THE REPLY
‎2007 Mar 08 1:31 PM
thats a customizing thing, ask your councelors about that.
Message was edited by:
Florian Kemmer
‎2007 Mar 08 1:32 PM
Hi
got to messages screen of the Application document (PO or Sales Order or Invoice) and select the Output type
Select and press Communication Method
Check the PRINT IMMEDIATELY check box
come back and press FURTHER DATA
there will be 4 options for despatch time
select SEND IMMEDIATELy
This will straight away print the Smartform.
Regards,
Anji
‎2007 Mar 08 1:33 PM
Hi Shiva,
If you have control over the print program (To change it if it is a z program), then
you have to set the
CONTROL_PARAMS-PREVIEW = space.
Regards,
Ravi
‎2007 Mar 08 1:37 PM
hi shive you can achive this be passing the Outputoptions-
<b>scripts</b>
ITCPO-TDNOPREV = 'X'.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DEVICE = 'PRINTER'
DIALOG = ''
FORM = '............'
LANGUAGE = SY-LANGU
OPTIONS = ITCPO
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
OTHERS = 6.<b>for the smartforms</b>
ls_composer_param-TDNOPREV = 'X'
ls_control_param-NO_DIALOG = 'X'
CALL FUNCTION lf_fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
* mail_appl_obj =
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = space
is_bil_invoice = ls_bil_invoice
is_nast = nast
is_repeat = repeatPlease Close this thread.. when u r problem is solved
Reward if Helpful
Regards
Naresh Reddy K