The Function Module QEEA_SAMPLES_CREATE (Create a predefined number of multiple sample records in a table) is a standard Function Module in SAP ERP and is part of the function group QEEA within the package QE.
Function Module | QEEA_SAMPLES_CREATE |
Short Text | Create a predefined number of multiple sample records in a table |
Function Group | QEEA |
Package | QE |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
I_KZ_R2 | LIKE | QALS-STAT27 | ' ' | R/2 inspection lot characteristic |
I_STATUSV | LIKE | QASV-SATZSTATUS | '1' | Predefined status to be set for the sample |
I_WERK | LIKE | QALS-WERK | Plant | |
MERKNR | LIKE | QAMKR-MERKNR | ||
PRUEFLOS | LIKE | QALS-PRUEFLOS | Inspection lot number | |
SOLLSTPANZ | LIKE | QAMKR-SOLLSTPANZ | 1 | Predefined number of sample records |
SOLLSTPUMF | LIKE | QAMKR-SOLLSTPUMF | Inspection scope of the characteristic | |
STARTPROBE | LIKE | QASPR-PROBENR | Initial value of the samples | |
STARTPROBEN_FLAG | LIKE | QAEEA-DYNPROCALL | ' ' | Flag whether STARTPROBE is used for sample number assignment |
STEUERSCHLUESSEL | LIKE | TQ70-SCHLCODE | '0100' | Transaction control key |
VORGLFNR | LIKE | QAMKR-VORGLFNR | Internal document number | |
WINDOW_FLAG | LIKE | QAEEA-DYNPROCALL | ' ' | Flag whether sample number is called up in a window |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
LASTPROBE | LIKE | QASPR-PROBENR | Last sample number assigned |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
QASPTAB | LIKE | QASPR | ||
QASP_VORGTAB | LIKE | QAPSP | Sample table for the operation |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
FUNCTION_INTERRUPTED | Function canceled |
INTERNAL_ERROR_NO_BEWREGEL | No valuation rule is stored in QASV |
NO_QASV_ENTRY_FOUND | No zero record in the sample requirements table |
NO_QDFM_ENTRY_FOUND | No entry found in the valuation table |