Menu

SAP Function Module EDIT_TEXT

SAPscript: Edit text in the text editor

The Function Module EDIT_TEXT (SAPscript: Edit text in the text editor) is a standard Function Module in SAP ERP and is part of the function group STXD within the package STXD.

Technical Information

Function Module EDIT_TEXT
Short Text SAPscript: Edit text in the text editor
Function Group STXD
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
CONTROL LIKE ITCED SPACE Control parameter for the editor
DISPLAY LIKE SPACE Indicator: Display mode
EDITOR_TITLE LIKE TTXIT-TDTEXT SPACE Text for editor title line
HEADER LIKE THEAD Text header of the text to be edited
LINE_EDITOR TYPE C SPACE Indicator: Line editor or PC editor
LOCAL_CAT LIKE SPACE Text catalog local
PROGRAM LIKE SY-REPID SPACE Program name for program symbol replacement
SAVE LIKE 'X' Indicator: Saving by editor

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FUNCTION LIKE Indicator: Editing status
NEWHEADER LIKE THEAD Text header (changed)
RESULT LIKE ITCER Editor status information

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 of text being edited

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
COMMUNICATION Communication error
ID Text ID in text headers is invalid
LANGUAGE Language in text header invalid
LINESIZE Line width in text header invalid
NAME Text name in text header invalid
OBJECT Text object in text header invalid
TEXTFORMAT Text format cannot be processed