SAP Function SMB_UIE_QM_TOP10VENDORS - Top 10 vendors

Parameter Reference Type Length Default Optional Text
IT_MONTHS SMB_UIE_MONTHS_TT h 6 months list for past 6 months

Parameter Reference Type Length Text
ET_VENDORS SMB_UIE_VENDORS_TT h 54 vendors list

Functionality
The function module displays the top 10 vendors based on the totalquantity for each vendor from Vendor statics table. The function modulefirst calculates the vendor number and its corresponding sum of totalquantity and it is sorted and only the top 10 entries are picked intoexport table. It takes the list of past six months as an inputparameter. The FM fetches only those entries from vendor Statics tablewhich are for the past six months

Example
The input parameter is import table which enlist the past six monthinformation. The output parameter shows the list of top 10 vendoraccount number, cumulative quantity of summarized inspection lots andthe description of the vendor.
Input Parameter
Month
08.2010
09.2010
Output Parameters
Vendor Account Number Cumulative Quantity ofSummarized Inspection Lots Description
30001 635.000Vendor domestic 00
30000 310.000Vendor domestic00

Notes
This FM usually gets the input from function module from which it hasbeen called. User does not specify the input.

Further information
The SMB_UIE_MONTHS_LT, SMB_UIE_VENDORS_LT structure with their tabletypes SMB_UIE_MONTHS_TT, SMB_UIE_VENDORS_TT are used for import tableand export table respectively.