SAP Function SMB_UIE_QM_ACCEPTANCE_RATE - QM Acceptance Rate

Parameter Reference Type Length Text
ET_ACCP_RATE SMB_UIE_ARATE_TT h 80 Acceptance Rate
ET_ACCP_RATE_MTRL SMB_UIE_ARATE_TT h 80 Acceptance Rate
ET_ACCP_RATE_VEND SMB_UIE_ARATE_TT h 80 Acceptance Rate
ET_MATERIAL SMB_UIE_MATERIAL_TT h 18 Materials List
ET_VEND SMB_UIE_VEND_TT h 45 Vendors List
EV_TOTAL_ACCP_RATE SMB_UIE_ACCP_RATE F 8 rate/ percentage

Functionality
This function module give the Acceptance Rate (%). Acceptance Rate =SMGANGENS (Accepted Quantity) / SMGSELECT (Total Quantity) [%]) , whereSMGSELECT is the Total Quantity and SMGANGENS is the AcceptedQuantity.
Data is to be provided for every combination of material and vendor andas sum for all materials for a vendor, all vendors for a material andtotal sum over all materials and vendors . The Vendors are taken fromthe top 10 Vendors list and the materails are selected from the top 20materials list. There is no Input to be given .
Top 20 Materials according to total quantity sum for each material andTop 10 Vendors according to total quantity sum for each vendor.

Example
NO INPUT.
OUTPUT:
ET_ACCP_RATE:
LIFNR MATNR ACCP_RATENAME1
300000 R120 3,225806E+01Vendor domestic 00
300001 R120 9,133385E+01Vendor domestic 00
ET_ACCP_RATE_VEND:
LIFNR MATNR ACCP_RATENAME1
300000 3,225806E+01Vendor domestic 00
300001 9,133858E+01Vendor domestic 00
ET_ACCP_RATE_MTRL:
LIFNR MATNR ACCP_RATENAME1
R120 7,195767E+01
ET_VEND:
LIFNR NAME1
300001 Vendor domestic 00
300000 Vendor domestic 00
ET_MATERIAL:
R120
ET_TOTAL_ACCP_RATE : 7,19576E+01.