SAP QPLEXT_MATDOC_PROCESS Function Module for Transfer Material Document to Inspection Lot - External Inspection
QPLEXT_MATDOC_PROCESS is a standard qplext matdoc process SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Transfer Material Document to Inspection Lot - External Inspection 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 qplext matdoc process FM, simply by entering the name QPLEXT_MATDOC_PROCESS into the relevant SAP transaction such as SE37 or SE38.
Function Group: QPLEXT
Program Name: SAPLQPLEXT
Main Program: SAPLQPLEXT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function QPLEXT_MATDOC_PROCESS 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 'QPLEXT_MATDOC_PROCESS'"Transfer Material Document to Inspection Lot - External Inspection.
EXPORTING
IV_MBLNR = "Number of Material Document
* IV_MJAHR = "Material Document Year
* IT_ITEM_DATA_SPL = "Tabletype for /SPE/BAPIIBDLVITEMCONF
* IT_VBFA = "SD Document Flow
* IT_VL_10_LIPS = "LE Delivery Item
* IT_SERVICEPART_DATA = "SPE: BAPI Communication Structure: Service Parts Data
* IT_GM_ITEM_CREATE = "BAPI Table Type: Create Material Document Item
CHANGING
CT_RETURN = "Return parameter table
IMPORTING Parameters details for QPLEXT_MATDOC_PROCESS
IV_MBLNR - Number of Material Document
Data type: MBLNROptional: No
Call by Reference: Yes
IV_MJAHR - Material Document Year
Data type: MJAHROptional: Yes
Call by Reference: Yes
IT_ITEM_DATA_SPL - Tabletype for /SPE/BAPIIBDLVITEMCONF
Data type: /SPE/BAPIIBDLVITEMCONF_TOptional: Yes
Call by Reference: Yes
IT_VBFA - SD Document Flow
Data type: SHP_VL10_VBFA_TOptional: Yes
Call by Reference: Yes
IT_VL_10_LIPS - LE Delivery Item
Data type: SHP_VL10_LIPS_TOptional: Yes
Call by Reference: Yes
IT_SERVICEPART_DATA - SPE: BAPI Communication Structure: Service Parts Data
Data type: /SPE/TT_BAPI2017_SERVPARTDATAOptional: Yes
Call by Reference: Yes
IT_GM_ITEM_CREATE - BAPI Table Type: Create Material Document Item
Data type: BAPI2017_GM_ITEM_CREATE_TOptional: Yes
Call by Reference: Yes
CHANGING Parameters details for QPLEXT_MATDOC_PROCESS
CT_RETURN - Return parameter table
Data type: BAPIRET2_TOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for QPLEXT_MATDOC_PROCESS 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_iv_mblnr | TYPE MBLNR, " | |||
| lv_ct_return | TYPE BAPIRET2_T, " | |||
| lv_iv_mjahr | TYPE MJAHR, " | |||
| lv_it_item_data_spl | TYPE /SPE/BAPIIBDLVITEMCONF_T, " | |||
| lv_it_vbfa | TYPE SHP_VL10_VBFA_T, " | |||
| lv_it_vl_10_lips | TYPE SHP_VL10_LIPS_T, " | |||
| lv_it_servicepart_data | TYPE /SPE/TT_BAPI2017_SERVPARTDATA, " | |||
| lv_it_gm_item_create | TYPE BAPI2017_GM_ITEM_CREATE_T. " |
|   CALL FUNCTION 'QPLEXT_MATDOC_PROCESS' "Transfer Material Document to Inspection Lot - External Inspection |
| EXPORTING | ||
| IV_MBLNR | = lv_iv_mblnr | |
| IV_MJAHR | = lv_iv_mjahr | |
| IT_ITEM_DATA_SPL | = lv_it_item_data_spl | |
| IT_VBFA | = lv_it_vbfa | |
| IT_VL_10_LIPS | = lv_it_vl_10_lips | |
| IT_SERVICEPART_DATA | = lv_it_servicepart_data | |
| IT_GM_ITEM_CREATE | = lv_it_gm_item_create | |
| CHANGING | ||
| CT_RETURN | = lv_ct_return | |
| . " QPLEXT_MATDOC_PROCESS | ||
ABAP code using 7.40 inline data declarations to call FM QPLEXT_MATDOC_PROCESS
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.Search for further information about these or an SAP related objects