cancel
Showing results for 
Search instead for 
Did you mean: 

smartform direct display

Former Member
0 Kudos

Hello,

I am calling a smartform from a report and I am trying to suppress the dialog asking for the output device. I tried everithing I found here, but no succes. Here is my code:

data: control type SSFCTRLOP,

options type SSFCOMPOP.

control-device = 'PRINTER'.

control-no_dialog = 'X'.

control-preview = 'X'.

options-tddest = 'LP01'.

CALL FUNCTION '/1BCDWB/SF00000005'

EXPORTING

  • ARCHIVE_INDEX =

  • ARCHIVE_INDEX_TAB =

  • ARCHIVE_PARAMETERS =

CONTROL_PARAMETERS = control

  • MAIL_APPL_OBJ =

  • MAIL_RECIPIENT =

  • MAIL_SENDER =

OUTPUT_OPTIONS = options

  • USER_SETTINGS = 'X'

  • IMPORTING

  • DOCUMENT_OUTPUT_INFO =

  • JOB_OUTPUT_INFO =

  • JOB_OUTPUT_OPTIONS =

EXCEPTIONS

FORMATTING_ERROR = 1

INTERNAL_ERROR = 2

SEND_ERROR = 3

USER_CANCELED = 4

OTHERS = 5

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

What am I doing wrong?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Look at the below link

Regards

Sudheer

Answers (1)

Answers (1)

Former Member
0 Kudos

Try this option .

<b> control-preview = '' </b>

Thanks.