Menu

SAP Function Module IMG_EDIT_TEXT

SAPscript: Read and change text, consideration of global texts

The Function Module IMG_EDIT_TEXT (SAPscript: Read and change text, consideration of global texts) is a standard Function Module in SAP ERP and is part of the function group STXD within the package STXD.

Technical Information

Function Module IMG_EDIT_TEXT
Short Text SAPscript: Read and change text, consideration of global texts
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 Flag: Display mode
EDITOR_TITLE LIKE TTXIT-TDTEXT SPACE Text for editor title line
ID LIKE THEAD-TDID Text ID of text to be read
LANGUAGE LIKE THEAD-TDSPRAS Invalid language
LOCAL_CAT LIKE SPACE Text catalog local
NAME LIKE THEAD-TDNAME Name of text to be read
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 Flag: Processing status
HEADER LIKE THEAD Text header of text read
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 Text lines of edited text

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
COMMUNICATION Communication error
ID Text ID of text to be read
LANGUAGE Invalid language
LINESIZE Line width in text header invalid
NAME Name of text to be read
NOT_FOUND Text not found
NO_AUTHORITY No authorization
REFERENCE_CHECK Reference chain interrupted
TEXTFORMAT Text format cannot be processed