SAP Function SMB_UIE_SD_C_LEV_PRODUCT - details for all products

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
IV_PROD CHAR20 C 20 Char 20

Parameter Reference Type Length Text
ET_C_LEV_PROD_CHART SMB_UIE_C_LEVEL_CHART_TT h 55 internal table for slaes kpi line chart information

Functionality
This function module finds the details of the given KPI for thatparticular Product for the current and the previous year.

Example
INPUT
IV_PROD : H11
IV_KPI :order_entry
IV_COMP_CODE :1000
IV_MONTH_YEAR :09.2010
OUPUT
ET_C_LEV_PROD_CHART
KPI MO MONT YEAR ,,UNIT ,,,,AMOUNT_CUR_YEARAMOUNT_PRV_YEAR
H11 01 jan 2010 ,,,,EUR 0,00,,,,0,00
H11 02 feb 2010 ,,,,EUR 0,00,,,,0,00
H11 03 mar 2010 ,,,,EUR 0,00,,,,0,00
H11 04 apr 2010 ,,,,EUR 0,00,,,,0,00
H11 05 may 2010 ,,,,EUR 0,00,,,,0,00
H11 06 jun 2010 ,,,,EUR 0,00,,,,0,00
H11 07 jul 2010 ,,,,EUR 0,00,,,,0,00
H11 08 aug 2010 ,,,,EUR 2.632,50,,,,0,00
H11 09 sep 2010 ,,,,EUR 19.901,70,,,,0,00
H11 10 oct 2010 ,,,,EUR 34.398,00,,,,0,00
H11 11 nov 2010 ,,,,EUR 0,00,,,, 0,00
H11 12 dec 2010 ,,,,EUR 0,00,,,,0,00

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

Further information
Input Parameter: IV_SALORG
,,,,,,IV_KPI
,,,,,,IV_COMP_CODE
,,,,,,IV_MONTH_YEAR
Output Parameter: ET_C_LEV_PROD_CHART( the internal table with fieldsproduct , year and month, unit of ,,,,,,,,transaction, amount in thecurrent year and the previous year).