Start of Content Area

Function documentation Text Exit (SAPscript only)  Locate the document in its SAP Library structure

Use

The text exit is called before a SAPscript text is printed for each data line of a form level and can be used for different activities during processing of a form level.

Features

The indicator y_print_text is transferred in the interface of the text exit; it controls whether the text of the text exit is to be printed. This enables you to dynamically control whether the text is to be printed and to carry out additional activities (for example, data selection).

NoteIf there are alternative text parts, you can use IF instructions in SAPscript texts to decide which text parts are to be printed. For performance reasons however, you should implement these instructions using text exits, since IF instructions in SAPscript texts require a time-consuming interpretations (see also Optimizing Performance).

 

End of Content Area