SAP Function SMB_UIE_QM_QM_HISTORY_OVRVIEW - QM History Overview

Parameter Reference Type Length Text
ES_TOTAL_QM_HISTORY SMB_UIE_QM_HISTORY_LT u 97 QM History Overview
ET_MATERIAL SMB_UIE_QM_HISTORY_TT h 97 QM History Overview
ET_MATR_AND_VEND SMB_UIE_QM_HISTORY_TT h 97 QM History Overview
ET_VENDOR SMB_UIE_QM_HISTORY_TT h 97 QM History Overview

Functionality
This function module returns the Quantities according to QM decisionincluding for material/ vendor combination, vendor/ sum of allmaterials, material/ sum of all vendors and total sum of materials andvendors according to the following criteria:
o,,Unrestricted Use (SMGFREIBE)
o,,Blocked Stock (SMGSPERR)
o,,Scrapped quantity (SMGSCHRTT)
o,,Returned quantity (LFIMG) from return order item
With the selection criteria,
o,,Top 20 Materials according to total quantity sum for each material
o,,Top 10 Vendors according to total quantity sum for each vendor
The quantities selected from delivery item data are only of thedelivery type 'RLL' (Return delivery).

Example
INPUT:,,
No Input parameters
OUTPUT:
ET_MATERIAL
Material Unristricted Blocked ScrappedQty_deliverd
R120 1.895,000 363,000 9,000 302
,000
ET_VENDOR
Vendor Vendor_ Description,, UnrestrictedBlocked Scrapped Qty delvrd
300000 Vendor domestic00 952,500 123
,000 6300 200,000
300001 Vendor domestic01 942,500 240
,000 2700 102,000
ET_MATR_AND_VEND
Material Vendor Vendor_ Description,,Unrestricted Blocked Scrapped Qty delvrd
R120 300000 Vendor domestic00 952
,500 123,000 6300 200,000
R120 300001 Vendor domestic01 942
,500 240,000 2700 102,000
ES_TOTAL_QM_HISTORY
Unrestricted Blocked Scrapped Qty delvrd
1.895,000 363,000 9,000,, 302,000

Further information
Input Parameters:
No input parameter.
Output Parameters:
ET_MATERIAL (Quantities aggregated based only the materials ignoring thevendors)
ET_VENDOR (Quantities aggregated based only the Vendors ignoring theMaterials)
ET_MATR_AND_VEND (Quantities aggregated for different combination ofvendors and materials)
ES_TOTAL_QM_HISTORY (Total Quantity for all vendors and materials)