Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Output to be printed directly with out the print dialog box

Hi all,

I have requirement where I donu2019t want the print output dialog screen to be displayed, and the script needs to be directly printed to the output device.

I am actually passing the following parameters

CALL FUNCTION 'OPEN_FORM'

EXPORTING

  • APPLICATION = 'TX'

  • ARCHIVE_INDEX =

  • ARCHIVE_PARAMS =

DEVICE = 'PRINTER'

DIALOG = ''

FORM = 'ZUSP2P_PICK_PO_L'

LANGUAGE = SY-LANGU

OPTIONS = LS_ITCPO

In the ls_itcpo, I am passing the following details,

LS_ITCPO-TDPREVIEW = ' '.

LS_ITCPO-TDIMMED = 'X'.

LS_ITCPO-TDNOPREV = 'X'.

LS_ITCPO-TDPROGRAM = SY-REPID.

LS_ITCPO-TDNEWID = 'X'.

LS_ITCPO-TDDEST = P_TDDEST.

I donu2019t want this screen to be displayed. Please suggest me a solution.

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question