public interface JCoRequest extends JCoParameterList
Modifier and Type | Method and Description |
---|---|
JCoResponse |
execute(JCoDestination destination)
Executes the request on the given target destination synchronously
using the RFC protocol.
|
void |
execute(JCoDestination destination,
String tid)
Executes the request on the given target destination in transactional mode
using the tRfc protocol.
|
void |
execute(JCoDestination destination,
String tid,
String queueName)
Executes the request on the given target destination in queued transactional mode
using the qRfc protocol.
|
AbapException |
getException(String key)
Returns the ABAP exception for the specified key.
|
AbapException[] |
getExceptionList()
Returns the ABAP exception list.
|
String |
getName()
Returns the name of the function module that is referred to by the JCoRequest.
|
boolean |
isAbapClassExceptionEnabled()
Returns the boolean value that indicates whether or not the server is permitted
to transmit an ABAP class exception when executing this request.
|
void |
setAbapClassExceptionMode(AbapClassException.Mode mode)
Sets the mode for ABAP class exceptions.
|
getListMetaData, getParameterFieldIterator, isActive, isActive, setActive, setActive
clear, clone, copyFrom, fromJSON, fromJSON, getAbapObject, getAbapObject, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBinaryStream, getBinaryStream, getByte, getByte, getByteArray, getByteArray, getChar, getChar, getCharacterStream, getCharacterStream, getCharArray, getCharArray, getClassNameOfValue, getDate, getDate, getDouble, getDouble, getField, getField, getFieldCount, getFieldIterator, getFloat, getFloat, getInt, getInt, getLong, getLong, getMetaData, getShort, getShort, getString, getString, getStructure, getStructure, getTable, getTable, getTime, getTime, getValue, getValue, isInitialized, isInitialized, iterator, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toJSON, toJSON, toXML, toXML, toXML, write, write
forEach, spliterator
AbapException[] getExceptionList()
null
if none is definedAbapException getException(String key)
key
- the key for the exception as specified in the function interfacenull
JCoResponse execute(JCoDestination destination) throws JCoException
destination
- the destination on which the request should be executedJCoException
- if an exception occurred during the call executionJCoResponse
void execute(JCoDestination destination, String tid) throws JCoException
destination
- the destination on which the request should be executedtid
- the transaction ID to use for the tRFC callJCoException
- if an exception occurred during the call executionvoid execute(JCoDestination destination, String tid, String queueName) throws JCoException
destination
- the destination on which the request should be executedtid
- the transaction ID to use for the qRFC callqueueName
- the inbound queue to use for the qRFC callJCoException
- if an exception occurred during the call executionString getName()
void setAbapClassExceptionMode(AbapClassException.Mode mode)
mode
- the value determining whether ABAP class exceptions are permitted (full or
limited to the exception chain) or notboolean isAbapClassExceptionEnabled()
true
or false
depending on whether transmitting ABAP class
exceptions is permitted or not, respectivelyCopyright © 2023 SAP. All rights reserved.