SAP Function SMB_UIE_QM_DEFECT_HISTORY_VEND - Defect history Vendor

Parameter Reference Type Length Text
ET_DEFECT_HISTORY_VEND SMB_UIE_DEFECT_HISTORY_VEND_TT h 108 Defect History Vendor

Functionality
The function module returns the sum of Rejected Quantities for eachmaterial over all vendors and as sum for all materials for 6 months inpast. Only the top 20 materials should be taken for selection criteriawhich are order by Total quantity from Vendor Statics table whoseinspection type as 01 and version number in information structure shouldbe 000. It displays rejected quantity of the current and previous sixmonths of material.

Example
No Input Paramter
Output Parameters
Material number Current Previous 2nd previous 3rd Previous4th Previous 5th Previous 6th Previous
month month month month monthmonth month
rejected rejected rejected rejectedrejected rejected rejected
quantity quantity quantity quantityquanity quantity quantity
R120 0.00 265.000 0.0000.000 0.000 0.000 0.000

Notes
There is no input parameter. The FM lists for all top 20 materials basedon the total quantity from Vendor Statics table.

Further information
The SMB_UIE_DEFECT_HISTORY_MTR_LT structure with table typeSMB_UIE_DEFECT_HISTORY_MTR_TT is used for export table. The FMSMB_UIE_QM_TOP10MATERIALS is used to calculate the top 10 materials.