Menu

SAP Function Module QEEA_SAMPLES_CREATE

Create a predefined number of multiple sample records in a table

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

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.

Technical Information

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

Importing Parameters

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

Exporting Parameters

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

Changing Parameters

This function module does not define any CHANGING parameters.

Table 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

Exceptions

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