Skip to Content
0
Former Member
Oct 21, 2007 at 09:47 AM

is it possible to print layout/sapscript in background ?

59 Views

hello

i need to print some form ( layout/sapscript ) in background

is it possible to print it immediately in background ?

i don’t want to keep it in the spool .

This is the following code of my.

  • submit ****

SUBMIT YMM_VERIFICATION_BCK_GRND

VIA JOB JOBNAME NUMBER JOBCOUNT

with SL_BELNR in TB_BELNR

with SL_GJAHR in TB_GJAHR

with SL_BUKRS in TB_BUKRS

TO SAP-SPOOL IMMEDIATELY ' '

DESTINATION 'LOCL'

KEEP IN SPOOL ' '

AND RETURN.

  • print ************

itcpo-tdimmed = 'X'.

CALL FUNCTION 'OPEN_FORM'

EXPORTING

  • APPLICATION = 'TX'

  • ARCHIVE_INDEX =

  • ARCHIVE_PARAMS =

DEVICE = 'PRINTER'

  • DIALOG = 'X'

FORM = 'YMM_VERIFICATION'

  • LANGUAGE = SY-LANGU

OPTIONS = ITCPO