Hierarchy
⤷
⤷
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 | 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 | Static Attribute | Public | Type reference (TYPE) | CHAR10 | 'LIFNR_SST' | Character Field Length = 10 | 20101027 | ||
| 2 | Instance attribute | Private | Type reference (TYPE) | LFS_SSTN | Vendor Master Sustainability Fields | 20100914 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | LFS_SSTN | Vendor Master Sustainability Fields | 20101005 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | LFS_SSTN_T_MESSAGES | Sustainability Messages Table Type | 20100906 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | LFT_SSTN_CERT | Vendor sustainability certificates | 20100914 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | LFT_SSTN_CERT | Vendor sustainability certificates | 20101208 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | LFS_SSTN_DIR_TTY | Document Details | 20101021 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | LFS_SSTN_DIR_TTY | Deleted Documents | 20110509 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | LFS_SSTN_DIR_TTY | Document SP Table Type | 20101109 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | LFS_SSTN_DIR_TTY | Deleted documents | 20110510 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | LIFNR | Account Number of Vendor or Creditor | 20101126 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | LIFNR | Account Number of Vendor or Creditor | 20100914 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20100914 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | SSTN_UUID | SSTN UUID | 20100914 | |||
| 15 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_LFS_SSTN_API | API Class for Sustainable Attributes | 20100527 | |||
| 16 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_LFS_SSTN_DB | To update the database of vendor sustainability | 20100525 |
Methods
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 | IV_TRTYP | Call by reference | Type reference (TYPE) | SSTN_AUTH | Transaction type | 20101004 | |||
| 2 | RE_AUTH | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20101004 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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_API 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_API has no exception.
Method CHK_GENERIC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MSG_SSTN | Call by reference | Type reference (TYPE) | LFS_SSTN_T_MESSAGES | Sustainability Messages Table Type | 20100531 | |||
| 2 | IS_LFS_SSTN | Call by reference | Type reference (TYPE) | LFS_SSTN | Vendor Master Sustainability Fields | 20100817 | |||
| 3 | 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 | IV_LIFNR | Call by reference | Type reference (TYPE) | LIFNR | Account Number of Vendor or Creditor | 20100825 | |||
| 2 | IV_MODE | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20100825 | |||
| 3 | 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 | 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 | 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 | ET_MESSAGES | Value transfer | Type reference (TYPE) | LFS_SSTN_T_MESSAGES | Sustainability Messages Table Type | 20100901 | |||
| 2 | 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 | 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 | 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 | ET_SSTN_ATTR | Call by reference | Type reference (TYPE) | LFT_SSTN_SMC | Vendor Master Sustainability Fields | 20100923 | |||
| 2 | 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 | ET_SSTN_CERT_ATTR | Call by reference | Type reference (TYPE) | LFT_SSTN_CERT | Vendor sustainability certificates | 20101116 | |||
| 2 | IV_LIFNR | Call by reference | Type reference (TYPE) | LIFNR | 'D' | Single-Character Indicator | 20101116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20101116 | |||
| 2 | 20101116 |
Method GET_VENDOR_DET_FROM_COPY 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 | Account Number of Vendor or Creditor | 20100823 | |||
| 3 | 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 | ES_SSTN_ATTR | Call by reference | Type reference (TYPE) | LFS_SSTN | Vendor Master Sustainability Fields | 20100915 | |||
| 2 | ET_SSTN_CERT_ATTR | Call by reference | Type reference (TYPE) | LFT_SSTN_CERT | Vendor sustainability certificates | 20100525 | |||
| 3 | EV_ERROR | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20100603 | |||
| 4 | IV_LATEST | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100526 | |||
| 5 | IV_MODE | Call by reference | Type reference (TYPE) | CHAR1 | 'D' | Single-Character Indicator | 20100527 | ||
| 6 | IV_ONLY_DATES | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100526 | |||
| 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 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20101004 | |||
| 2 | 20101022 |
Method GET_VENDOR_SSTN_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_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 | IV_TRTYP | Call by reference | Type reference (TYPE) | SSTN_AUTH | Vendor Sustainability Authorisation | 20101004 | |||
| 2 | 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 | 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_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 | 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 | 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 | 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 | 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 | ES_DOC | Call by reference | Type reference (TYPE) | LFS_SSTN_DIR_S | Document Number | 20101021 | |||
| 2 | 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 | ES_SSTN | Call by reference | Type reference (TYPE) | LFS_SSTN | Vendor Master Sustainability Fields | 20100603 | |||
| 2 | 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 | 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 | 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 | EV_ERROR | Call by reference | Type reference (TYPE) | XFELD | Document type error | 20110519 | |||
| 2 | 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 | 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 | ET_MESSAGE_SSTN | Call by reference | Type reference (TYPE) | LFS_SSTN_T_MESSAGES | Sustainability Messages Table Type | 20100531 | |||
| 2 | IS_LFS_SSTN | Value transfer | Type reference (TYPE) | LFS_SSTN | Vendor Master Sustainability Fields | 20100525 | |||
| 3 | IT_LFS_SSTN_CERT | Value transfer | Type reference (TYPE) | LFT_SSTN_CERT | Vendor sustainability certificates | 20100525 | |||
| 4 | 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 |