SAP QEEA_READ_SINGLE_OPERATION Function Module for NOTRANSL: Einlesen eines einzelnen Prüfvorgangs mit Vorgabe des Primärschl
QEEA_READ_SINGLE_OPERATION is a standard qeea read single operation 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: Einlesen eines einzelnen Prüfvorgangs mit Vorgabe des Primärschl 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 qeea read single operation FM, simply by entering the name QEEA_READ_SINGLE_OPERATION into the relevant SAP transaction such as SE37 or SE38.
Function Group: QEEA
Program Name: SAPLQEEA
Main Program: SAPLQEEA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function QEEA_READ_SINGLE_OPERATION 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 'QEEA_READ_SINGLE_OPERATION'"NOTRANSL: Einlesen eines einzelnen Prüfvorgangs mit Vorgabe des Primärschl.
EXPORTING
* I_ARBPLATZ_LESEN = 'X' "Read flag, work center
I_AUFPL = "
* I_KZ_R2 = ' ' "
* I_MANDT = SY-MANDT "Client
I_PLNKN = "
* I_PLNTY = "Task list type
I_PRUEFLOS = "Inspection lot number
IMPORTING
E_QAPO_WA = "Work area of the inspection operation
EXCEPTIONS
NOT_FOUND = 1
IMPORTING Parameters details for QEEA_READ_SINGLE_OPERATION
I_ARBPLATZ_LESEN - Read flag, work center
Data type: QALS-STAT27Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_AUFPL -
Data type: QALS-AUFPLOptional: No
Call by Reference: No ( called with pass by value option)
I_KZ_R2 -
Data type: QALS-STAT27Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MANDT - Client
Data type: SY-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PLNKN -
Data type: QAPO-VORGLFNROptional: No
Call by Reference: No ( called with pass by value option)
I_PLNTY - Task list type
Data type: QALS-PLNTYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PRUEFLOS - Inspection lot number
Data type: QALS-PRUEFLOSOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for QEEA_READ_SINGLE_OPERATION
E_QAPO_WA - Work area of the inspection operation
Data type: QAPOOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND - Inspection operation is not available
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for QEEA_READ_SINGLE_OPERATION 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_e_qapo_wa | TYPE QAPO, " | |||
| lv_not_found | TYPE QAPO, " | |||
| lv_i_arbplatz_lesen | TYPE QALS-STAT27, " 'X' | |||
| lv_i_aufpl | TYPE QALS-AUFPL, " | |||
| lv_i_kz_r2 | TYPE QALS-STAT27, " ' ' | |||
| lv_i_mandt | TYPE SY-MANDT, " SY-MANDT | |||
| lv_i_plnkn | TYPE QAPO-VORGLFNR, " | |||
| lv_i_plnty | TYPE QALS-PLNTY, " | |||
| lv_i_prueflos | TYPE QALS-PRUEFLOS. " |
|   CALL FUNCTION 'QEEA_READ_SINGLE_OPERATION' "NOTRANSL: Einlesen eines einzelnen Prüfvorgangs mit Vorgabe des Primärschl |
| EXPORTING | ||
| I_ARBPLATZ_LESEN | = lv_i_arbplatz_lesen | |
| I_AUFPL | = lv_i_aufpl | |
| I_KZ_R2 | = lv_i_kz_r2 | |
| I_MANDT | = lv_i_mandt | |
| I_PLNKN | = lv_i_plnkn | |
| I_PLNTY | = lv_i_plnty | |
| I_PRUEFLOS | = lv_i_prueflos | |
| IMPORTING | ||
| E_QAPO_WA | = lv_e_qapo_wa | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| . " QEEA_READ_SINGLE_OPERATION | ||
ABAP code using 7.40 inline data declarations to call FM QEEA_READ_SINGLE_OPERATION
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 STAT27 FROM QALS INTO @DATA(ld_i_arbplatz_lesen). | ||||
| DATA(ld_i_arbplatz_lesen) | = 'X'. | |||
| "SELECT single AUFPL FROM QALS INTO @DATA(ld_i_aufpl). | ||||
| "SELECT single STAT27 FROM QALS INTO @DATA(ld_i_kz_r2). | ||||
| DATA(ld_i_kz_r2) | = ' '. | |||
| "SELECT single MANDT FROM SY INTO @DATA(ld_i_mandt). | ||||
| DATA(ld_i_mandt) | = SY-MANDT. | |||
| "SELECT single VORGLFNR FROM QAPO INTO @DATA(ld_i_plnkn). | ||||
| "SELECT single PLNTY FROM QALS INTO @DATA(ld_i_plnty). | ||||
| "SELECT single PRUEFLOS FROM QALS INTO @DATA(ld_i_prueflos). | ||||
Search for further information about these or an SAP related objects