QM
Function module
Used the same way in S/4HANA
QPL1_INSPECTION_LOT_CREATE Create Inspection Lot
Internal QM function that creates an inspection lot from the lot data in QALS_IMP and the control data in RMQED_IMP. Custom programs use it to create manual or special lots when no standard trigger exists, but it is not a released BAPI. Check SUBRC and E_PRUEFLOS after the call and commit the work yourself.
- Function group
- QPL1
- Remote-enabled (RFC)
- No
- Type
- Function module
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| QALS_IMP | QALS | Inspection lot data (QALS) | Yes |
| RMQED_IMP | RMQED | Additional control data (RMQED) | Yes |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| E_PRUEFLOS | QALS-PRUEFLOS | Inspection lot number created |
| E_QALS | QALS | Inspection lot data (result) |
| E_KZSKIPLOT | QALS-INSMK | Stock type for inspection |
| E_SKIP_TO_STOCK | QALS-KZSKIPLOT | Skip lot indicator |
| SUBRC | SY-SUBRC | Return code |
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'QPL1_INSPECTION_LOT_CREATE'
EXPORTING
qals_imp = lv_qals_imp
rmqed_imp = lv_rmqed_imp
IMPORTING
e_prueflos = lv_e_prueflos
e_qals = lv_e_qals
e_kzskiplot = lv_e_kzskiplot
e_skip_to_stock = lv_e_skip_to_stock
subrc = lv_subrc.Related tables
Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.