Skip to Content

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

is it possible to print layout/sapscript in background ?

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

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