SAP TQ27_READ Function Module for NOTRANSL: Nachlesen TQ27-Steuerkennzeichen
TQ27_READ is a standard tq27 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: Nachlesen TQ27-Steuerkennzeichen 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 tq27 read FM, simply by entering the name TQ27_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: CQTA
Program Name: SAPLCQTA
Main Program: SAPLCQTA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function TQ27_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 'TQ27_READ'"NOTRANSL: Nachlesen TQ27-Steuerkennzeichen.
EXPORTING
* KZEINSTELL = ' ' "
VSTEU = "
* I_STEUERKZ_STRING = ' ' "
* I_FIND_CHA_VSTEUERKZ = ' ' "
IMPORTING
TQ27_EXP = "
E_STEUERKZ_STRING = "
E_VSTEUERKZ = "
EXCEPTIONS
NO_ENTRY = 1
IMPORTING Parameters details for TQ27_READ
KZEINSTELL -
Data type: TQ27-KZEINSTELLDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
VSTEU -
Data type: TQ27-STEUERKZOptional: No
Call by Reference: No ( called with pass by value option)
I_STEUERKZ_STRING -
Data type: CHA_CLASS_DATA-STEUERKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FIND_CHA_VSTEUERKZ -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for TQ27_READ
TQ27_EXP -
Data type: TQ27Optional: No
Call by Reference: No ( called with pass by value option)
E_STEUERKZ_STRING -
Data type: CHA_CLASS_DATA-STEUERKZOptional: No
Call by Reference: No ( called with pass by value option)
E_VSTEUERKZ -
Data type: CHA_CLASS_DATA-VSTEUERKZOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_ENTRY - No entry found to the key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TQ27_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_no_entry | TYPE STRING, " | |||
| lv_tq27_exp | TYPE TQ27, " | |||
| lv_kzeinstell | TYPE TQ27-KZEINSTELL, " ' ' | |||
| lv_vsteu | TYPE TQ27-STEUERKZ, " | |||
| lv_e_steuerkz_string | TYPE CHA_CLASS_DATA-STEUERKZ, " | |||
| lv_e_vsteuerkz | TYPE CHA_CLASS_DATA-VSTEUERKZ, " | |||
| lv_i_steuerkz_string | TYPE CHA_CLASS_DATA-STEUERKZ, " SPACE | |||
| lv_i_find_cha_vsteuerkz | TYPE CHAR1. " SPACE |
|   CALL FUNCTION 'TQ27_READ' "NOTRANSL: Nachlesen TQ27-Steuerkennzeichen |
| EXPORTING | ||
| KZEINSTELL | = lv_kzeinstell | |
| VSTEU | = lv_vsteu | |
| I_STEUERKZ_STRING | = lv_i_steuerkz_string | |
| I_FIND_CHA_VSTEUERKZ | = lv_i_find_cha_vsteuerkz | |
| IMPORTING | ||
| TQ27_EXP | = lv_tq27_exp | |
| E_STEUERKZ_STRING | = lv_e_steuerkz_string | |
| E_VSTEUERKZ | = lv_e_vsteuerkz | |
| EXCEPTIONS | ||
| NO_ENTRY = 1 | ||
| . " TQ27_READ | ||
ABAP code using 7.40 inline data declarations to call FM TQ27_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 KZEINSTELL FROM TQ27 INTO @DATA(ld_kzeinstell). | ||||
| DATA(ld_kzeinstell) | = ' '. | |||
| "SELECT single STEUERKZ FROM TQ27 INTO @DATA(ld_vsteu). | ||||
| "SELECT single STEUERKZ FROM CHA_CLASS_DATA INTO @DATA(ld_e_steuerkz_string). | ||||
| "SELECT single VSTEUERKZ FROM CHA_CLASS_DATA INTO @DATA(ld_e_vsteuerkz). | ||||
| "SELECT single STEUERKZ FROM CHA_CLASS_DATA INTO @DATA(ld_i_steuerkz_string). | ||||
| DATA(ld_i_steuerkz_string) | = ' '. | |||
| DATA(ld_i_find_cha_vsteuerkz) | = ' '. | |||
Search for further information about these or an SAP related objects