SAP Function SMB_UIE_SD_C_LEVEL_SALES_KPI - details about all kpi as a score card for all salesorg

Parameter Reference Type Length Default Optional Text
IV_COMP_CODE BUKRS C 4 Company Code
IV_MONTH_YEAR SPMON N 6 Period to analyze - month

Parameter Reference Type Length Text
ET_C_LEV_KPI_CARD SMB_UIE_C_LEVEL_KPI_TT h 45 internal table for slaes kpi information

Functionality
This function module finds the order entry, order profitability, salesprofitability, sales revenue and returns for all sales organizations forcurrent year and previous year in the form of a score card.

Example
INPUT
IV_COMP_CODE : 1000
IV_MONTH_YEAR :09.2010
OUTPUT
ET_C_LEV_KPI_CARD
KPI ,, UNIT ,, YTD_PRESENT_YEAR,,,,YTD_PREVIOUS_YEAR
order_entry ,, EUR ,, ,,140.584,90 ,,,,,,
,,,,0,00
order_profitability ,, EUR ,,73,16 ,,,,,,
,,,,,,0,00
sales_profitability ,, EUR ,,114,35 ,,,,,,
,,,,,,0,00
sales_revenue ,,,, EUR ,, 91.334,90 ,,,,,,,,,,
,,0,00
returns ,, EUR ,,596,70- ,,
,,,,,,,,,,0,00

Notes
The inputs are compulsory.It filters for the given company code and theyear and month given.

Further information
Input Parameters: IV_COMP_CODE
,,,,,,IV_MONTH_YEAR
Output Parameters: ET_C_LEV_KPI_CARD (Internal table with all KPIs andtheir respective values for present and previous year along with theunit of transaction).