Hierarchy
⤷
⤷
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 | Instance attribute | Private | Type reference (TYPE) | LFS_SSTN | Vendor Master Sustainability Fields | 20100906 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | LIFNR | Account Number of Vendor or Creditor | 20100810 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | XFELD | Checkbox | 20110203 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Checks if currency Exists | 20110415 | |
| 2 | Instance method | Public | Method | Check Emission Reduction Unit Exist | 20100908 | |
| 3 | Instance method | Public | Method | Check Environment Fine Unit Exist | 20100908 | |
| 4 | Instance method | Public | Method | Check GHGScope1 Unit Exist | 20100908 | |
| 5 | Instance method | Public | Method | Check GHGScope2 Unit Exist | 20100908 | |
| 6 | Instance method | Public | Method | Check GHGScope3 Unit Exist | 20100908 | |
| 7 | Instance method | Public | Method | Check Recycled Water Unit Exist | 20110802 | |
| 8 | Instance method | Public | Method | Check Renewable Energy Unit Exist | 20100908 | |
| 9 | Instance method | Public | Method | Checks if currency Exists for revenue field | 20110415 | |
| 10 | Instance method | Public | Method | Check Total Energy Unit Exist | 20100908 | |
| 11 | Instance method | Public | Method | Checks Vendor Exist | 20101201 | |
| 12 | Instance method | Public | Method | Checks Vendor Exist | 20100603 | |
| 13 | Instance method | Public | Method | Check Waste Recycled Unit Exist | 20100908 | |
| 14 | Instance method | Public | Method | Check Waste Unit Exist | 20100908 | |
| 15 | Instance method | Public | Method | Check Water Consumption Unit Exist | 20100908 | |
| 16 | Instance method | Public | Method | To denqueue/unlock the DB table LFSSTN during edit mode | 20100527 | |
| 17 | Instance method | Public | Method | To enqueue/lock the DB table LFSSTN during edit mode | 20100527 | |
| 18 | Instance method | Public | Method | fill_CERTIFICATE_TXT | 20101116 | |
| 19 | Static method | Public | Method | 20101004 | ||
| 20 | Instance method | Public | Method | To fetch the data from DB | 20101116 | |
| 21 | Instance method | Public | Method | To fetch the data from DB | 20100525 | |
| 22 | Static method | Public | Method | To fetch the sustainability attributes for list of vendors | 20100913 | |
| 23 | Static method | Public | Method | 20100920 | ||
| 24 | Instance method | Public | Method | To Fetch vendor dates from DB for a lifnr | 20100819 | |
| 25 | Instance method | Public | Method | To fetch vendor details from DB for lifnr and uuid | 20100823 | |
| 26 | Instance method | Public | Method | MASS_SAVE_DATA | 20100915 | |
| 27 | 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 | EV_CURC_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | 20110415 | ||||
| 2 | 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 | EV_EMISSION_REDU_UNIT_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100908 | |||
| 2 | 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 | EV_ENV_FINE_UNIT_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100908 | |||
| 2 | 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 | EV_GHG1_UNIT_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100908 | |||
| 2 | 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 | EV_GHG2_UNIT_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100908 | |||
| 2 | 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 | EV_GHG3_UNIT_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100908 | |||
| 2 | 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 | EV_VOLUNIT_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20110802 | |||
| 2 | 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 | EV_RENEW_ENERGY_UNIT_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100908 | |||
| 2 | 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 | EV_CURC_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | 20110415 | ||||
| 2 | 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 | EV_DEU_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100908 | |||
| 2 | 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 | EV_LIFNR_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20101201 | |||
| 2 | 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 | EV_LIFNR_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100603 | |||
| 2 | EV_LIFNR_MARKED_FOR_DEL | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100817 | |||
| 3 | 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 | EV_WASTE_RECYCLED_UNIT | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100908 | |||
| 2 | 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 | EV_WASTE_UNIT | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100908 | |||
| 2 | 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 | EV_VOLUNIT_EXIST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100908 | |||
| 2 | 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 | 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 | EV_ERROR | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20100603 | |||
| 2 | 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 | 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 | IV_LIFNR | Call by reference | Type reference (TYPE) | LIFNR | Account Number of Vendor or Creditor | 20101004 | |||
| 2 | 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 | ET_SSTN_CERT | Call by reference | Type reference (TYPE) | LFT_SSTN_CERT | Vendor Master Sustainability Fields | 20101116 | |||
| 2 | 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 | ES_SSTN | Call by reference | Type reference (TYPE) | LFS_SSTN | Vendor Master Sustainability Fields | 20100915 | |||
| 2 | ET_SSTN_CERT | Call by reference | Type reference (TYPE) | LFT_SSTN_CERT | Vendor Master Sustainability Fields | 20100525 | |||
| 3 | IV_LATEST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100526 | |||
| 4 | IV_LIFNR | Call by reference | Type reference (TYPE) | LIFNR | Account Number of Vendor or Creditor | 20100525 | |||
| 5 | IV_ONLY_DATES | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100526 | |||
| 6 | IV_UUID | Call by reference | Type reference (TYPE) | SSTN_UUID | SSTN UUID | 20100824 | |||
| 7 | IV_VALIDITY_FROM | Call by reference | Type reference (TYPE) | DATUM | Date | 20100526 | |||
| 8 | 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 | ET_SSTN_ATTR | Call by reference | Type reference (TYPE) | LFT_SSTN_SMC | Table type for Vendor Master Sustainability Fields | 20100914 | |||
| 2 | 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 | IV_EKORG | Call by reference | Type reference (TYPE) | EKORG | Purchasing Organization | 20100920 | |||
| 2 | IV_LIFNR | Call by reference | Type reference (TYPE) | LIFNR | Account Number of Vendor or Creditor | 20100920 | |||
| 3 | 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 | ET_SSTN_DATES | Call by reference | Type reference (TYPE) | LFT_SSTN_DATES | Validity Dates | 20100819 | |||
| 2 | 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 | ET_DATA | Call by reference | Type reference (TYPE) | LFT_SSTN | Table type for Vendor Master Sustainability Fields | 20100823 | |||
| 2 | IV_LIFNR | Call by reference | Type reference (TYPE) | LIFNR | 20100823 | ||||
| 3 | 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 | EV_FAILED | Call by reference | Type reference (TYPE) | BOOLEAN | Single-Character Indicator | 20100920 | |||
| 2 | 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 | ES_SSTN | Call by reference | Type reference (TYPE) | LFS_SSTN | Vendor Master Sustainability Fields | 20100915 | |||
| 2 | EV_FAILED | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20100915 | |||
| 3 | IS_SSTN | Call by reference | Type reference (TYPE) | LFS_SSTN | Vendor Master Sustainability Fields | 20100915 | |||
| 4 | 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 |