CL_EHCSM_SPC_UTILITY - API: Providing Utility and Helper Methods

Fill RESBD Structure from EBP Component Structure   General Material Data  
This documentation is copyright by SAP AG.

Functionality

This class provides utility and helper methods that support the API for EHS specification management and enable application development based on a Web UI. This class is located in package CBUI_BO.

The following auxiliary methods are provided:

  • CHECK_CHANGE_NUMBER
    This method checks if a given change number exists in the system.
  • CHECK_GROUP_TYPE
    This method checks if a given group type (such as group for relationship or inheritance templates) exists in the system.
  • CHECK_FAILED_KEY
    This method interprets any specification-related DDIC data structure. If thedata represented is unknown in the specification database of EHS, the key information is appended to the list of failed keys.
  • CHECK_LOCK_MODE
    This method check the lock mode for consistency. If the provided lock mode is unknown, the lock mode will be interpreted as no lock.
  • CONCATENATE_SPC_USG_DATA
    This method concatenates usage strings of EHS specifications.
  • DELETE_LONGTEXT
    This method delete the long text that belongs to either a valuation or an identifier.
  • GET_ACCESS_SCENARIO
    This method returns correct scenario settings for accessing EHS specification data. The scenario to use is influenced by its import parameters.
  • GET_CHANGE_NUMBER_DESCRIPTION
    This method returns the description of an SAP engineering change number.
  • GET_EHP_SWITCH_STATUS
    This method get the status of a particular enhancement package switch.
  • GET_KEY_LINE_INDEX
    This method enhances a list with EHS specification keys by its line index.
  • GET_NEXT_RECN
    This method returns the next available record number.
  • GET_NEXT_SPC_STATUS
    This method determines all possible status values for a given status value.
  • GET_RECN_BY_SUBID
    This method returns RECN of a specification if only the SUBID is known.
  • GET_SAPUSER_DESCRIPTION
    This method returns the description of a given SAP user.
  • GET_SPC_KEY
    This method returns a specification related key.
  • GET_SPC_KEYS
    This method return keys for specification-related data.
  • GET_SPC_KEYS_AND_CHECK
    This method determines and checks any specification-related key. If specificationdata is unknown in the database, the corresponding key is passed to the list of failed keys. This method is also able to return only valid specification-related data via export parameter ET_TABLE_FILTERED.
  • GET_SPEC_TYPE_BY_RECN_SUBID
    This method determines the name of specification type of a given specification.
  • GET_STATUS_DESCRIPTION
    This method returns the language-dependent description of a status.
  • GET_USER_PARAMETER
    This method returns the value for a given user parameter stored in the SAP system memory.
  • IS_SPC_VAL_TXT_A_DOCUMENT_LINK
    This method checks if a user-defined text instance that is based on a value assignment is a document link.
  • MAP_SPC_ANY_TABLE
    This method maps data of any EHS specification-related DDIC structure intoanother one. Using the import parameter IV_LINEMODE, you can influence the line mode of the specification data. The optional export parameter ET_KEY_IN returns the keys of the provided specification data.
  • RETURN_SPC_KEYS
    This method returns the keys of a list of EHS specification-related data.
  • RETURN_SPC_RECNROOT
    This method return a list of RECNROOT numbers for specification-related data.
  • SET_USER_PARAMETER
    This method sets the value for a given user parameter stored in the SAP system memory.
  • TRANSL_VAT_ATNAM_2_METHOD
    This method translates column names of value assignment types into corresponding API methods that can be used to determine the data belonging to that column.

Relationships

Example

Notes

Further information



BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.


Length: 4474 Date: 20120526 Time: 115408     triton ( 126 ms )