SAP EQUIPMENT_TEXT_READ Function Module for NOTRANSL: Lesen der Equipmentkurztexte
EQUIPMENT_TEXT_READ is a standard equipment text read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Lesen der Equipmentkurztexte processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for equipment text read FM, simply by entering the name EQUIPMENT_TEXT_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: ITX1
Program Name: SAPLITX1
Main Program: SAPLITX1
Appliation area: I
Release date: 18-Apr-1994
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EQUIPMENT_TEXT_READ pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'EQUIPMENT_TEXT_READ'"NOTRANSL: Lesen der Equipmentkurztexte.
EXPORTING
* ALL_TEXTS = ' ' "Indicator, whether all short texts required
EQUI_NO = "Equipment number
* TEXT_LANGUAGE = SY-LANGU "Required language
IMPORTING
EQUI_TEXT = "Equipment text
TABLES
TEXT_TABLE = "All short texts for the equipment
EXCEPTIONS
EQUI_NOT_FOUND = 1 TEXT_NOT_FOUND = 2
IMPORTING Parameters details for EQUIPMENT_TEXT_READ
ALL_TEXTS - Indicator, whether all short texts required
Data type: EQKT-KZLTXDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EQUI_NO - Equipment number
Data type: EQKT-EQUNROptional: No
Call by Reference: No ( called with pass by value option)
TEXT_LANGUAGE - Required language
Data type: EQKT-SPRASDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EQUIPMENT_TEXT_READ
EQUI_TEXT - Equipment text
Data type: EQKT-EQKTXOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EQUIPMENT_TEXT_READ
TEXT_TABLE - All short texts for the equipment
Data type: EQKTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
EQUI_NOT_FOUND - Equipment Not Found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TEXT_NOT_FOUND - Text does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EQUIPMENT_TEXT_READ Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_all_texts | TYPE EQKT-KZLTX, " SPACE | |||
| lv_equi_text | TYPE EQKT-EQKTX, " | |||
| lt_text_table | TYPE STANDARD TABLE OF EQKT, " | |||
| lv_equi_not_found | TYPE EQKT, " | |||
| lv_equi_no | TYPE EQKT-EQUNR, " | |||
| lv_text_not_found | TYPE EQKT, " | |||
| lv_text_language | TYPE EQKT-SPRAS. " SY-LANGU |
|   CALL FUNCTION 'EQUIPMENT_TEXT_READ' "NOTRANSL: Lesen der Equipmentkurztexte |
| EXPORTING | ||
| ALL_TEXTS | = lv_all_texts | |
| EQUI_NO | = lv_equi_no | |
| TEXT_LANGUAGE | = lv_text_language | |
| IMPORTING | ||
| EQUI_TEXT | = lv_equi_text | |
| TABLES | ||
| TEXT_TABLE | = lt_text_table | |
| EXCEPTIONS | ||
| EQUI_NOT_FOUND = 1 | ||
| TEXT_NOT_FOUND = 2 | ||
| . " EQUIPMENT_TEXT_READ | ||
ABAP code using 7.40 inline data declarations to call FM EQUIPMENT_TEXT_READ
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single KZLTX FROM EQKT INTO @DATA(ld_all_texts). | ||||
| DATA(ld_all_texts) | = ' '. | |||
| "SELECT single EQKTX FROM EQKT INTO @DATA(ld_equi_text). | ||||
| "SELECT single EQUNR FROM EQKT INTO @DATA(ld_equi_no). | ||||
| "SELECT single SPRAS FROM EQKT INTO @DATA(ld_text_language). | ||||
| DATA(ld_text_language) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects