com.sap.mw.jco
Interface JCO.IDocument
- Enclosing class:
- JCO
- public static interface JCO.IDocument
Interface for IDoc class libraries.
Implementors of the SAP Java Base IDoc Class Library must implement this
interface to "serialize" the control and data record hierarchy into the
respect JCO.Tables and call the appropriate JCO.Function.
- Since:
- JCo 2.0.4
Method Summary |
void |
send(JCO.Client client,
java.lang.String tid,
java.lang.String queue_name,
int queue_pos,
char idoc_version,
int options)
Sends the intermediate document (IDoc) to an SAP system. |
send
public void send(JCO.Client client,
java.lang.String tid,
java.lang.String queue_name,
int queue_pos,
char idoc_version,
int options)
- Sends the intermediate document (IDoc) to an SAP system.
- Parameters:
client
- the client connection object to use for sending the IDoc.
The connection must already be open.tid
- the transaction ID to use for this call.queue_name
- the queue name where to insert the transaction.
If queue_name is null the call will be executed in
normal transaction mode.queue_pos
- the position in the queue where to insert the transactionidoc_version
- the idoc version that will be used. Possible
options are JCO.IDOC_VERSION_DEFAULT
JCO.IDOC_VERSION_2
JCO.IDOC_VERSION_3
options
- the sending options that will be used.- Throws:
JCO.Exception
- thrown if something went wrong during communication.java.lang.RuntimeException
- thrown if something went wrong when
parsing the IDoc.- Since:
- JCo 2.0.4