Class TransactionConfigurationBase

All Implemented Interfaces:
BackendBusinessObject, BackendBusinessObjectJCo, TransactionConfigurationBackend
Direct Known Subclasses:
TransactionConfigurationERP

public abstract class TransactionConfigurationBase extends BackendBusinessObjectBaseJCo implements TransactionConfigurationBackend
Base class for backend implementation of TransactionConfiguration
  • Field Details

  • Constructor Details

    • TransactionConfigurationBase

      public TransactionConfigurationBase()
  • Method Details

    • getAllowedDeliveryTypes

      public Map<String,String> getAllowedDeliveryTypes() throws BackendException
      Description copied from interface: TransactionConfigurationBackend
      Read delivery types from cache (or from back-end, if cache is not ready)
      • CRM table crmc_ship_cond, value help crm_ship_cond
      • ERP table tvsb, value help h_tvsb
      Specified by:
      getAllowedDeliveryTypes in interface TransactionConfigurationBackend
      Returns:
      Map with < value(char 3), description>
      Throws:
      BackendException - in case of issues with the JCO-Connection or ABAP-errors in the back-end
    • initAllowedDeliveryTypes

      public Map<String,String> initAllowedDeliveryTypes() throws BackendException
      Initializes delivery type storage
      Returns:
      List of delivery types
      Throws:
      BackendException
    • getCacheRegionForCustomizing

      protected abstract String getCacheRegionForCustomizing()
      Returns:
      Key of cache region for delivery type customizing
    • initBackendObject

      public void initBackendObject() throws BackendException
      Description copied from interface: BackendBusinessObject
      This method is called by the SessionObjectManager to initialize object after all properties have been injected.
      Specified by:
      initBackendObject in interface BackendBusinessObject
      Overrides:
      initBackendObject in class BackendBusinessObjectBase
      Throws:
      BackendException - BackendException
    • isLanguageSwitchDelivCustomizingAvailable

      protected boolean isLanguageSwitchDelivCustomizingAvailable(JCoConnection connection)
      Parameters:
      connection - JCO connection to the back end
      Returns:
      Is FM ERP_WEC_CUST_SHIPCOND available?
    • getDeliveryTypes

      protected Map<String,String> getDeliveryTypes()
      Get cached delivery types via newly introduced FM ERP_WEC_CUST_SHIPCOND . If nothing is part of the cache yet, backend will be invoked.
      Returns:
      Map of delivery types with code as key and language dependent description as value
    • getDeliveryTypesFromBackend

      protected Map<String,String> getDeliveryTypesFromBackend()
      Get delivery types from backend via newly introduced FM ERP_WEC_CUST_SHIPCOND .
      Returns:
      Map of delivery types with code as key and language dependent description as value