07-17-2008 1:50 PM
Hi,
i have a smartform and print it via this FM direct to the printer which is set
on my user as default (LOCAL). The output is coming direct. Every thing works OK.
CONTROL_PARAMETERS-NO_DIALOG = 'X'.
CALL FUNCTION FM_NAME
EXPORTING
CONTROL_PARAMETERS = CONTROL_PARAMETERS
OUTPUT_OPTIONS = OUTPUT_OPTIONS
ADRNR = LFA1-ADRNR
SPRAS = LFA1-SPRAS
STR_POBOX = 'S'
TABLES
TMARA = IMARA
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
Now i want the output not to be printed, but only hold in spool.
i have tried with setting OUTPUT_OPTIONS-TDIMMED with space, but no result.
Has anybone an idea? Which values/parameter do i have to set??
thanks.
regards, Dieter
07-17-2008 1:59 PM
wa_output_options-tdimmed = 'X'.
wa_control_parameters-no_dialog = 'X'.
use this..this will help.......
Regards
Anbu
07-17-2008 1:59 PM
wa_output_options-tdimmed = 'X'.
wa_control_parameters-no_dialog = 'X'.
use this..this will help.......
Regards
Anbu
07-17-2008 2:06 PM
Hi,
thanks for answer, but i use no_dialog = 'X' (look into my question), and set -tdimmed with space or 'X'
no result. Output is directly printed.
Regards, Dieter
07-17-2008 2:07 PM
Hello
OUTPUT_OPTIONS-TDNEWID = 'X'.
OUTPUT_OPTIONS-TDIMMED = space.