|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JCoFunction
Class that represents a function. A function instance consists of name, an import parameter list, a changing parameter list, an export parameter list and a table parameter list. Moreover, it can have a list of AbapExceptions.
Method Summary | |
---|---|
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. |
Method Detail |
---|
String getName()
JCoParameterList getImportParameterList()
JCoParameterList getExportParameterList()
JCoParameterList getChangingParameterList()
JCoParameterList getTableParameterList()
AbapException[] getExceptionList()
AbapException getException(String key)
key
- ABAP's error key
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, respectivelyvoid execute(JCoDestination destination) throws JCoException
destination
- the destination on which the function module should be executed
JCoException
- 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 call
JCoException
- 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 call
JCoException
- if an exception occurred during the call executionString toXML()
JCoFunctionTemplate getFunctionTemplate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |