SAP Function SMB_UIE_MM_GET_PM_STATS - Purchase Management: Get KPIs/Stats

Parameter Reference Type Length Text
ET_LIFNR SMB_UIE_LIFNR_TT h 45 Vendor
ET_MATERIAL_GRP SMB_UIE_MATERIAL_GRP_TT h 89 Table Type for mterial group id
ET_PERIOD SMB_UIE_SPMON_TT h 6 Month Period
ET_PLANT SMB_UIE_EWERK_TT h 4 Plant Information
ET_PM_STATS SMB_UIE_PM_STATS_TT h 85 Purchasing Management: KPIs/Stats
ET_PURCH_ORG MMPURUI_EKORG_TTY h 4 Purchasing Organization
ET_VEND_POVALUE_MONTH SMB_UIE_VEND_POVAL_TT h 24 Vendor with PO value for specific month

Functionality
This function module gives information about the purchase order value,GR value, and Invoice value for the different combination of purchaseorg and plant.
This also contains information about PO Value with respect to vendor inany particular month.

Example
Input ,,,,-,, NA
Output,,-,, ET_PM_STATS,,,,-,,PO Value, GR Value and Invoice value canbe found in this table
,,,,,,ET_VEND_POVALUE_MONTH,,-,,PO value for the vendor separated basedon month.

Notes
o,, Authorizations required for the FM.
o,,This method works with buffering. This means that other changemethods of instances created/changed by this ,,method can be executed inthe same LUW, without a prior posting being necessary.
o,,This function module also returns plant, material group, purchaseorg, and period. These values can be used ,,for the selection criteriain the dashboard.