Uses of Class
com.sap.conn.jco.JCoException
Packages that use JCoException
Package
Description
Contains the major part of the interfaces and factories that an application for JCo is typically dealing with.
-
Uses of JCoException in com.sap.conn.jco
Subclasses of JCoException in com.sap.conn.jcoModifier and TypeClassDescriptionclass
This class represents an ABAP class exception.class
A convenience class on top of JCoException that reports exceptions, which occurred in an SAP system, while processing a function module.Methods in com.sap.conn.jco that throw JCoExceptionModifier and TypeMethodDescriptionvoid
JCoDestination.changePassword
(String oldPassword, String newPassword) Allows changing the password in the back-end for the user associated with the destination.void
JCoFunctionUnit.commit
(JCoDestination destination) Commits the unit.void
JCoRequestUnit.commit
(JCoDestination destination) Commits the unit.void
JCoDestination.confirmFunctionUnit
(JCoUnitIdentifier unitIdentifier) Confirms that a bgRFC unit has been executed successfully.void
JCoDestination.confirmTID
(String tid) Confirms that a transaction (tRFC/qRFC) has been executed successfully.JCoDestination.createTID()
Creates a new transaction ID that can be used for tRFC/qRFC requests.static void
JCoContext.end
(JCoDestination destination) Ends a stateful call sequence for calls to the specified destination.void
JCoFunction.execute
(JCoDestination destination) Executes the function on the given target destination synchronously.void
JCoFunction.execute
(JCoDestination destination, String tid) Executes the function on the given target destination in transactional mode using the tRfc protocol.void
JCoFunction.execute
(JCoDestination destination, String tid, String queueName) Executes the function on the given target destination in queued transactional mode using the qRfc protocol.JCoRequest.execute
(JCoDestination destination) Executes the request on the given target destination synchronously using the RFC protocol.void
JCoRequest.execute
(JCoDestination destination, String tid) Executes the request on the given target destination in transactional mode using the tRfc protocol.void
JCoRequest.execute
(JCoDestination destination, String tid, String queueName) Executes the request on the given target destination in queued transactional mode using the qRfc protocol.JCoDestination.getAttributes()
Returns the attributes of the destination.JCoRepository.getClassMetaData
(String className) Returns the metadata for the passed class/interface name.static JCoDestination
JCoDestinationManager.getDestination
(String destinationName) Call this method to get an instance of a destination, on which you need to execute a function module.static JCoDestination
JCoDestinationManager.getDestination
(String destinationName, String scopeType) Call this method to get an instance of a destination, on which you need to execute a function module.protected abstract JCoDestination
JCoDestinationManager.getDestinationInstance
(String destinationName, String scopeType) Do not use this method.JCoRepository.getFunction
(String functionName) Returns a JCoFunction with initial parameters for the passed function name.JCoRepository.getFunctionInterface
(String functionName) Returns the metadata for the passed function.JCoRepository.getFunctionTemplate
(String functionName) Returns the template for the passed function.JCoDestination.getFunctionUnitState
(JCoUnitIdentifier unitIdentifier) Returns the state of the unit with the given ID.JCoRepository.getRecordMetaData
(String recordName) Returns the metadata for the passed structure/table name.JCoDestination.getRepository()
Returns a repository instance that contains metadata for this destination.JCoRepository.getRequest
(String functionName) Returns a JCoRequest with initial parameters for the passed function name.JCoRepository.getStructureDefinition
(String structureName) Returns the metadata for the passed structure/table name.void
JCoDestination.ping()
Executes a connection test for this destination.static JCoRepositoryQueryResult
JCo.queryMetaDataSet
(JCoRepository repository, List<String> functions, List<String> types, List<String> classes) Queries the metadata for function interfaces, types and classes.int
JCoRepository.removeOutdatedMetaDataFromCache()
Removes outdated metadata from the local cache.void
JCoCustomRepository.setDestination
(JCoDestination destination) Set the destination for the remote queries.void
JCoCustomDestination.setRepositoryDestination
(JCoDestination destination) Sets the destination, whose repository will be used for meta data queries for this destination. -
Uses of JCoException in com.sap.conn.jco.server
Methods in com.sap.conn.jco.server that throw JCoExceptionModifier and TypeMethodDescriptionstatic JCoServer
JCoServerFactoryCF.getServer()
Return the available JCo server instance.protected abstract JCoServer
JCoServerFactoryCF.getServerInstance()
Do not use this method.