SAP QREO_OPERATIONS_DELETE Function Module for









QREO_OPERATIONS_DELETE is a standard qreo operations delete 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 qreo operations delete FM, simply by entering the name QREO_OPERATIONS_DELETE into the relevant SAP transaction such as SE37 or SE38.

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



Function QREO_OPERATIONS_DELETE 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 'QREO_OPERATIONS_DELETE'"
EXPORTING
I_AUFPL = "
* I_MANDANT = SY-MANDT "Client
I_PRUEFLOS = "Inspection lot
* I_STAT27 = ' ' "
* I_STAT33 = "Multiple Specifications

EXCEPTIONS
X_LOT_INITIAL = 1 X_NO_RECORD_FOUND = 2
.



IMPORTING Parameters details for QREO_OPERATIONS_DELETE

I_AUFPL -

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

I_MANDANT - Client

Data type: QALS-MANDANT
Default: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PRUEFLOS - Inspection lot

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

I_STAT27 -

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

I_STAT33 - Multiple Specifications

Data type: QALS-STAT33
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

X_LOT_INITIAL - Lot number is initial

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

X_NO_RECORD_FOUND - No data record found

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

Copy and paste ABAP code example for QREO_OPERATIONS_DELETE 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_i_aufpl  TYPE QALS-AUFPL, "   
lv_x_lot_initial  TYPE QALS, "   
lv_i_mandant  TYPE QALS-MANDANT, "   SY-MANDT
lv_x_no_record_found  TYPE QALS, "   
lv_i_prueflos  TYPE QALS-PRUEFLOS, "   
lv_i_stat27  TYPE QALS-STAT27, "   SPACE
lv_i_stat33  TYPE QALS-STAT33. "   

  CALL FUNCTION 'QREO_OPERATIONS_DELETE'  "
    EXPORTING
         I_AUFPL = lv_i_aufpl
         I_MANDANT = lv_i_mandant
         I_PRUEFLOS = lv_i_prueflos
         I_STAT27 = lv_i_stat27
         I_STAT33 = lv_i_stat33
    EXCEPTIONS
        X_LOT_INITIAL = 1
        X_NO_RECORD_FOUND = 2
. " QREO_OPERATIONS_DELETE




ABAP code using 7.40 inline data declarations to call FM QREO_OPERATIONS_DELETE

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_i_aufpl).
 
 
"SELECT single MANDANT FROM QALS INTO @DATA(ld_i_mandant).
DATA(ld_i_mandant) = SY-MANDT.
 
 
"SELECT single PRUEFLOS FROM QALS INTO @DATA(ld_i_prueflos).
 
"SELECT single STAT27 FROM QALS INTO @DATA(ld_i_stat27).
DATA(ld_i_stat27) = ' '.
 
"SELECT single STAT33 FROM QALS INTO @DATA(ld_i_stat33).
 


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!