|
||||||||||
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 a 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 | |
---|---|
JCoFunction |
clone()
Clones this JCoFunction instance. |
void |
execute(JCoDestination destination)
Executes the function on the given target destination synchronously using the sRfc protocol. |
void |
execute(JCoDestination destination,
java.lang.String tid)
Executes the function on the given target destination in transactional mode using the tRfc protocol. |
void |
execute(JCoDestination destination,
java.lang.String tid,
java.lang.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(java.lang.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. |
java.lang.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. |
java.lang.String |
toXML()
Returns the function as an XML string. |
Method Detail |
---|
JCoFunction clone()
java.lang.String getName()
JCoParameterList getImportParameterList()
JCoParameterList getExportParameterList()
JCoParameterList getChangingParameterList()
JCoParameterList getTableParameterList()
AbapException[] getExceptionList()
AbapException getException(java.lang.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, java.lang.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, java.lang.String tid, java.lang.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 name to use for the qRFC call
JCoException
- if an exception occurred during the call executionjava.lang.String toXML()
JCoFunctionTemplate getFunctionTemplate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |