on 12-05-2008 11:40 AM
Hello friends,
I am running print program (with smartform), for first time it is generating spool request in sp01 say page1, when I am running same program for second time, it is generating spool request in sp01 but instead of generating a new request, the second one is getting appending in same spool request.
i.e in sp01 only one spool request with two pages (page1 for first run and page2 for second run).
Can any one provide suggestion how to create new spool request for each run.
Thanks & regards,
Sathish Kumar swamy
Sorry haven't seen that it's smartform.
As suggested please use control parameter and print parameter and set new spool flag..
Regards,
Mohaiyuddin
Edited by: Mohaiyuddin Soniwala on Dec 5, 2008 5:24 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CONTROL-preview = ' '.
CONTROL-no_open = 'X'.
CONTROL-no_close = 'X'.
CONTROL-no_dialog = 'X'.
CONTROL-device = 'PRINTER'.
OUTPUT_OPTIONS-TDDEST = tdest.
OUTPUT_OPTIONS-TDNOPRINT = 'X'.
OUTPUT_OPTIONS-tdimmed = 'X'.
OUTPUT_OPTIONS-tdnewid = 'X'. use this filed
OUTPUT_OPTIONS-tddataset = 'XYZ'.
CALL FUNCTION 'SSF_OPEN'
EXPORTING
output_options = output_options
control_parameters = CONTROL
user_settings = ' '
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.