SAP ABAP Class CL_LFS_SSTN_API (API Class for Sustainable Attributes)
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_API  
Short Description API Class for Sustainable Attributes    
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
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_LFS_SSTN_API has no interface implemented.
Friends
Class CL_LFS_SSTN_API has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_LIFNR_NR Static Attribute Public Type reference (TYPE) CHAR10 'LIFNR_SST' Character Field Length = 10 20101027
2 MS_SSTN_ATTR Instance attribute Private Type reference (TYPE) LFS_SSTN Vendor Master Sustainability Fields 20100914
3 MS_SSTN_ATTR_OLD Instance attribute Private Type reference (TYPE) LFS_SSTN Vendor Master Sustainability Fields 20101005
4 MT_MESSAGES Instance attribute Private Type reference (TYPE) LFS_SSTN_T_MESSAGES Sustainability Messages Table Type 20100906
5 MT_SSTN_CERT_ATTR Instance attribute Private Type reference (TYPE) LFT_SSTN_CERT Vendor sustainability certificates 20100914
6 MT_SSTN_CERT_TXT_BUFFER Instance attribute Private Type reference (TYPE) LFT_SSTN_CERT Vendor sustainability certificates 20101208
7 MT_SSTN_DOC Instance attribute Private Type reference (TYPE) LFS_SSTN_DIR_TTY Document Details 20101021
8 MT_SSTN_DOC_DELETED Instance attribute Private Type reference (TYPE) LFS_SSTN_DIR_TTY Deleted Documents 20110509
9 MT_SSTN_DOC_NEW Instance attribute Private Type reference (TYPE) LFS_SSTN_DIR_TTY Document SP Table Type 20101109
10 MT_SSTN_DOC_OLD Instance attribute Private Type reference (TYPE) LFS_SSTN_DIR_TTY Deleted documents 20110510
11 MV_COPY_LIFNR Instance attribute Private Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20101126
12 MV_LIFNR Instance attribute Private Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20100914
13 MV_MODE Instance attribute Private Type reference (TYPE) CHAR1 Single-Character Indicator 20100914
14 MV_UUID Instance attribute Public Type reference (TYPE) SSTN_UUID SSTN UUID 20100914
15 OR_API_REF Static Attribute Public Object reference (TYPE REF TO) CL_LFS_SSTN_API API Class for Sustainable Attributes 20100527
16 OR_DB_REF Instance attribute Private Object reference (TYPE REF TO) CL_LFS_SSTN_DB To update the database of vendor sustainability 20100525
Methods
# Method Level Visibility Method type Description Created on
1 ADJUST_VALIDITY_DATES Instance method Private Method 20100819
2 AUTHORITY_CHECK Instance method Private Method 20101004
3 CHECK_VENDOR_COPY_EXIST Instance method Public Method checks vendor exist 20101201
4 CHECK_VENDOR_EXIST Instance method Public Method checks vendor exist 20100603
5 CHK_GENERIC Instance method Public Method generic parameters validations 20100531
6 CLEAR_MESSAGES Instance method Public Method 20110302
7 COMPUTE_OVERALL_SCORE Instance method Public Method 20100903
8 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20100525
9 CREATE_DOCUMENTS Instance method Private Method 20110420
10 DELETE Instance method Public Method 20101014
11 DELETE_DOCUMENTS Instance method Public Method Delete Attachments 20110426
12 FILL_CERTIFICATE_TXT Instance method Private Method fill_CERTIFICATE_TXT 20101116
13 GENERATE_SSTN_ID Instance method Private Method 20100901
14 GET_INSTANCE Static method Public Method Returns Instance of API class 20100527
15 GET_MESSAGES Instance method Public Method 20100906
16 GET_MULTI_VENDORS_SSTN Static method Public Method Get the sustainability attributes for list of vendors. 20100923
17 GET_VENDOR_CERT_SSTN Instance method Public Method Get the instance attributes 20101116
18 GET_VENDOR_DET_FROM_COPY Instance method Public Method Get vendor details for copy funct by pass lifnr and UUID 20100823
19 GET_VENDOR_SSTN Instance method Public Method Get the instance attributes 20100525
20 GET_VENDOR_SSTN_DATES Instance method Public Method Get the all the val dates for a lifnr 20100819
21 MAP_ACTIVITY Instance method Private Method 20101004
22 MASS_SAVE_SSTN Instance method Public Method Mass Save of Sustainability records 20100915
23 MODIFY_DATA_BADI Instance method Private Method Modify data through customer badi 20100906
24 READ_ATT_FILES Instance method Public Method 20101027
25 READ_COPY_LIFNR Instance method Public Method Returns MV_COPY_LIFNR 20101126
26 READ_DOC_FIRST_TIME Instance method Public Method 20110510
27 READ_DOC_NUMBER Instance method Public Method 20101109
28 READ_OBJ_LINK Instance method Public Method 20101021
29 REFRESH_DATA Instance method Public Method Refresh / Clear Data 20100603
30 REFRESH_INSTANCE Static method Public Method 20100826
31 SAVE_VENDOR_SSTN Instance method Public Method Save the instance attributes 20100525
32 SET_COPY_FROM_LIFNR Instance method Public Method Sets the member variable. 20101126
33 UNDELETE Instance method Public Method 20101014
34 UPDATE_ATTACHMENT Instance method Public Method Update docuemnt number and file names 20101021
35 UPDATE_CERTIFICATE Instance method Public Method Update docuemnt number and file names 20101109
36 UPDATE_VENDOR_SSTN Instance method Public Method Updates the instance attributes 20100525
Events
Class CL_LFS_SSTN_API has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TTY_MESSAGE Private See coding 20100531 BEGIN OF tty_message, message TYPE symsg, node_name TYPE /plmb/spi_node_name, field_name TYPE fieldname, collector TYPE REF TO /plmb/if_spi_collector, node_id_Root TYPE LFS_SSTN_HEADER, node_id_Header TYPE LFS_SSTN, node_id_Item TYPE LFS_SSTN_CERT, END OF tty_message
2 TYPE_T_MESSAGES Private See coding 20100531 type_t_messages TYPE STANDARD TABLE OF tty_message
Method Signatures

Method ADJUST_VALIDITY_DATES Signature

Method ADJUST_VALIDITY_DATES on class CL_LFS_SSTN_API has no parameter.
Method ADJUST_VALIDITY_DATES on class CL_LFS_SSTN_API has no exception.

Method AUTHORITY_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TRTYP Call by reference Type reference (TYPE) SSTN_AUTH Transaction type 20101004
2 Exporting RE_AUTH Call by reference Type reference (TYPE) ABAP_BOOL 20101004
# Exception Resumable Description Created on
1 NO_AUTHORITY No Authorisation to Read/Maintain Vendor Sustainability data 20101004

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_API 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_API has no exception.

Method CHK_GENERIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MSG_SSTN Call by reference Type reference (TYPE) LFS_SSTN_T_MESSAGES Sustainability Messages Table Type 20100531
2 Importing IS_LFS_SSTN Call by reference Type reference (TYPE) LFS_SSTN Vendor Master Sustainability Fields 20100817
3 Importing IV_NODE_NAME Call by reference Type reference (TYPE) /PLMB/SPI_NODE_NAME Node Name 20100715

Method CHK_GENERIC on class CL_LFS_SSTN_API has no exception.

Method CLEAR_MESSAGES Signature

Method CLEAR_MESSAGES on class CL_LFS_SSTN_API has no parameter.
Method CLEAR_MESSAGES on class CL_LFS_SSTN_API has no exception.

Method COMPUTE_OVERALL_SCORE Signature

Method COMPUTE_OVERALL_SCORE on class CL_LFS_SSTN_API has no parameter.
Method COMPUTE_OVERALL_SCORE on class CL_LFS_SSTN_API has no exception.

Method CONSTRUCTOR 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 20100825
2 Importing IV_MODE Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20100825
3 Importing IV_UUID Call by reference Type reference (TYPE) SSTN_UUID SSTN UUID 20100914

Method CONSTRUCTOR on class CL_LFS_SSTN_API has no exception.

Method CREATE_DOCUMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DOCNR Call by reference Type reference (TYPE) DOKNR Document number 20110420

Method CREATE_DOCUMENTS on class CL_LFS_SSTN_API has no exception.

Method DELETE Signature

Method DELETE on class CL_LFS_SSTN_API has no parameter.
Method DELETE on class CL_LFS_SSTN_API has no exception.

Method DELETE_DOCUMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOC_INFO Call by reference Type reference (TYPE) LFS_SSTN_DIR_SP DIR Original 20110426

Method DELETE_DOCUMENTS on class CL_LFS_SSTN_API has no exception.

Method FILL_CERTIFICATE_TXT Signature

Method FILL_CERTIFICATE_TXT on class CL_LFS_SSTN_API has no parameter.
Method FILL_CERTIFICATE_TXT on class CL_LFS_SSTN_API has no exception.

Method GENERATE_SSTN_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Value transfer Type reference (TYPE) LFS_SSTN_T_MESSAGES Sustainability Messages Table Type 20100901
2 Exporting EV_SSTN_ID Value transfer Type reference (TYPE) LIFNR_SUST_ID Vendor Sustainability ID 20100901

Method GENERATE_SSTN_ID on class CL_LFS_SSTN_API has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_API_REF Call by reference Object reference (TYPE REF TO) CL_LFS_SSTN_API API Class for Sustainable Attributes 20100527

Method GET_INSTANCE on class CL_LFS_SSTN_API has no exception.

Method GET_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) LFS_SSTN_T_MESSAGES Sustainability Messages Table Type 20100906

Method GET_MESSAGES on class CL_LFS_SSTN_API has no exception.

Method GET_MULTI_VENDORS_SSTN 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 Vendor Master Sustainability Fields 20100923
2 Importing IT_LIFNR Call by reference Type reference (TYPE) LFT_SSTN_LIFNR Table type for lifnr 20100923

Method GET_MULTI_VENDORS_SSTN on class CL_LFS_SSTN_API has no exception.

Method GET_VENDOR_CERT_SSTN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SSTN_CERT_ATTR Call by reference Type reference (TYPE) LFT_SSTN_CERT Vendor sustainability certificates 20101116
2 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR 'D' Single-Character Indicator 20101116
# Exception Resumable Description Created on
1 NO_AUTHORITY 20101116
2 OBJECT_LOCKED 20101116

Method GET_VENDOR_DET_FROM_COPY 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 Account Number of Vendor or Creditor 20100823
3 Importing IV_UUID Call by reference Type reference (TYPE) SSTN_UUID 20100823

Method GET_VENDOR_DET_FROM_COPY on class CL_LFS_SSTN_API has no exception.

Method GET_VENDOR_SSTN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_SSTN_ATTR Call by reference Type reference (TYPE) LFS_SSTN Vendor Master Sustainability Fields 20100915
2 Exporting ET_SSTN_CERT_ATTR Call by reference Type reference (TYPE) LFT_SSTN_CERT Vendor sustainability certificates 20100525
3 Exporting EV_ERROR Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20100603
4 Importing IV_LATEST Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100526
5 Importing IV_MODE Call by reference Type reference (TYPE) CHAR1 'D' Single-Character Indicator 20100527
6 Importing IV_ONLY_DATES Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100526
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
# Exception Resumable Description Created on
1 NO_AUTHORITY 20101004
2 OBJECT_LOCKED 20101022

Method GET_VENDOR_SSTN_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_SSTN_DATES on class CL_LFS_SSTN_API has no exception.

Method MAP_ACTIVITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TRTYP Call by reference Type reference (TYPE) SSTN_AUTH Vendor Sustainability Authorisation 20101004
2 Returning RE_ACTVT Value transfer Type reference (TYPE) SSTN_ACT Vendor Sustainability Activity 20101004

Method MAP_ACTIVITY on class CL_LFS_SSTN_API has no exception.

Method MASS_SAVE_SSTN 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_SSTN on class CL_LFS_SSTN_API has no exception.

Method MODIFY_DATA_BADI Signature

Method MODIFY_DATA_BADI on class CL_LFS_SSTN_API has no parameter.
Method MODIFY_DATA_BADI on class CL_LFS_SSTN_API has no exception.

Method READ_ATT_FILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ATT_FILES Call by reference Type reference (TYPE) LFS_SSTN_DIR_TTY Document SP Table Type 20101027

Method READ_ATT_FILES on class CL_LFS_SSTN_API has no exception.

Method READ_COPY_LIFNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LIFNR Call by reference Type reference (TYPE) LIFNR 20101126

Method READ_COPY_LIFNR on class CL_LFS_SSTN_API has no exception.

Method READ_DOC_FIRST_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DOC_FILES Call by reference Type reference (TYPE) LFS_SSTN_DIR_TTY Document SP Table Type 20110510

Method READ_DOC_FIRST_TIME on class CL_LFS_SSTN_API has no exception.

Method READ_DOC_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DOCNUMBER Call by reference Type reference (TYPE) SSTN_DOC_NUMBER Document Number 20101109

Method READ_DOC_NUMBER on class CL_LFS_SSTN_API has no exception.

Method READ_OBJ_LINK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DOC Call by reference Type reference (TYPE) LFS_SSTN_DIR_S Document Number 20101021
2 Importing IV_SUST_ID Call by reference Type reference (TYPE) SSTN_UUID SSTN UUID 20101021

Method READ_OBJ_LINK on class CL_LFS_SSTN_API has no exception.

Method REFRESH_DATA Signature

Method REFRESH_DATA on class CL_LFS_SSTN_API has no parameter.
Method REFRESH_DATA on class CL_LFS_SSTN_API has no exception.

Method REFRESH_INSTANCE Signature

Method REFRESH_INSTANCE on class CL_LFS_SSTN_API has no parameter.
Method REFRESH_INSTANCE on class CL_LFS_SSTN_API has no exception.

Method SAVE_VENDOR_SSTN 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 20100603
2 Exporting EV_FAILED Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20100603

Method SAVE_VENDOR_SSTN on class CL_LFS_SSTN_API has no exception.

Method SET_COPY_FROM_LIFNR 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 20101126

Method SET_COPY_FROM_LIFNR on class CL_LFS_SSTN_API has no exception.

Method UNDELETE 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 20101014

Method UNDELETE on class CL_LFS_SSTN_API has no exception.

Method UPDATE_ATTACHMENT 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) XFELD Document type error 20110519
2 Importing IS_DOC_INFO Call by reference Type reference (TYPE) LFS_SSTN_DIR_SP DIR Original 20101021

Method UPDATE_ATTACHMENT on class CL_LFS_SSTN_API has no exception.

Method UPDATE_CERTIFICATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ET_CERT_DATA Call by reference Type reference (TYPE) LFT_SSTN_CERT DIR Original 20101109

Method UPDATE_CERTIFICATE on class CL_LFS_SSTN_API has no exception.

Method UPDATE_VENDOR_SSTN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE_SSTN Call by reference Type reference (TYPE) LFS_SSTN_T_MESSAGES Sustainability Messages Table Type 20100531
2 Importing IS_LFS_SSTN Value transfer Type reference (TYPE) LFS_SSTN Vendor Master Sustainability Fields 20100525
3 Importing IT_LFS_SSTN_CERT Value transfer Type reference (TYPE) LFT_SSTN_CERT Vendor sustainability certificates 20100525
4 Importing IV_NODE_NAME Call by reference Type reference (TYPE) /PLMB/SPI_NODE_NAME Node Name 20100715

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