Menu

SAP Function Module CONVERT_TEXT_R2

Text Conversion: Convert R/2 Texts to R/3 SAPscript

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module CONVERT_TEXT_R2 (Text Conversion: Convert R/2 Texts to R/3 SAPscript) is a standard Function Module in SAP ERP and is part of the function group STXR2 within the package STXD.

Technical Information

Function Module CONVERT_TEXT_R2
Short Text Text Conversion: Convert R/2 Texts to R/3 SAPscript
Function Group STXR2
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
COMMENT_LINES TYPE ANY 'X' Handling of non-supported R/2 commands
DESTINATION_TABLE TYPE ANY SPACE Table to which the text belongs
DIRECTION TYPE ANY 'IMPORT' Conversion direction
ERROR_COMMENTS TYPE ANY SPACE Transfer error messages as comments
HEADER LIKE THEAD Text header (SAPscript)
HEADER_R2 LIKE TEXTH Text header (R/2)
IGNORE_ALIASNAMES TYPE ANY SPACE Ignore alias name check
INCLUDE_ID LIKE THEAD-TDID 'ST ' ID for included standard texts
INCLUDE_PREFIX TYPE ANY SPACE Name prefix for included standard texts
INCLUDE_ZEROS TYPE ANY 'X' Leading zeros in standard text name
PARAGRAPH_AV LIKE TLINE-TDFORMAT '* ' R/3 paragraph format for A lines or V lines
PARAGRAPH_F LIKE TLINE-TDFORMAT '* ' R/3 paragraph format for F lines
SOURCE_OBJECT TYPE ANY SPACE Migration object
SOURCE_RELEASE TYPE ANY SPACE Release and maintenance level of source system
SOURCE_SYSTEM TYPE ANY 'SAP' System name of source system
SUPRESS_ERRORLEVEL LIKE SY-SUBRC 0 Suppress errors up to specified level

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ERRORLEVEL LIKE SY-SUBRC Error status
NEWHEADER LIKE THEAD Text header (SAPscript)
NEWHEADER_R2 LIKE TEXTH Text header (R/2)
NEWSTYLE LIKE THEAD-TDSTYLE

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
LINES LIKE TLINE Lines (SAPscript)
LINES_R2 LIKE TEXTL Lines (R/2)

Exceptions

This function module does not define any Exceptions.