SAP EXIT_SAPLQPL1_001 Function Module for Predefine Selection Parameters for Task List Selection from Inspection Lot
EXIT_SAPLQPL1_001 is a standard exit saplqpl1 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Predefine Selection Parameters for Task List Selection from Inspection Lot 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 exit saplqpl1 001 FM, simply by entering the name EXIT_SAPLQPL1_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XQPL
Program Name: SAPLXQPL
Main Program:
Appliation area: Q
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EXIT_SAPLQPL1_001 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 'EXIT_SAPLQPL1_001'"Predefine Selection Parameters for Task List Selection from Inspection Lot.
EXPORTING
I_QALS = "Current Inspection Lot Record
I_HERSTELLER = "Manufacturer
I_KUNDE = "Customer
I_MATERIAL = "Material
I_REVLV = "Revision Level
I_STICHTAG = "Key Date
I_VERWENDUNG = "Task List Usage
I_WERKS = "Plant
I_LIEFERANT = "
IMPORTING
E_HERSTELLER = "Manufacturer
E_STICHTAG = "Key Date
E_LIEFERANT = "Vendor
E_KUNDE = "Customer
E_MATERIAL = "Material
E_SUCHFELD = "Search Field
E_VERWENDUNG = "Task List Usage
E_ACTIVE = "Copy Values to Task List Selection (if 'X')
E_REVLV = "Revision Level
E_WERKS = "Plant
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.QPBU_GOODSRECEIPT_LOT_POSTING
QPL1_ADD_COSTING
QPL1_CALCULATE_LOT_TIME
QPL1_CALL_BADI_DS_RESTR Calls BAdI BADI_DIGITAL_SIGNATURE_RESTR
QPL1_CANCEL_MATERIAL_DOC_ITEM
QPL1_CHECK_CREATE_POSITION
QPL1_CHECK_LOT_COLLECTION
QPL1_GET_MEMORYTAB
QPL1_GET_QALS_QAMVTAB_QASVTAB
QPL1_GET_QALS_WA
QPL1_INITIALIZE
QPL1_INIT_QSS
QPL1_INSPECTION_LOTS_POSTING
QPL1_INSPECTION_LOT_CANCEL
QPL1_INSPECTION_LOT_CREATE Automatic creation of an inspection lot
QPL1_INSPECTION_LOT_PLAN_SAMPL
QPL1_INSPECTION_STOCK_READ NOTRANSL: Qualitätsbestände lesen
QPL1_INSPTYPE_FIND
QPL1_INTERNAL_CREATE_LOT_1
QPL1_INTERNAL_CREATE_LOT_2
QPL1_INTERNAL_CREATE_LOT_3
QPL1_LOTS_FOR_STOCK
QPL1_LOT_CANCEL
QPL1_LOT_GET
QPL1_LOT_GET_BY_TABIX_NO
QPL1_LOT_GET_FOR_RMA
QPL1_LOT_GET_FOR_RMA2
QPL1_LOT_ORDER_DELETE
QPL1_LOT_ORDER_DELETE_CHK
QPL1_MATERIAL_DOCUMENT_CANCEL
QPL1_MATERIAL_DOC_CANCEL_MEM
QPL1_RESET_CURRENT_LOTS
QPL1_STATELESS_ACTIVATE Validate and write data to active database
QPL1_UPDATE_MEMORY
IMPORTING Parameters details for EXIT_SAPLQPL1_001
I_QALS - Current Inspection Lot Record
Data type: QALSOptional: No
Call by Reference: No ( called with pass by value option)
I_HERSTELLER - Manufacturer
Data type: RMQEA-HERSTELLEROptional: No
Call by Reference: No ( called with pass by value option)
I_KUNDE - Customer
Data type: RMQEA-KUNNROptional: No
Call by Reference: No ( called with pass by value option)
I_MATERIAL - Material
Data type: RMQEA-MATNROptional: No
Call by Reference: No ( called with pass by value option)
I_REVLV - Revision Level
Data type: RMQEA-REVLVOptional: No
Call by Reference: No ( called with pass by value option)
I_STICHTAG - Key Date
Data type: RMQEA-STICHTAGOptional: No
Call by Reference: No ( called with pass by value option)
I_VERWENDUNG - Task List Usage
Data type: RMQEA-PPLVERWOptional: No
Call by Reference: No ( called with pass by value option)
I_WERKS - Plant
Data type: RMQEA-WERKSOptional: No
Call by Reference: No ( called with pass by value option)
I_LIEFERANT -
Data type: RMQEA-LIFNROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXIT_SAPLQPL1_001
E_HERSTELLER - Manufacturer
Data type: RMQEA-HERSTELLEROptional: No
Call by Reference: No ( called with pass by value option)
E_STICHTAG - Key Date
Data type: RMQEA-STICHTAGOptional: No
Call by Reference: No ( called with pass by value option)
E_LIEFERANT - Vendor
Data type: RMQEA-LIFNROptional: No
Call by Reference: No ( called with pass by value option)
E_KUNDE - Customer
Data type: RMQEA-KUNNROptional: No
Call by Reference: No ( called with pass by value option)
E_MATERIAL - Material
Data type: RMQEA-MATNROptional: No
Call by Reference: No ( called with pass by value option)
E_SUCHFELD - Search Field
Data type: RMQEA-SUCHFELDOptional: No
Call by Reference: No ( called with pass by value option)
E_VERWENDUNG - Task List Usage
Data type: RMQEA-PPLVERWOptional: No
Call by Reference: No ( called with pass by value option)
E_ACTIVE - Copy Values to Task List Selection (if 'X')
Data type: QM00-QKZOptional: No
Call by Reference: No ( called with pass by value option)
E_REVLV - Revision Level
Data type: RMQEA-REVLVOptional: No
Call by Reference: No ( called with pass by value option)
E_WERKS - Plant
Data type: RMQEA-WERKSOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLQPL1_001 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_qals | TYPE QALS, " | |||
lv_e_hersteller | TYPE RMQEA-HERSTELLER, " | |||
lv_e_stichtag | TYPE RMQEA-STICHTAG, " | |||
lv_e_lieferant | TYPE RMQEA-LIFNR, " | |||
lv_i_hersteller | TYPE RMQEA-HERSTELLER, " | |||
lv_e_kunde | TYPE RMQEA-KUNNR, " | |||
lv_i_kunde | TYPE RMQEA-KUNNR, " | |||
lv_e_material | TYPE RMQEA-MATNR, " | |||
lv_i_material | TYPE RMQEA-MATNR, " | |||
lv_i_revlv | TYPE RMQEA-REVLV, " | |||
lv_e_suchfeld | TYPE RMQEA-SUCHFELD, " | |||
lv_i_stichtag | TYPE RMQEA-STICHTAG, " | |||
lv_e_verwendung | TYPE RMQEA-PPLVERW, " | |||
lv_e_active | TYPE QM00-QKZ, " | |||
lv_i_verwendung | TYPE RMQEA-PPLVERW, " | |||
lv_e_revlv | TYPE RMQEA-REVLV, " | |||
lv_i_werks | TYPE RMQEA-WERKS, " | |||
lv_e_werks | TYPE RMQEA-WERKS, " | |||
lv_i_lieferant | TYPE RMQEA-LIFNR. " |
  CALL FUNCTION 'EXIT_SAPLQPL1_001' "Predefine Selection Parameters for Task List Selection from Inspection Lot |
EXPORTING | ||
I_QALS | = lv_i_qals | |
I_HERSTELLER | = lv_i_hersteller | |
I_KUNDE | = lv_i_kunde | |
I_MATERIAL | = lv_i_material | |
I_REVLV | = lv_i_revlv | |
I_STICHTAG | = lv_i_stichtag | |
I_VERWENDUNG | = lv_i_verwendung | |
I_WERKS | = lv_i_werks | |
I_LIEFERANT | = lv_i_lieferant | |
IMPORTING | ||
E_HERSTELLER | = lv_e_hersteller | |
E_STICHTAG | = lv_e_stichtag | |
E_LIEFERANT | = lv_e_lieferant | |
E_KUNDE | = lv_e_kunde | |
E_MATERIAL | = lv_e_material | |
E_SUCHFELD | = lv_e_suchfeld | |
E_VERWENDUNG | = lv_e_verwendung | |
E_ACTIVE | = lv_e_active | |
E_REVLV | = lv_e_revlv | |
E_WERKS | = lv_e_werks | |
. " EXIT_SAPLQPL1_001 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLQPL1_001
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 HERSTELLER FROM RMQEA INTO @DATA(ld_e_hersteller). | ||||
"SELECT single STICHTAG FROM RMQEA INTO @DATA(ld_e_stichtag). | ||||
"SELECT single LIFNR FROM RMQEA INTO @DATA(ld_e_lieferant). | ||||
"SELECT single HERSTELLER FROM RMQEA INTO @DATA(ld_i_hersteller). | ||||
"SELECT single KUNNR FROM RMQEA INTO @DATA(ld_e_kunde). | ||||
"SELECT single KUNNR FROM RMQEA INTO @DATA(ld_i_kunde). | ||||
"SELECT single MATNR FROM RMQEA INTO @DATA(ld_e_material). | ||||
"SELECT single MATNR FROM RMQEA INTO @DATA(ld_i_material). | ||||
"SELECT single REVLV FROM RMQEA INTO @DATA(ld_i_revlv). | ||||
"SELECT single SUCHFELD FROM RMQEA INTO @DATA(ld_e_suchfeld). | ||||
"SELECT single STICHTAG FROM RMQEA INTO @DATA(ld_i_stichtag). | ||||
"SELECT single PPLVERW FROM RMQEA INTO @DATA(ld_e_verwendung). | ||||
"SELECT single QKZ FROM QM00 INTO @DATA(ld_e_active). | ||||
"SELECT single PPLVERW FROM RMQEA INTO @DATA(ld_i_verwendung). | ||||
"SELECT single REVLV FROM RMQEA INTO @DATA(ld_e_revlv). | ||||
"SELECT single WERKS FROM RMQEA INTO @DATA(ld_i_werks). | ||||
"SELECT single WERKS FROM RMQEA INTO @DATA(ld_e_werks). | ||||
"SELECT single LIFNR FROM RMQEA INTO @DATA(ld_i_lieferant). | ||||
Search for further information about these or an SAP related objects