Menu

SAP Function Module CONVERT_ITF_TO_ASCII

Text Conversion ITF (SAPscript Format) to ASCII

The Function Module CONVERT_ITF_TO_ASCII (Text Conversion ITF (SAPscript Format) to ASCII) is a standard Function Module in SAP ERP and is part of the function group STXK within the package STXD.

Technical Information

Function Module CONVERT_ITF_TO_ASCII
Short Text Text Conversion ITF (SAPscript Format) to ASCII
Function Group STXK
Package STXD
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CODEPAGE LIKE TCP02-CPCODEPAGE '0000' Target Character Set (only for TABLETYPE 'BIN')
FORMATWIDTH LIKE ITCTK-TDLINESIZE 72 Row Width in Result Table (40 to 132, 0)
LANGUAGE TYPE SPRAS SY-LANGU Language of Original Text
LF_SUBSTITUTE TYPE C SPACE Replacement Value for Line Feed (only for TABLETYPE 'BIN')
REPLACE_SAPCHARS TYPE TDBOOL 'X' Evaluate SAP Characters
REPLACE_SYMBOLS TYPE TDBOOL 'X' Evaluate Symbols
TABLETYPE TYPE C 'ASC' Type of foreign format table: 'BIN' or 'ASC'
TAB_SUBSTITUTE TYPE C SPACE Replacement for Tab

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
C_DATATAB TYPE TDTAB_C132 Foreign Text Table 132 Characters
FORMATWIDTH_E LIKE ITCTK-TDLINESIZE Actual Format Width at Export
X_DATATAB TYPE TDTAB_X256 Foreign Text Table (Binary)
X_SIZE TYPE I Size of X_DATATAB in Bytes

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ITF_LINES LIKE TLINE SAPscript ITF Table

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
INVALID_TABLETYPE Parameter 'TABLETYPE' contains an invalid value.