|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JCoRequest
A JCoRequest is a special view on a JCoFunction and is used in the Request/Response model of JCo function calls. It contains all parameters of a function that are inputs to a function call, the import, changing and table parameters.
Method Summary | |
---|---|
JCoResponse |
execute(JCoDestination destination)
Executes the request on the given target destination synchronously using the sRfc protocol. |
AbapException |
getException(java.lang.String key)
Returns the ABAP exception for the specified key. |
AbapException[] |
getExceptionList()
Returns the ABAP exception list. |
java.lang.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. |
Methods inherited from interface com.sap.conn.jco.JCoParameterList |
---|
getListMetaData, getParameterFieldIterator, isActive, isActive, setActive, setActive |
Method Detail |
---|
AbapException[] getExceptionList()
null
if none is definedAbapException getException(java.lang.String key)
key
- the key for the exception as specified in the function interface
null
if none is defined for the specified keyJCoResponse execute(JCoDestination destination) throws JCoException
destination
- the destination on which the request should be executed
JCoException
- if an exception occurred during the call executionJCoResponse
java.lang.String 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, respectively
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |