on 10-29-2007 2:33 PM
Hello all,
I have a smartform for printing Production Order BOM. I want this smartform to directly go to spool, instead it gives me a popup.
Could you please tell me how do I avoid this popup and send the form directly to spool.
Thanks,
Salil
solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yoy have to fill all parameters needed (printer and so) and add the no display parameters when calling the smartform funciton module :
(Sample)
* Destination
ssfcompop-tddest = tddest.
ssfcompop-tdimmed = 'X'.
ssfcompop-tdnewid = 'X'.
ssfcompop-tddelete = 'X'.
* Options
ssfctrlop-device = 'PRINTER'.
ssfctrlop-no_dialog = 'X'.
ssfctrlop-preview = ' '.
* Call function
CALL FUNCTION fm_name
EXPORTING
control_parameters = ssfctrlop
output_options = ssfcompop
user_settings = ' '
head = head
para = para
IMPORTING
job_output_info = ssfcrescl
TABLES
post = post
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes...
You need to set some parameters in the CONTROL_PARAMETERS while calling the Smartform FM
NO_DIALOG = 'X'.
PREVIEW = ' '.
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
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.