Start of Content Area

PRINT_TEXT_ITF   Locate the document in its SAP Library structure

The function module prints the SAPscript text passed in table LINES in ITF format, which means that it prints the text lines in the ways they appear in the lines table. The printout thus resembles the representation in the SAPscript Editor.

The system outputs the text into the form SAPSCRIPT_ITF. The form can output up to 76 characters per line. This means that the contents of a SAPscript text line fits into such a form line only up to column 72. If a text line is longer, the system splits it in two. In the format line, the system inserts the '..' character to indicate that this line contains the columns 73 to 132 of the previous text line.

 

Function call:

 

CALL FUNCTION 'PRINT_TEXT_ITF'

EXPORTING HEADER = ?...

OPTIONS = ?...

IMPORTING RESULT =

TABLES LINES = ?...

 

Export parameters:

HEADER

The parameter contains the header of the text module whose lines you want to print.

Structure: THEAD

OPTIONS

Use parameter OPTIONS to set different options for print formatting. The parameter has the structure ITCPO. The user can change some of the defined settings on the print control screen.

Structure: ITCPO

Default value: SPACE

 

Import parameters:

RESULT

The parameter contains results of the print formatting process.

Structure: ITCPP

 

Table parameters:

LINES

Enter the table that contains the text lines you want to print.

Structure: TLINE