SAP QEEA_GETNEXT_OPERATION Function Module for NOTRANSL: Ermittlung des nächsten bzw. vorherigen Prüfvorgangs









QEEA_GETNEXT_OPERATION is a standard qeea getnext 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: Ermittlung des nächsten bzw. vorherigen Prüfvorgangs 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 getnext operation FM, simply by entering the name QEEA_GETNEXT_OPERATION into the relevant SAP transaction such as SE37 or SE38.

Function Group: QEEA
Program Name: SAPLQEEA
Main Program: SAPLQEEA
Appliation area: Q
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function QEEA_GETNEXT_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_GETNEXT_OPERATION'"NOTRANSL: Ermittlung des nächsten bzw. vorherigen Prüfvorgangs
EXPORTING
AUFPL = "Task list no. of operations in the order
* I_PLNFL = ' ' "
I_PLNTY = "Task list type
* I_PRPLATZ = ' ' "Work center
* I_PRPLATZWRK = ' ' "Work center plant
* I_VORNR = ' ' "
* KZ_R2 = ' ' "Indicator, inspection lot copied from R/2
LOSNUMMER = "Inspection lot number
* I_NAVIGATION = '+' "

IMPORTING
PLNFL = "Number of the plan sequence
PLNKN = "Number of the planned node
PRPLATZ = "Work center
PRPLATZTXT = "Short text for the work center
PRPLATZWRK = "Work center plant
QAPO_WA = "Operations work area
VORKTXT = "Short text for operation
VORNR = "Document number

EXCEPTIONS
NO_DATA_FOUND = 1
.



IMPORTING Parameters details for QEEA_GETNEXT_OPERATION

AUFPL - Task list no. of operations in the order

Data type: QALS-AUFPL
Optional: No
Call by Reference: No ( called with pass by value option)

I_PLNFL -

Data type: QAPO-PLNFL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PLNTY - Task list type

Data type: QALS-PLNTY
Optional: No
Call by Reference: No ( called with pass by value option)

I_PRPLATZ - Work center

Data type: QAPO-PRPLATZ
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PRPLATZWRK - Work center plant

Data type: QAPO-PRPLATZWRK
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VORNR -

Data type: QAPO-VORNR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

KZ_R2 - Indicator, inspection lot copied from R/2

Data type: QALS-STAT27
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

LOSNUMMER - Inspection lot number

Data type: QALS-PRUEFLOS
Optional: No
Call by Reference: No ( called with pass by value option)

I_NAVIGATION -

Data type:
Default: '+'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for QEEA_GETNEXT_OPERATION

PLNFL - Number of the plan sequence

Data type: QAPO-PLNFL
Optional: No
Call by Reference: No ( called with pass by value option)

PLNKN - Number of the planned node

Data type: QAPO-VORGLFNR
Optional: No
Call by Reference: No ( called with pass by value option)

PRPLATZ - Work center

Data type: QAPO-PRPLATZ
Optional: No
Call by Reference: No ( called with pass by value option)

PRPLATZTXT - Short text for the work center

Data type: QAPO-PRPLATZTXT
Optional: No
Call by Reference: No ( called with pass by value option)

PRPLATZWRK - Work center plant

Data type: QAPO-PRPLATZWRK
Optional: No
Call by Reference: No ( called with pass by value option)

QAPO_WA - Operations work area

Data type: QAPO
Optional: No
Call by Reference: No ( called with pass by value option)

VORKTXT - Short text for operation

Data type: QAPO-VORKTXT
Optional: No
Call by Reference: No ( called with pass by value option)

VORNR - Document number

Data type: QAPO-VORNR
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_DATA_FOUND - No next operation found for the inspection lot

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for QEEA_GETNEXT_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_aufpl  TYPE QALS-AUFPL, "   
lv_plnfl  TYPE QAPO-PLNFL, "   
lv_no_data_found  TYPE QAPO, "   
lv_plnkn  TYPE QAPO-VORGLFNR, "   
lv_i_plnfl  TYPE QAPO-PLNFL, "   SPACE
lv_i_plnty  TYPE QALS-PLNTY, "   
lv_prplatz  TYPE QAPO-PRPLATZ, "   
lv_i_prplatz  TYPE QAPO-PRPLATZ, "   SPACE
lv_prplatztxt  TYPE QAPO-PRPLATZTXT, "   
lv_prplatzwrk  TYPE QAPO-PRPLATZWRK, "   
lv_i_prplatzwrk  TYPE QAPO-PRPLATZWRK, "   SPACE
lv_i_vornr  TYPE QAPO-VORNR, "   SPACE
lv_qapo_wa  TYPE QAPO, "   
lv_kz_r2  TYPE QALS-STAT27, "   SPACE
lv_vorktxt  TYPE QAPO-VORKTXT, "   
lv_vornr  TYPE QAPO-VORNR, "   
lv_losnummer  TYPE QALS-PRUEFLOS, "   
lv_i_navigation  TYPE QALS. "   '+'

  CALL FUNCTION 'QEEA_GETNEXT_OPERATION'  "NOTRANSL: Ermittlung des nächsten bzw. vorherigen Prüfvorgangs
    EXPORTING
         AUFPL = lv_aufpl
         I_PLNFL = lv_i_plnfl
         I_PLNTY = lv_i_plnty
         I_PRPLATZ = lv_i_prplatz
         I_PRPLATZWRK = lv_i_prplatzwrk
         I_VORNR = lv_i_vornr
         KZ_R2 = lv_kz_r2
         LOSNUMMER = lv_losnummer
         I_NAVIGATION = lv_i_navigation
    IMPORTING
         PLNFL = lv_plnfl
         PLNKN = lv_plnkn
         PRPLATZ = lv_prplatz
         PRPLATZTXT = lv_prplatztxt
         PRPLATZWRK = lv_prplatzwrk
         QAPO_WA = lv_qapo_wa
         VORKTXT = lv_vorktxt
         VORNR = lv_vornr
    EXCEPTIONS
        NO_DATA_FOUND = 1
. " QEEA_GETNEXT_OPERATION




ABAP code using 7.40 inline data declarations to call FM QEEA_GETNEXT_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 AUFPL FROM QALS INTO @DATA(ld_aufpl).
 
"SELECT single PLNFL FROM QAPO INTO @DATA(ld_plnfl).
 
 
"SELECT single VORGLFNR FROM QAPO INTO @DATA(ld_plnkn).
 
"SELECT single PLNFL FROM QAPO INTO @DATA(ld_i_plnfl).
DATA(ld_i_plnfl) = ' '.
 
"SELECT single PLNTY FROM QALS INTO @DATA(ld_i_plnty).
 
"SELECT single PRPLATZ FROM QAPO INTO @DATA(ld_prplatz).
 
"SELECT single PRPLATZ FROM QAPO INTO @DATA(ld_i_prplatz).
DATA(ld_i_prplatz) = ' '.
 
"SELECT single PRPLATZTXT FROM QAPO INTO @DATA(ld_prplatztxt).
 
"SELECT single PRPLATZWRK FROM QAPO INTO @DATA(ld_prplatzwrk).
 
"SELECT single PRPLATZWRK FROM QAPO INTO @DATA(ld_i_prplatzwrk).
DATA(ld_i_prplatzwrk) = ' '.
 
"SELECT single VORNR FROM QAPO INTO @DATA(ld_i_vornr).
DATA(ld_i_vornr) = ' '.
 
 
"SELECT single STAT27 FROM QALS INTO @DATA(ld_kz_r2).
DATA(ld_kz_r2) = ' '.
 
"SELECT single VORKTXT FROM QAPO INTO @DATA(ld_vorktxt).
 
"SELECT single VORNR FROM QAPO INTO @DATA(ld_vornr).
 
"SELECT single PRUEFLOS FROM QALS INTO @DATA(ld_losnummer).
 
DATA(ld_i_navigation) = '+'.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!