public interface JCoFunction extends Cloneable, Serializable
Modifier and Type | Method and Description |
---|---|
JCoFunction |
clone()
Clones this JCoFunction instance.
|
void |
execute(JCoDestination destination)
Executes the function on the given target destination synchronously.
|
void |
execute(JCoDestination destination,
String tid)
Executes the function on the given target destination in transactional mode
using the tRfc protocol.
|
void |
execute(JCoDestination destination,
String tid,
String queueName)
Executes the function on the given target destination in queued transactional mode
using the qRfc protocol.
|
JCoParameterList |
getChangingParameterList()
Returns the list of changing parameters.
|
AbapException |
getException(String key)
Returns the ABAP exception for the specified key.
|
AbapException[] |
getExceptionList()
Returns the list of defined ABAP exceptions that can occur.
|
JCoParameterList |
getExportParameterList()
Returns the list of export parameters.
|
JCoFunctionTemplate |
getFunctionTemplate()
Returns the function template, i.e.
|
JCoParameterList |
getImportParameterList()
Returns the list import parameters.
|
String |
getName()
Returns the function name.
|
JCoParameterList |
getTableParameterList()
Returns the list of table parameters.
|
boolean |
isAbapClassExceptionEnabled()
Returns the boolean value that indicates whether or not the server is permitted
to transmit an ABAP class exception when executing this function.
|
void |
setAbapClassExceptionMode(AbapClassException.Mode mode)
Sets the mode for ABAP class exceptions.
|
String |
toXML()
Returns the function as an XML string.
|
JCoFunction clone()
String getName()
JCoParameterList getImportParameterList()
JCoParameterList getExportParameterList()
JCoParameterList getChangingParameterList()
JCoParameterList getTableParameterList()
AbapException[] getExceptionList()
AbapException getException(String key)
key
- ABAP's error keyvoid 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, respectivelyvoid execute(JCoDestination destination) throws JCoException
destination
- the destination on which the function module should be executedJCoException
- if an exception occurred during the call executionvoid execute(JCoDestination destination, String tid) throws JCoException
destination
- the destination on which the function module 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 function module 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 toXML()
JCoFunctionTemplate getFunctionTemplate()
Copyright © 2023 SAP. All rights reserved.