SAP ABAP Class CL_LFS_SSTN_ANALYTICS (Assistance Class for LFS_SUST_ANALYTICS)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-AP-AP (Application Component) Basic Functions
     FBK_SUST (Package) Sustainability enhancements for Vendor
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WD_COMPONENT_ASSISTANCE Basis for a Web Dynpro assistance class 20101001
Properties
Class CL_LFS_SSTN_ANALYTICS  
Short Description Assistance Class for LFS_SUST_ANALYTICS    
Super Class CL_WD_COMPONENT_ASSISTANCE Basis for a Web Dynpro assistance class 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FBK_SUST   Sustainability enhancements for Vendor 
Created 20101001   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_LFS_SSTN_ANALYTICS has no forward declaration.
Interfaces
Class CL_LFS_SSTN_ANALYTICS has no interface implemented.
Friends
Class CL_LFS_SSTN_ANALYTICS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_HEIGHT Constant Public Type reference (TYPE) CHAR4 '100%' 3-Byte field 20101007
2 MC_QUERY Instance attribute Private Type reference (TYPE) BSANLY_QUERY 'VEND_SUST_Q001' Analytic Query 20101001
3 MC_USE_ODP Constant Public Type reference (TYPE) CHAR1 'X' Single-Character Indicator 20101008
4 MC_WIDTH Constant Public Type reference (TYPE) CHAR4 '100%' 3-Byte field 20101007
5 MR_DATA Instance attribute Private Object reference (TYPE REF TO) DATA 20101001
6 MV_ENERGY_UNIT Static Attribute Public Type reference (TYPE) SSTN_UNIT_OF_MEASURE SSTN Unit of measure 20101006
7 MV_MASS_UNIT Static Attribute Public Type reference (TYPE) SSTN_UNIT_OF_MEASURE SSTN Unit of measure 20101006
8 MV_NO_OF_RECORDS Static Attribute Public Type reference (TYPE) I 20101013
9 MV_VAL_END Instance attribute Private Type reference (TYPE) DATUM Validity End date 20101022
10 MV_VAL_START Instance attribute Private Type reference (TYPE) DATUM Validity Start date 20101022
11 MV_VOLUME_UNIT Static Attribute Public Type reference (TYPE) SSTN_UNIT_OF_MEASURE SSTN Unit of measure 20101006
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_AUTHORITY Instance method Private Method 20101013
2 CHECK_AVG_AUTHORITY Instance method Private Method 20101013
3 CHECK_UNITS Instance method Private Method 20101021
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20101008
5 FORMAT_DATE Instance method Public Method 20101007
6 GET_AVG_DATA Instance method Private Method Gets average data of vendors 20101025
7 GET_AVG_DATA_ALL Instance method Private Method Gets average data of vendors 20110302
8 GET_DATA_ODP Instance method Private Method 20101001
9 GET_DOMAIN_VALUES Instance method Public Method 20101014
10 GET_ECONOMIC_DATA Instance method Public Method 20101001
11 GET_ECONOMIC_DATA_AVG Instance method Public Method 20101005
12 GET_ENVIRONMENTAL_DATA Instance method Public Method 20101001
13 GET_ENVIRONMENTAL_DATA_AVG Instance method Public Method 20101005
14 GET_GENERIC_DATA Instance method Public Method 20101001
15 GET_GENERIC_DATA_AVG Instance method Public Method 20101005
16 GET_LFB1_DATA Instance method Public Method 20110205
17 GET_LIFNR_DATA Instance method Private Method Gets one vendor data 20101025
18 GET_PARAMETERS Instance method Private Method 20101008
19 GET_PORG_DATA Instance method Public Method 20110205
20 GET_SOCIAL_DATA Instance method Public Method 20101001
21 GET_SOCIAL_DATA_AVG Instance method Public Method 20101005
22 SET_DATE_RANGE Instance method Public Method 20101022
23 UNIT_CONVERSION Instance method Private Method 20101006
Events
Class CL_LFS_SSTN_ANALYTICS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_DD07V Public See coding 20101014 t_dd07v type table of dd07v
2 T_LFB1 Public See coding 20110205 T_LFB1 type TABLE OF lfb1
3 T_LFM1 Public See coding 20110205 T_LFM1 type TABLE OF lfm1
4 T_LFS_SSTN_TREND_ECONOMIC Public See coding 20101001 t_lfs_sstn_trend_economic type table of lfs_sstn_trend_econimic
5 T_LFS_SSTN_TREND_ENVIRONMENTAL Public See coding 20101001 t_lfs_sstn_trend_environmental type table of lfs_sstn_trend_environmental
6 T_LFS_SSTN_TREND_GENERIC Public See coding 20101001 t_lfs_sstn_trend_generic type table of lfs_sstn_trend_generic
7 T_LFS_SSTN_TREND_SOCIAL Public See coding 20101001 t_lfs_sstn_trend_social type table of lfs_sstn_trend_social
Method Signatures

Method CHECK_AUTHORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101013
# Exception Resumable Description Created on
1 NO_AUTHORITY No Authoriasation to read data 20101013

Method CHECK_AVG_AUTHORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101013
# Exception Resumable Description Created on
1 NO_AUTHORITY No Authoriasation to read data 20101013

Method CHECK_UNITS Signature

Method CHECK_UNITS on class CL_LFS_SSTN_ANALYTICS has no parameter.
# Exception Resumable Description Created on
1 INVALID_UNITS 20101021

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_LFS_SSTN_ANALYTICS has no parameter.
Method CONSTRUCTOR on class CL_LFS_SSTN_ANALYTICS has no exception.

Method FORMAT_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DATUM Call by reference Type reference (TYPE) DATUM Date 20101007
2 Returning RE_DATUM Value transfer Type reference (TYPE) STRING 20101007

Method FORMAT_DATE on class CL_LFS_SSTN_ANALYTICS has no exception.

Method GET_AVG_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) ANY TABLE 20101025
2 Importing IM_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20101025
3 Importing IM_EKORG Call by reference Type reference (TYPE) EKORG Purchasing Organization 20101025
4 Importing IM_UUID Call by reference Type reference (TYPE) SSTN_UUID SSTN UUID 20110301
5 Importing IM_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101025

Method GET_AVG_DATA on class CL_LFS_SSTN_ANALYTICS has no exception.

Method GET_AVG_DATA_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) ANY TABLE 20110302
2 Importing IM_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20110302
3 Importing IM_EKORG Call by reference Type reference (TYPE) EKORG Purchasing Organization 20110302
4 Importing IM_UUID Call by reference Type reference (TYPE) SSTN_UUID SSTN UUID 20110302
5 Importing IM_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20110302

Method GET_AVG_DATA_ALL on class CL_LFS_SSTN_ANALYTICS has no exception.

Method GET_DATA_ODP Signature

Method GET_DATA_ODP on class CL_LFS_SSTN_ANALYTICS has no parameter.
Method GET_DATA_ODP on class CL_LFS_SSTN_ANALYTICS has no exception.

Method GET_DOMAIN_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VALUES Call by reference Type reference (TYPE) T_DD07V Generated Table for View DD07V 20101014
2 Importing IM_DOMAIN Call by reference Type reference (TYPE) DDOBJNAME Name of ABAP Dictionary Object 20101014

Method GET_DOMAIN_VALUES on class CL_LFS_SSTN_ANALYTICS has no exception.

Method GET_ECONOMIC_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) T_LFS_SSTN_TREND_ECONOMIC Trend anlysis structure 20101001
2 Importing IM_UUID Call by reference Type reference (TYPE) SSTN_UUID 20101019
3 Importing IM_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101001
# Exception Resumable Description Created on
1 NO_AUTHORITY 20101014

Method GET_ECONOMIC_DATA_AVG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) T_LFS_SSTN_TREND_ECONOMIC Trend anlysis structure 20101005
2 Importing IM_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20101005
3 Importing IM_EKORG Call by reference Type reference (TYPE) EKORG Purchasing Organization 20101005
4 Importing IM_UUID Call by reference Type reference (TYPE) SSTN_UUID 20101019
5 Importing IM_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101005
# Exception Resumable Description Created on
1 NO_AUTHORITY 20101014

Method GET_ENVIRONMENTAL_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) T_LFS_SSTN_TREND_ENVIRONMENTAL Trend anlysis structure 20101001
2 Importing IM_UUID Call by reference Type reference (TYPE) SSTN_UUID 20101019
3 Importing IM_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101001
# Exception Resumable Description Created on
1 INVALID_UNITS 20110301
2 NO_AUTHORITY 20101014

Method GET_ENVIRONMENTAL_DATA_AVG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) T_LFS_SSTN_TREND_ENVIRONMENTAL Trend anlysis structure 20101005
2 Importing IM_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20101005
3 Importing IM_EKORG Call by reference Type reference (TYPE) EKORG Purchasing Organization 20101005
4 Importing IM_UUID Call by reference Type reference (TYPE) SSTN_UUID 20101019
5 Importing IM_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101005
# Exception Resumable Description Created on
1 INVALID_UNITS 20110301
2 NO_AUTHORITY 20101014

Method GET_GENERIC_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) T_LFS_SSTN_TREND_GENERIC Trend anlysis structure 20101001
2 Importing IM_UUID Call by reference Type reference (TYPE) SSTN_UUID SSTN UUID 20101019
3 Importing IM_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101001
# Exception Resumable Description Created on
1 NO_AUTHORITY 20101014

Method GET_GENERIC_DATA_AVG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) T_LFS_SSTN_TREND_GENERIC Trend anlysis structure 20101005
2 Importing IM_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20101005
3 Importing IM_EKORG Call by reference Type reference (TYPE) EKORG Purchasing Organization 20101005
4 Importing IM_UUID Call by reference Type reference (TYPE) SSTN_UUID 20101019
5 Importing IM_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101005
# Exception Resumable Description Created on
1 NO_AUTHORITY 20101014

Method GET_LFB1_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LFB1 Call by reference Type reference (TYPE) T_LFB1 Vendor Master (Company Code) 20110205
2 Importing IM_LIFNR Call by reference Type reference (TYPE) LIFNR Vendor Master 20110205

Method GET_LFB1_DATA on class CL_LFS_SSTN_ANALYTICS has no exception.

Method GET_LIFNR_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) ANY TABLE 20101025
2 Importing IM_UUID Call by reference Type reference (TYPE) SSTN_UUID Global Unique ID for table 20110301
3 Importing IM_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101025

Method GET_LIFNR_DATA on class CL_LFS_SSTN_ANALYTICS has no exception.

Method GET_PARAMETERS Signature

Method GET_PARAMETERS on class CL_LFS_SSTN_ANALYTICS has no parameter.
# Exception Resumable Description Created on
1 INVALID_UNITS 20101021

Method GET_PORG_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LFM1 Call by reference Type reference (TYPE) T_LFM1 Vendor Master (Company Code) 20110205
2 Importing IM_LIFNR Call by reference Type reference (TYPE) LIFNR Vendor Master 20110205

Method GET_PORG_DATA on class CL_LFS_SSTN_ANALYTICS has no exception.

Method GET_SOCIAL_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) T_LFS_SSTN_TREND_SOCIAL Trend anlysis structure 20101001
2 Importing IM_UUID Call by reference Type reference (TYPE) SSTN_UUID 20101019
3 Importing IM_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101001
# Exception Resumable Description Created on
1 NO_AUTHORITY 20101014

Method GET_SOCIAL_DATA_AVG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) T_LFS_SSTN_TREND_SOCIAL Trend anlysis structure 20101005
2 Importing IM_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20101005
3 Importing IM_EKORG Call by reference Type reference (TYPE) EKORG Purchasing Organization 20101005
4 Importing IM_UUID Call by reference Type reference (TYPE) SSTN_UUID 20101019
5 Importing IM_VENDOR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101005
# Exception Resumable Description Created on
1 NO_AUTHORITY 20101014

Method SET_DATE_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LIFNR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101022
2 Importing IM_UUID Call by reference Type reference (TYPE) SSTN_UUID SSTN UUID 20101022

Method SET_DATE_RANGE on class CL_LFS_SSTN_ANALYTICS has no exception.

Method UNIT_CONVERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FROM Call by reference Type reference (TYPE) ANY 20101129
2 Importing IM_FROM_UNIT Call by reference Type reference (TYPE) SSTN_UNIT_OF_MEASURE SSTN Unit of measure 20101006
3 Importing IM_TO_UNIT Call by reference Type reference (TYPE) SSTN_UNIT_OF_MEASURE SSTN Unit of measure 20101006
4 Exporting RE_TO Call by reference Type reference (TYPE) ANY 20101129
5 Changing VALUE Value transfer Type reference (TYPE) ANY SSTN Unit of measure 20101006

Method UNIT_CONVERSION on class CL_LFS_SSTN_ANALYTICS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606