SAP Function SMB_UIE_SD_C_LEV_CHART_SALORG - details of all KPI n for every salorg

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_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 sales organisations for the given KPIfor current and 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_CHART
KPI MO MONT YEAR ,,,,UNIT ,,,,AMOUNT_CUR_YEAR,, AMOUNT_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
1000 ,, EUR 137.776,90,,,, 0,00
1100 ,, EUR 2.808,00,,,, 0,00

Notes
The input is compulsory as the filtering is on all the inputs given bythe user.

Further information
Input Parameter: IV_KPI
,,,, IV_COMP_CODE
,,,, IV_MONTH_YEAR
Ouput Parameter: ET_C_LEV_KPI_CHART(The internal table showing setailsfor KPI, Unit, Month and the year along ,,,,,,with the amount forcurrent and previous year).
,,,,,,ET_C_LEV_SALORG_CARD(The internal table to display the salesorganisations details with the ,,,,,,amount in current and the previousyear).