SAP EXIT_SAPMQDQL_001 Function Module for Import Q-Level









EXIT_SAPMQDQL_001 is a standard exit sapmqdql 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 Import Q-Level 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 sapmqdql 001 FM, simply by entering the name EXIT_SAPMQDQL_001 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPMQDQL_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_SAPMQDQL_001'"Import Q-Level
EXPORTING
I_MATNR = "Material Number
I_LIFNR = "Vendor Number
* I_HERST = "Manufacturer
I_KUNNR = "Customer Number
I_WERKS = "Plant
I_PLNTY = "Task List Type
I_PLNNR = "Task List Number
I_PLNAL = "Alternative Task List
I_PRUEFART = "Inspection Type

IMPORTING
E_MATNR = "Material Number
E_LIFNR = "Vendor Number
E_HERST = "Manufacturer
E_KUNNR = "Customer Number
E_WERKS = "Plant
E_PLNTY = "Task List Type
E_PLNNR = "Task List Number
E_PLNAL = "Alternative Task List
E_PRUEFART = "Inspection Type
.



IMPORTING Parameters details for EXIT_SAPMQDQL_001

I_MATNR - Material Number

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

I_LIFNR - Vendor Number

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

I_HERST - Manufacturer

Data type: QDQL-HERSTELLER
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KUNNR - Customer Number

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

I_WERKS - Plant

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

I_PLNTY - Task List Type

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

I_PLNNR - Task List Number

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

I_PLNAL - Alternative Task List

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

I_PRUEFART - Inspection Type

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

EXPORTING Parameters details for EXIT_SAPMQDQL_001

E_MATNR - Material Number

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

E_LIFNR - Vendor Number

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

E_HERST - Manufacturer

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

E_KUNNR - Customer Number

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

E_WERKS - Plant

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

E_PLNTY - Task List Type

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

E_PLNNR - Task List Number

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

E_PLNAL - Alternative Task List

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

E_PRUEFART - Inspection Type

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

Copy and paste ABAP code example for EXIT_SAPMQDQL_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_e_matnr  TYPE QDQL-MATNR, "   
lv_i_matnr  TYPE QDQL-MATNR, "   
lv_e_lifnr  TYPE QDQL-LIFNR, "   
lv_i_lifnr  TYPE QDQL-LIFNR, "   
lv_e_herst  TYPE QDQL-HERSTELLER, "   
lv_i_herst  TYPE QDQL-HERSTELLER, "   
lv_e_kunnr  TYPE QDQL-KUNNR, "   
lv_i_kunnr  TYPE QDQL-KUNNR, "   
lv_e_werks  TYPE QDQL-WERKS, "   
lv_i_werks  TYPE QDQL-WERKS, "   
lv_e_plnty  TYPE QDQL-PLNTY, "   
lv_i_plnty  TYPE QDQL-PLNTY, "   
lv_e_plnnr  TYPE QDQL-PLNNR, "   
lv_i_plnnr  TYPE QDQL-PLNNR, "   
lv_e_plnal  TYPE QDQL-PLNAL, "   
lv_i_plnal  TYPE QDQL-PLNAL, "   
lv_e_pruefart  TYPE QDQL-PRUEFART, "   
lv_i_pruefart  TYPE QDQL-PRUEFART. "   

  CALL FUNCTION 'EXIT_SAPMQDQL_001'  "Import Q-Level
    EXPORTING
         I_MATNR = lv_i_matnr
         I_LIFNR = lv_i_lifnr
         I_HERST = lv_i_herst
         I_KUNNR = lv_i_kunnr
         I_WERKS = lv_i_werks
         I_PLNTY = lv_i_plnty
         I_PLNNR = lv_i_plnnr
         I_PLNAL = lv_i_plnal
         I_PRUEFART = lv_i_pruefart
    IMPORTING
         E_MATNR = lv_e_matnr
         E_LIFNR = lv_e_lifnr
         E_HERST = lv_e_herst
         E_KUNNR = lv_e_kunnr
         E_WERKS = lv_e_werks
         E_PLNTY = lv_e_plnty
         E_PLNNR = lv_e_plnnr
         E_PLNAL = lv_e_plnal
         E_PRUEFART = lv_e_pruefart
. " EXIT_SAPMQDQL_001




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPMQDQL_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 MATNR FROM QDQL INTO @DATA(ld_e_matnr).
 
"SELECT single MATNR FROM QDQL INTO @DATA(ld_i_matnr).
 
"SELECT single LIFNR FROM QDQL INTO @DATA(ld_e_lifnr).
 
"SELECT single LIFNR FROM QDQL INTO @DATA(ld_i_lifnr).
 
"SELECT single HERSTELLER FROM QDQL INTO @DATA(ld_e_herst).
 
"SELECT single HERSTELLER FROM QDQL INTO @DATA(ld_i_herst).
 
"SELECT single KUNNR FROM QDQL INTO @DATA(ld_e_kunnr).
 
"SELECT single KUNNR FROM QDQL INTO @DATA(ld_i_kunnr).
 
"SELECT single WERKS FROM QDQL INTO @DATA(ld_e_werks).
 
"SELECT single WERKS FROM QDQL INTO @DATA(ld_i_werks).
 
"SELECT single PLNTY FROM QDQL INTO @DATA(ld_e_plnty).
 
"SELECT single PLNTY FROM QDQL INTO @DATA(ld_i_plnty).
 
"SELECT single PLNNR FROM QDQL INTO @DATA(ld_e_plnnr).
 
"SELECT single PLNNR FROM QDQL INTO @DATA(ld_i_plnnr).
 
"SELECT single PLNAL FROM QDQL INTO @DATA(ld_e_plnal).
 
"SELECT single PLNAL FROM QDQL INTO @DATA(ld_i_plnal).
 
"SELECT single PRUEFART FROM QDQL INTO @DATA(ld_e_pruefart).
 
"SELECT single PRUEFART FROM QDQL INTO @DATA(ld_i_pruefart).
 


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!