Application Development and Automation 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: 
Read only

Problems with FM an smartforms

Former Member
0 Likes
552

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
Read only

Former Member
0 Likes
509

wa_output_options-tdimmed = 'X'.

wa_control_parameters-no_dialog = 'X'.

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

Regards

Anbu

3 REPLIES 3
Read only

Former Member
0 Likes
510

wa_output_options-tdimmed = 'X'.

wa_control_parameters-no_dialog = 'X'.

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

Regards

Anbu

Read only

0 Likes
509

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

Read only

Former Member
0 Likes
509

Hello

OUTPUT_OPTIONS-TDNEWID = 'X'.

OUTPUT_OPTIONS-TDIMMED = space.