SAP ABAP Class CL_LFS_SSTN_DB (To update the database of vendor sustainability)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-AP-AP (Application Component) Basic Functions
     FBK_SUST (Package) Sustainability enhancements for Vendor
Properties
Class CL_LFS_SSTN_DB  
Short Description To update the database of vendor sustainability    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FBK_SUST   Sustainability enhancements for Vendor 
Created 20100525   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_LFS_SSTN_DB has no forward declaration.
Interfaces
Class CL_LFS_SSTN_DB has no interface implemented.
Friends
Class CL_LFS_SSTN_DB has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GS_LFS_SSTN Instance attribute Private Type reference (TYPE) LFS_SSTN Vendor Master Sustainability Fields 20100906
2 GV_LIFNR Instance attribute Private Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20100810
3 GV_VENDOR_DELETED Instance attribute Private Type reference (TYPE) XFELD Checkbox 20110203
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_CURR_EXIST Instance method Public Method Checks if currency Exists 20110415
2 CHECK_EMISSION_REDU_UNIT_EXIST Instance method Public Method Check Emission Reduction Unit Exist 20100908
3 CHECK_ENV_FINE_UNIT_EXIST Instance method Public Method Check Environment Fine Unit Exist 20100908
4 CHECK_GHG1_SCOPE_UNIT_EXIST Instance method Public Method Check GHGScope1 Unit Exist 20100908
5 CHECK_GHG2_SCOPE_UNIT_EXIST Instance method Public Method Check GHGScope2 Unit Exist 20100908
6 CHECK_GHG3_SCOPE_UNIT_EXIST Instance method Public Method Check GHGScope3 Unit Exist 20100908
7 CHECK_RECYCL_WATER_UNIT_EXIST Instance method Public Method Check Recycled Water Unit Exist 20110802
8 CHECK_RENEW_ENERGY_UNIT_EXIST Instance method Public Method Check Renewable Energy Unit Exist 20100908
9 CHECK_REV_CURR_EXIST Instance method Public Method Checks if currency Exists for revenue field 20110415
10 CHECK_TOTAL_ENERGY_UNIT_EXIST Instance method Public Method Check Total Energy Unit Exist 20100908
11 CHECK_VENDOR_COPY_EXIST Instance method Public Method Checks Vendor Exist 20101201
12 CHECK_VENDOR_EXIST Instance method Public Method Checks Vendor Exist 20100603
13 CHECK_WASTE_RECYCL_UNIT_EXIST Instance method Public Method Check Waste Recycled Unit Exist 20100908
14 CHECK_WASTE_UNIT_EXIST Instance method Public Method Check Waste Unit Exist 20100908
15 CHECK_WATER_CONSUM_UNIT_EXIST Instance method Public Method Check Water Consumption Unit Exist 20100908
16 DEQUEUE_E_LFSSTN Instance method Public Method To denqueue/unlock the DB table LFSSTN during edit mode 20100527
17 ENQUEUE_E_LFSSTN Instance method Public Method To enqueue/lock the DB table LFSSTN during edit mode 20100527
18 FILL_CERTIFICATE_TXT Instance method Public Method fill_CERTIFICATE_TXT 20101116
19 GET_BEGRU Static method Public Method 20101004
20 GET_CERT_DATA Instance method Public Method To fetch the data from DB 20101116
21 GET_DATA Instance method Public Method To fetch the data from DB 20100525
22 GET_VENDORS_DATA Static method Public Method To fetch the sustainability attributes for list of vendors 20100913
23 GET_VENDOR_CURRENCY Static method Public Method 20100920
24 GET_VENDOR_DATES Instance method Public Method To Fetch vendor dates from DB for a lifnr 20100819
25 GET_VENDOR_DET_COPY_FROM Instance method Public Method To fetch vendor details from DB for lifnr and uuid 20100823
26 MASS_SAVE_DATA Instance method Public Method MASS_SAVE_DATA 20100915
27 SAVE_DATA Instance method Public Method To save the data in DB 20100915
Events
Class CL_LFS_SSTN_DB has no event.
Types
Class CL_LFS_SSTN_DB has no local type.
Method Signatures

Method CHECK_CURR_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CURC_EXIST Call by reference Type reference (TYPE) BOOLEAN 20110415
2 Importing IV_CURC Call by reference Type reference (TYPE) TCURC-WAERS 20110415

Method CHECK_CURR_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_EMISSION_REDU_UNIT_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EMISSION_REDU_UNIT_EXIST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100908
2 Importing IV_MSEHI Call by reference Type reference (TYPE) T006-MSEHI Unit of Measurement 20100908

Method CHECK_EMISSION_REDU_UNIT_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_ENV_FINE_UNIT_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ENV_FINE_UNIT_EXIST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100908
2 Importing IV_WAERS Call by reference Type reference (TYPE) TCURC-WAERS Currency Key 20100908

Method CHECK_ENV_FINE_UNIT_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_GHG1_SCOPE_UNIT_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_GHG1_UNIT_EXIST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100908
2 Importing IV_MSEHI Call by reference Type reference (TYPE) T006-MSEHI Unit of Measurement 20100908

Method CHECK_GHG1_SCOPE_UNIT_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_GHG2_SCOPE_UNIT_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_GHG2_UNIT_EXIST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100908
2 Importing IV_MSEHI Call by reference Type reference (TYPE) T006-MSEHI Unit of Measurement 20100908

Method CHECK_GHG2_SCOPE_UNIT_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_GHG3_SCOPE_UNIT_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_GHG3_UNIT_EXIST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100908
2 Importing IV_MSEHI Call by reference Type reference (TYPE) T006-MSEHI Unit of Measurement 20100908

Method CHECK_GHG3_SCOPE_UNIT_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_RECYCL_WATER_UNIT_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VOLUNIT_EXIST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110802
2 Importing IV_MSEHI Call by reference Type reference (TYPE) T006-MSEHI Unit of Measurement 20110802

Method CHECK_RECYCL_WATER_UNIT_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_RENEW_ENERGY_UNIT_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RENEW_ENERGY_UNIT_EXIST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100908
2 Importing IV_MSEHI Call by reference Type reference (TYPE) T006-MSEHI Unit of Measurement 20100908

Method CHECK_RENEW_ENERGY_UNIT_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_REV_CURR_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CURC_EXIST Call by reference Type reference (TYPE) BOOLEAN 20110415
2 Importing IV_CURC Call by reference Type reference (TYPE) TCURC-WAERS 20110415

Method CHECK_REV_CURR_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_TOTAL_ENERGY_UNIT_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DEU_EXIST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100908
2 Importing IV_MSEHI Call by reference Type reference (TYPE) T006-MSEHI Unit of Measurement 20100908

Method CHECK_TOTAL_ENERGY_UNIT_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_VENDOR_COPY_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LIFNR_EXIST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20101201
2 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101201

Method CHECK_VENDOR_COPY_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_VENDOR_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LIFNR_EXIST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100603
2 Exporting EV_LIFNR_MARKED_FOR_DEL Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100817
3 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20100603

Method CHECK_VENDOR_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_WASTE_RECYCL_UNIT_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_WASTE_RECYCLED_UNIT Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100908
2 Importing IV_MSEHI Call by reference Type reference (TYPE) T006-MSEHI Unit of Measurement 20100908

Method CHECK_WASTE_RECYCL_UNIT_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_WASTE_UNIT_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_WASTE_UNIT Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100908
2 Importing IV_MSEHI Call by reference Type reference (TYPE) T006-MSEHI Unit of Measurement 20100908

Method CHECK_WASTE_UNIT_EXIST on class CL_LFS_SSTN_DB has no exception.

Method CHECK_WATER_CONSUM_UNIT_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VOLUNIT_EXIST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100908
2 Importing IV_MSEHI Call by reference Type reference (TYPE) T006-MSEHI Unit of Measurement 20100908

Method CHECK_WATER_CONSUM_UNIT_EXIST on class CL_LFS_SSTN_DB has no exception.

Method DEQUEUE_E_LFSSTN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SSTN Call by reference Type reference (TYPE) LFT_SSTN Table type for Vendor Master Sustainability Fields 20100527

Method DEQUEUE_E_LFSSTN on class CL_LFS_SSTN_DB has no exception.

Method ENQUEUE_E_LFSSTN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ERROR Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20100603
2 Importing IS_SSTN Call by reference Type reference (TYPE) LFS_SSTN Table type for Vendor Master Sustainability Fields 20100915

Method ENQUEUE_E_LFSSTN on class CL_LFS_SSTN_DB has no exception.

Method FILL_CERTIFICATE_TXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CERT_TXT Call by reference Type reference (TYPE) LFT_SSTN_CERT Vendor sustainability certificates 20101116

Method FILL_CERTIFICATE_TXT on class CL_LFS_SSTN_DB has no exception.

Method GET_BEGRU 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 20101004
2 Returning RE_BRGRU Value transfer Type reference (TYPE) BEGRU Authorization Group 20101004

Method GET_BEGRU on class CL_LFS_SSTN_DB has no exception.

Method GET_CERT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SSTN_CERT Call by reference Type reference (TYPE) LFT_SSTN_CERT Vendor Master Sustainability Fields 20101116
2 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101116

Method GET_CERT_DATA on class CL_LFS_SSTN_DB has no exception.

Method GET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_SSTN Call by reference Type reference (TYPE) LFS_SSTN Vendor Master Sustainability Fields 20100915
2 Exporting ET_SSTN_CERT Call by reference Type reference (TYPE) LFT_SSTN_CERT Vendor Master Sustainability Fields 20100525
3 Importing IV_LATEST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100526
4 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20100525
5 Importing IV_ONLY_DATES Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100526
6 Importing IV_UUID Call by reference Type reference (TYPE) SSTN_UUID SSTN UUID 20100824
7 Importing IV_VALIDITY_FROM Call by reference Type reference (TYPE) DATUM Date 20100526
8 Importing IV_VALIDITY_TO Call by reference Type reference (TYPE) DATUM Date 20100526

Method GET_DATA on class CL_LFS_SSTN_DB has no exception.

Method GET_VENDORS_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SSTN_ATTR Call by reference Type reference (TYPE) LFT_SSTN_SMC Table type for Vendor Master Sustainability Fields 20100914
2 Importing IT_LIFNR Call by reference Type reference (TYPE) LFT_SSTN_LIFNR Table type for lifnr 20100914

Method GET_VENDORS_DATA on class CL_LFS_SSTN_DB has no exception.

Method GET_VENDOR_CURRENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EKORG Call by reference Type reference (TYPE) EKORG Purchasing Organization 20100920
2 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20100920
3 Returning RE_WAERS Value transfer Type reference (TYPE) WAERS Currency Key 20100920

Method GET_VENDOR_CURRENCY on class CL_LFS_SSTN_DB has no exception.

Method GET_VENDOR_DATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SSTN_DATES Call by reference Type reference (TYPE) LFT_SSTN_DATES Validity Dates 20100819
2 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20100819

Method GET_VENDOR_DATES on class CL_LFS_SSTN_DB has no exception.

Method GET_VENDOR_DET_COPY_FROM 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) LFT_SSTN Table type for Vendor Master Sustainability Fields 20100823
2 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR 20100823
3 Importing IV_UUID Call by reference Type reference (TYPE) SSTN_UUID 20100823

Method GET_VENDOR_DET_COPY_FROM on class CL_LFS_SSTN_DB has no exception.

Method MASS_SAVE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FAILED Call by reference Type reference (TYPE) BOOLEAN Single-Character Indicator 20100920
2 Importing IT_SSTN Call by reference Type reference (TYPE) LFT_SSTN Table type for Vendor Master Sustainability Fields 20100915

Method MASS_SAVE_DATA on class CL_LFS_SSTN_DB has no exception.

Method SAVE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_SSTN Call by reference Type reference (TYPE) LFS_SSTN Vendor Master Sustainability Fields 20100915
2 Exporting EV_FAILED Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20100915
3 Importing IS_SSTN Call by reference Type reference (TYPE) LFS_SSTN Vendor Master Sustainability Fields 20100915
4 Importing IT_SSTN_CERT Call by reference Type reference (TYPE) LFT_SSTN_CERT Vendor sustainability certificates 20100915

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