SAP Function SMB_UIE_SD_C_LEV_CHART_PRODUCT - details of all kpi and every product

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

Parameter Reference Type Length Text
ET_C_LEV_KPI_PROD_CHART SMB_UIE_C_LEVEL_CHART_TT h 55 internal table for slaes kpi line chart information
ET_C_LEV_SALORG_CARD SMB_UIE_C_LEVEL_SALORG_TT h 45 internal table for sales org for score card

Functionality
This function module finds the details for KPI (given as input) forevery month in the current and the previous month. This function modulealso finds the details for every product for the given KPI for currentand the previous year as a score card.

Example
INPUT
IV_KPI : ORDER_ENTRY
IV_COMP_CODE :1000
IV_MONTH_YEAR :09.2010
OUTPUT
ET_C_LEV_KPI_PROD_CHART
KPI MO MONT YEAR ,,UNIT ,,,,AMOUNT_CUR_YEARAMOUNT_PRV_YEAR
order_entry 01 jan 2010 ,,,,EUR 0,00,,,,,,,,0,00
order_entry 02 feb 2010 ,,,,EUR 0,00,,,,,,0,00
order_entry 03 mar 2010 ,,EUR 0,00,,,,,,0,00
order_entry 04 apr 2010 ,,,,EUR 0,00,,,,,,0,00
order_entry 05 may 2010 ,,EUR 0,00,,,,,,0,00
order_entry 06 jun 2010 ,,,,EUR 0,00,,,,,,0,00
order_entry 07 jul 2010 ,,,,EUR 0,00,,,,,,0,00
order_entry 08 aug 2010 ,,,,EUR 13.846,30,,,,,,0,00
order_entry 09 sep 2010 ,,,,EUR 126.738,60,,,,,,0,00
order_entry 10 oct 2010 ,,,,EUR 39.653,90,,,,,, 0,00
order_entry 11 nov 2010,,,,EUR 0,00,,,,,,0,00
order_entry 12 dec 2010 ,,,,EUR 0,00,,,,,,0,00
ET_C_LEV_SALORG_CARD
SALES_ORG UNIT ,,,,AMOUNT_CUR_YEAR AMOUNT_PRV_YEAR
F126 EUR 969,80,,,,,, 0,00
H10 EUR 98.406,90,,,, 0,00
H11 EUR 22.534,20,,,, 0,00
H13 EUR 3.549,00,,,, 0,00
H20 EUR 1.228,50,,,,,, 0,00
H21 EUR 877,50,,,, 0,00
H22 EUR 1.053,00,,,, 0,00
F29 EUR 11.466,00,,,, 0,00
R12 EUR 500,00,,,, 0,00

Notes
The input parameters are compulsory as the filtering is on the giveninputs.

Further information
Input Parameters: IV_KPI
,,,, IV_COMP_CODE
,,,, IV_MONTH_YEAR
Output Parameters: ET_C_LEV_KPI_PROD_CHART(The internal table todisplay the Products, Month and Year and ,,,,,, Amount in the currentand previous year).
,,,,,, ET_C_LEV_SALORG_CARD(The internal table to display Product,Amount in curr an prv years).