SAP COAT_ATTRIB_VALTXT_READ_SINGLE Function Module for
COAT_ATTRIB_VALTXT_READ_SINGLE is a standard coat attrib valtxt read single SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 coat attrib valtxt read single FM, simply by entering the name COAT_ATTRIB_VALTXT_READ_SINGLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: COAT
Program Name: SAPLCOAT
Main Program: SAPLCOAT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function COAT_ATTRIB_VALTXT_READ_SINGLE 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 'COAT_ATTRIB_VALTXT_READ_SINGLE'".
EXPORTING
* ID_LANGU = "
ID_URSPRUNG = "
ID_NR = "
ID_TEXT = "
* ID_BYPASSING_BUFFER = "
IMPORTING
ED_VALUE = "
EXCEPTIONS
INCONSISTENT_IMPORT_PARAMETERS = 1 NO_VALUE_FOUND_TO_TEXT = 2
IMPORTING Parameters details for COAT_ATTRIB_VALTXT_READ_SINGLE
ID_LANGU -
Data type: SPRASOptional: Yes
Call by Reference: Yes
ID_URSPRUNG -
Data type: ATTRIB_ORIGINOptional: No
Call by Reference: Yes
ID_NR -
Data type: ATTRIB_NROptional: No
Call by Reference: Yes
ID_TEXT -
Data type: ATTRIB_VALUE_TOptional: No
Call by Reference: Yes
ID_BYPASSING_BUFFER -
Data type: BOOLEANOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for COAT_ATTRIB_VALTXT_READ_SINGLE
ED_VALUE -
Data type: ATTRIB_VALUEOptional: No
Call by Reference: Yes
EXCEPTIONS details
INCONSISTENT_IMPORT_PARAMETERS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_VALUE_FOUND_TO_TEXT -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for COAT_ATTRIB_VALTXT_READ_SINGLE 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_ed_value | TYPE ATTRIB_VALUE, " | |||
| lv_id_langu | TYPE SPRAS, " | |||
| lv_inconsistent_import_parameters | TYPE SPRAS, " | |||
| lv_id_ursprung | TYPE ATTRIB_ORIGIN, " | |||
| lv_no_value_found_to_text | TYPE ATTRIB_ORIGIN, " | |||
| lv_id_nr | TYPE ATTRIB_NR, " | |||
| lv_id_text | TYPE ATTRIB_VALUE_T, " | |||
| lv_id_bypassing_buffer | TYPE BOOLEAN. " |
|   CALL FUNCTION 'COAT_ATTRIB_VALTXT_READ_SINGLE' " |
| EXPORTING | ||
| ID_LANGU | = lv_id_langu | |
| ID_URSPRUNG | = lv_id_ursprung | |
| ID_NR | = lv_id_nr | |
| ID_TEXT | = lv_id_text | |
| ID_BYPASSING_BUFFER | = lv_id_bypassing_buffer | |
| IMPORTING | ||
| ED_VALUE | = lv_ed_value | |
| EXCEPTIONS | ||
| INCONSISTENT_IMPORT_PARAMETERS = 1 | ||
| NO_VALUE_FOUND_TO_TEXT = 2 | ||
| . " COAT_ATTRIB_VALTXT_READ_SINGLE | ||
ABAP code using 7.40 inline data declarations to call FM COAT_ATTRIB_VALTXT_READ_SINGLE
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.Search for further information about these or an SAP related objects