Class BackendBusinessObjectBaseJCo

    • Constructor Detail

      • BackendBusinessObjectBaseJCo

        public BackendBusinessObjectBaseJCo()
    • Method Detail

      • getJCoConnection

        public JCoConnection getJCoConnection​(java.lang.String connectionName,
                                              java.lang.String destinationName)
        Description copied from interface: BackendBusinessObjectJCo
        Returns the requested JCo connection.
        Specified by:
        getJCoConnection in interface BackendBusinessObjectJCo
        Parameters:
        connectionName - name of the connection as defined in sapcorejco-spring.xml (e.g. JCoConnectionStateless)
        destinationName - name of the RFC destination to be used
        Returns:
        JCo client connection to an SAP system
      • getJCoConnection

        public JCoConnection getJCoConnection​(java.lang.String connectionName,
                                              java.lang.String destinationName,
                                              java.lang.String scopeId)
        Description copied from interface: BackendBusinessObjectJCo
        Returns the requested JCo connection for a given scope.
        Specified by:
        getJCoConnection in interface BackendBusinessObjectJCo
        Parameters:
        connectionName - name of the connection as defined in sapcorejco-spring.xml (e.g. JCoConnectionStateless)
        destinationName - name of the RFC destination to be used
        scopeId - scope id which is needed to identify different connections (sessions) to the same destination
        Returns:
        JCo client connection to an SAP system
      • getModuleId

        protected java.lang.String getModuleId()
        Get the current module id.
        Returns:
        module id