Package | Description |
---|---|
com.sap.conn.jco |
Contains the major part of the interfaces and factories that an application for JCo is typically dealing with.
|
com.sap.conn.jco.server |
Modifier and Type | Class and Description |
---|---|
class |
AbapClassException
This class represents an ABAP class exception.
|
class |
AbapException
A convenience class on top of JCoException that reports exceptions, which occurred
in an SAP system, while processing a function module.
|
Modifier and Type | Method and Description |
---|---|
void |
JCoDestination.changePassword(String oldPassword,
String newPassword)
Allows changing the password in the back-end for the user associated with the destination.
|
void |
JCoRequestUnit.commit(JCoDestination destination)
Commits the unit.
|
void |
JCoFunctionUnit.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.
|
String |
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.
|
JCoResponse |
JCoRequest.execute(JCoDestination destination)
Executes the request on the given target destination synchronously
using the RFC protocol.
|
void |
JCoFunction.execute(JCoDestination destination)
Executes the function on the given target destination synchronously.
|
void |
JCoRequest.execute(JCoDestination destination,
String tid)
Executes the request on the given target destination in transactional mode
using the tRfc protocol.
|
void |
JCoFunction.execute(JCoDestination destination,
String tid)
Executes the function 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.
|
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.
|
JCoAttributes |
JCoDestination.getAttributes()
Returns the attributes of the destination.
|
JCoClassMetaData |
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.
|
JCoFunction |
JCoRepository.getFunction(String functionName)
Returns a JCoFunction with initial parameters for the passed function name.
|
JCoListMetaData |
JCoRepository.getFunctionInterface(String functionName)
Returns the metadata for the passed function.
|
JCoFunctionTemplate |
JCoRepository.getFunctionTemplate(String functionName)
Returns the template for the passed function.
|
JCoFunctionUnitState |
JCoDestination.getFunctionUnitState(JCoUnitIdentifier unitIdentifier)
Returns the state of the unit with the given ID.
|
JCoRecordMetaData |
JCoRepository.getRecordMetaData(String recordName)
Returns the metadata for the passed structure/table name.
|
JCoRepository |
JCoDestination.getRepository()
Returns a repository instance that contains metadata for this
destination.
|
JCoRequest |
JCoRepository.getRequest(String functionName)
Returns a JCoRequest with initial parameters for the passed function name.
|
JCoRecordMetaData |
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.
|
Modifier and Type | Method and Description |
---|---|
static JCoServer |
JCoServerFactoryCF.getServer()
Return the available JCo server instance.
|
protected abstract JCoServer |
JCoServerFactoryCF.getServerInstance()
Do not use this method.
|
Copyright © 2024 SAP. All rights reserved.