
The function module EXCHANGE_ITF has an interactive form. It allows the character and paragraph markers defined in a particular style or layout set (and required for text formatting) to be converted to those of another style or layout set. You specify the desired new style or form allocation in a dialog box. To specify which original names match which new names, use transaction SE74 (Format conversion), column "Format conversion in SAPscript texts".
Function call:
CALL FUNCTION 'EXCHANGE_ITF'
EXPORTING FORMATWIDTH = 72
HEADER = ?...
IMPORTING NEWHEADER =
TABLES ITF_LINES = ?...
EXCEPTIONS CANCELLED =
Export parameters:
|
FORMATWIDTH |
Maximum line width of the result text. If table TTXOB contains an entry for the current text object, the system overwrites the parameter FORMATWIDTH with this value. Statement lines are never split. Default value: 72 |
|
HEADER |
Text header of the source text. Structure: THEAD |
Import parameter:
|
NEWHEADER |
Text header of the result text. Structure: THEAD |
Table parameters:
|
ITF_LINES |
The system reads the text to be converted from table ITF_LINES, processes it and returns it in the same table. Structure: TLINE |
Exceptions:
|
CANCELLED |
Conversion canceled by user |