SAP Function SMB_UIE_SD_C_LEV_SALORG - details of all salorgs

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

Parameter Reference Type Length Text
ET_C_LEV_SALORG_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 Sales Organisation choosen for the current and the previousyear.

Example
INPUT
IV_SALORG :1000,,
IV_KPI :order_entry
IV_COMP_CODE :1000
IV_MONTH_YEAR :09.2010
OUTPUT
ET_C_LEV_SALORG_CHART
KPI MO MONT YEAR ,,UNIT ,,,,AMOUNT_CUR_YEARAMOUNT_PRV_YEAR
1000 01 jan 2010 ,,,,EUR 0,00,,,,0,00
1000 02 feb 2010 ,,,,EUR 0,00,,,, 0,00
1000 03 mar 2010 ,,,,EUR 0,00,,,, 0,00
1000 04 apr 2010 ,,,,EUR 0,00,,,,0,00
1000 05 may 2010 ,,,,EUR 0,00,,,,0,00
1000 06 jun 2010 ,,,,EUR 0,00,,,,0,00
1000 07 jul 2010 ,,,,EUR 0,00,,,,0,00
1000 08 aug 2010 ,,,,EUR 11.038,30,,,, 0,00
1000 09 sep 2010 ,,,,EUR 126.738,60,,,, 0,00
1000 10 oct 2010 ,,,,EUR 39.653,90,,,,0,00
1000 11 nov 2010 ,,,,EUR 0,00,,,, 0,00
1000 12 dec 2010 ,,,,EUR 0,00,,,,0,00

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

Further information
Input Parameters: IV_SALORG
,,,, IV_KPI
,,,, IV_COMP_CODE
,,,, IV_MONTH_YEAR
Output Parameters : ET_C_LEV_SALORG_CHART(The internal table withfields Sales organisation, Month and year, ,,,,,, amount in currentand for previous year).