Start of Content Area

Function documentation Initializing and Closing Print Transactions  Locate the document in its SAP Library structure

Use

In mass printing, SAP recommends that you initialize and complete the print process both before and after the operational calls of the modules EFG_PRINT or EFG_PRINT_EXPANDED. The module EFG_PRINT_INIT initializes the print process and makes sure that the application form used and transferred are activated if necessary. If errors occur, the incorrect application forms are reported to the calling application as not capable of being activated. The module EFG_PRINT_CLOSE postprocesses the output requests that have expired during the print process (usually outputs them) and initializes the internal data buffer in the Print Workbench.

Features

The module EFG_PRINT_INIT has the following structure:

Import parameters

X_ITCPO

ITCPO

Print Parameters

X_TAB_FORMKEY

EFG_TAB_FORMKEY

Table of application forms (optional)

X_FORMKEY

FORMKEY

Application form (optional)

X_FORMCLASS

FORMCLASS

Form class (optional)

X_TAB_FORMCLASS

EFG_TAB_FORMCLASS

Table with form classes (optional)

Export parameters

Y_TAB_ERRORFORMS

EFG_TAB_ERRORFORM

Table with incorrect application forms

The module EFG_PRINT_INIT has the following structure:

Import parameters

X_FLG_OUTPUT

(Indicator)

Triggers output of spool requests

X_FLG_FINALIZE

(Indicator)

Close output requests

X_FLG_CLEAR_SPOOLIDS

(Indicator)

Delete spool IDs from main memory

Export parameters

Y_TAB_SPOOLIDS

TSFSPOOLID

Table of expired output requests in main memory

 

 

End of Content Area