The Function Module QPRL_LOT_CREATE_FOR_SAMPLE (Baustein zur Generierung eines Prüfloses zur Physischen Probe) is a standard Function Module in SAP ERP and is part of the function group QPRL within the package QPR.
Function Module | QPRL_LOT_CREATE_FOR_SAMPLE |
Short Text | Baustein zur Generierung eines Prüfloses zur Physischen Probe |
Function Group | QPRL |
Package | QPR |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
I_KZ_LOT_POSTING | LIKE | QM00-QKZ | 'X' | KZ ob Prüflos verbucht werden soll (Default 'X') |
I_QPRS | LIKE | QPRS | Physischen Probe Stammsatz |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
E_QALS | LIKE | QALS | Prüflos Workarea | |
E_SUBRC | LIKE | SY-SUBRC | Subrc aus QPL1_INSPECTION_LOT_CREATE |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
ERROR_LOT_CREATION | Fehler bei der Prüfloserzeugung |
INSP_TYPE_NOT_ACTIVE | Prüfart zur Herkunft nicht aktiv |
MAT_UNIT_CONVERSION_ERROR | Fehler bei Umrechn. in Basism.einh. des Material |
NO_ENTRY_FOUND | Phys. Probe oder Probenahmesatz nicht vorhanden |
NO_MATNR | Material zur Probe nicht bekannt |
NO_QUANTITY | Menge zur Probe nicht bekannt |
NO_TQ32_ENTRY | Kein Eintrag zur Herkunft 15 in TQ32 |
OPEN_LOT | Es existiert noch ein offenes Prüflos zur Probe |
SAMPLE_NOT_RELEASED | Physische Probe hat nicht den Status 'FREI' |