public interface JCoFunction extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
execute(JCoDestination destination)
Starts the execution of the function on the given destination.
|
void |
execute(JCoDestination destination,
String tid)
Starts the execution of the function on the given destination.
|
void |
execute(JCoDestination destination,
String tid,
String queueName)
Starts the execution of the function on the given destination.
|
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 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 XML String.
|
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 © 2015 SAP. All Rights Reserved.