on 08-23-2007 8:20 AM
In an ABAP program, we call the function for a SMARTFORM, within a loop.
For each occurrence in the loop, the SMARTFORM generates an entry in the spool (transaction SP01) with ststus waiting.
Only when the program finishes, does the spool send the SMARTFORMS layout to the printer.
How can we cause the printing to start immediately for each occurrence in the loop without waiting for the program to finish?
Do set the option,
ssfcompop-tdimmed = 'X'
and pass it to the function module of smartform
output_options = ssfcompop-tdimmed
Close the thread if your question is answered.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
W_CONTROL_PARAMETERS-NO_DIALOG = 'X'. "skip dialog
W_OUTPUT_OPTIONS-TDDEST = 'FRT'. "print
W_OUTPUT_OPTIONS-TDIMMED = 'X'. "immed print
W_OUTPUT_OPTIONS-TDNEWID = 'X'. "create new spool request
W_OUTPUT_OPTIONS-TDCOPIES = 001. "copies
besides above ,you can check the user setting by Tr-code SU3
choose Defaults ,then check the [Output Immediately]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
But why r u using smartforms fm in loop..It's useless.
If u want to print multiple output at time use print workbench for that it has same feature as smartforms.
Rewards points if it is useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.