Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with FM an smartforms

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

wa_output_options-tdimmed = 'X'.

wa_control_parameters-no_dialog = 'X'.

use this..this will help.......

Regards

Anbu

3 REPLIES 3

Former Member
0 Kudos

wa_output_options-tdimmed = 'X'.

wa_control_parameters-no_dialog = 'X'.

use this..this will help.......

Regards

Anbu

0 Kudos

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

Former Member
0 Kudos

Hello

OUTPUT_OPTIONS-TDNEWID = 'X'.

OUTPUT_OPTIONS-TDIMMED = space.