⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jco.client.html

📁 SAP ERP的二次开发
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<DD>Executes the function on the remote server synchronously<DD><DL>
<DT><B>Parameters:</B><DD><CODE>function</CODE> - the function to execute on the remote server<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.</DL>
</DD>
</DL>
<HR>

<A NAME="execute(com.sap.mw.jco.JCO.Function, java.lang.String)"><!-- --></A><H3>
execute</H3>
<PRE>
public void <B>execute</B>(<A HREF="../../../../com/sap/mw/jco/JCO.Function.html">JCO.Function</A>&nbsp;function,                    java.lang.String&nbsp;tid)</PRE>
<DL>
<DD>Executes the function on the remote server in transactional mode (asynchronously)<DD><DL>
<DT><B>Parameters:</B><DD><CODE>function</CODE> - the function to execute on the remote server<DD><CODE>tid</CODE> - the transaction id to use for this call<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.  <em>Note:</em> Don't forget to call <tt>confirmTID()</tt> if this call was successful</DL>
</DD>
</DL>
<HR>

<A NAME="execute(com.sap.mw.jco.JCO.Function, java.lang.String, java.lang.String)"><!-- --></A><H3>
execute</H3>
<PRE>
public void <B>execute</B>(<A HREF="../../../../com/sap/mw/jco/JCO.Function.html">JCO.Function</A>&nbsp;function,                    java.lang.String&nbsp;tid,                    java.lang.String&nbsp;queue_name)</PRE>
<DL>
<DD>Executes the function on the remote server in queued transactional mode (asynchronously)<DD><DL>
<DT><B>Parameters:</B><DD><CODE>function</CODE> - the function to execute on the remote server<DD><CODE>tid</CODE> - the transaction id to use for this call<DD><CODE>queue_name</CODE> - the queue name where to insert the transaction.         If queue_name is <tt>null</tt> the call will be executed in normal         transaction mode.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.  <em>Note:</em> Don't forget to call <tt>confirmTID()</tt> if this call was successful<DT><B>Since: </B><DD>JCo 1.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="execute(com.sap.mw.jco.JCO.Function, java.lang.String, java.lang.String, int)"><!-- --></A><H3>
execute</H3>
<PRE>
public void <B>execute</B>(<A HREF="../../../../com/sap/mw/jco/JCO.Function.html">JCO.Function</A>&nbsp;function,                    java.lang.String&nbsp;tid,                    java.lang.String&nbsp;queue_name,                    int&nbsp;queue_pos)</PRE>
<DL>
<DD>Executes the function on the remote server in transactional mode (asynchronously)<DD><DL>
<DT><B>Parameters:</B><DD><CODE>function</CODE> - the function to execute on the remote server<DD><CODE>tid</CODE> - the transaction id to use for this call<DD><CODE>queue_name</CODE> - the queue name where to insert the transaction.         If queue_name is <tt>null</tt> the call will be executed in normal         transaction mode.<DD><CODE>queue_pos</CODE> - the position in the queue where to insert the transaction<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.  <em>Note:</em> Don't forget to call <tt>confirmTID()</tt> if this call was successful<DT><B>Since: </B><DD>JCo 1.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="execute(java.lang.String, com.sap.mw.jco.JCO.ParameterList, com.sap.mw.jco.JCO.ParameterList)"><!-- --></A><H3>
execute</H3>
<PRE>
public void <B>execute</B>(java.lang.String&nbsp;name,                    <A HREF="../../../../com/sap/mw/jco/JCO.ParameterList.html">JCO.ParameterList</A>&nbsp;input,                    <A HREF="../../../../com/sap/mw/jco/JCO.ParameterList.html">JCO.ParameterList</A>&nbsp;output)</PRE>
<DL>
<DD>Executes the function on the remote server synchronously<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the remote function to execute<DD><CODE>input</CODE> - the list of parameters to send to the remote function module<DD><CODE>output</CODE> - the list of parameters to receive from the remote function module<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.</DL>
</DD>
</DL>
<HR>

<A NAME="execute(java.lang.String, com.sap.mw.jco.JCO.ParameterList, com.sap.mw.jco.JCO.ParameterList, com.sap.mw.jco.JCO.ParameterList)"><!-- --></A><H3>
execute</H3>
<PRE>
public void <B>execute</B>(java.lang.String&nbsp;name,                    <A HREF="../../../../com/sap/mw/jco/JCO.ParameterList.html">JCO.ParameterList</A>&nbsp;input,                    <A HREF="../../../../com/sap/mw/jco/JCO.ParameterList.html">JCO.ParameterList</A>&nbsp;output,                    <A HREF="../../../../com/sap/mw/jco/JCO.ParameterList.html">JCO.ParameterList</A>&nbsp;tables)</PRE>
<DL>
<DD>Executes the function on the remote server synchronously<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the remote function to execute<DD><CODE>input</CODE> - the list of parameters to send to the remote function module<DD><CODE>output</CODE> - the list of parameters to receive from the remote function module<DD><CODE>tables</CODE> - the list of tables to pass on to the remote function module<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.</DL>
</DD>
</DL>
<HR>

<A NAME="execute(java.lang.String, com.sap.mw.jco.JCO.ParameterList, com.sap.mw.jco.JCO.ParameterList, java.lang.String)"><!-- --></A><H3>
execute</H3>
<PRE>
public void <B>execute</B>(java.lang.String&nbsp;name,                    <A HREF="../../../../com/sap/mw/jco/JCO.ParameterList.html">JCO.ParameterList</A>&nbsp;input,                    <A HREF="../../../../com/sap/mw/jco/JCO.ParameterList.html">JCO.ParameterList</A>&nbsp;tables,                    java.lang.String&nbsp;tid)</PRE>
<DL>
<DD>Executes the function on the remote server in transactional mode (asynchronously)<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the remote function to execute<DD><CODE>input</CODE> - the list of parameters to send to the remote function module<DD><CODE>tables</CODE> - the list of tables to pass on to the remote function module<DD><CODE>tid</CODE> - the transaction id to use for this call<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.  <em>Note:</em> Don't forget to call <tt>confirmTID()</tt> if this call was successful</DL>
</DD>
</DL>
<HR>

<A NAME="execute(java.lang.String, com.sap.mw.jco.JCO.ParameterList, com.sap.mw.jco.JCO.ParameterList, java.lang.String, java.lang.String)"><!-- --></A><H3>
execute</H3>
<PRE>
public void <B>execute</B>(java.lang.String&nbsp;name,                    <A HREF="../../../../com/sap/mw/jco/JCO.ParameterList.html">JCO.ParameterList</A>&nbsp;input,                    <A HREF="../../../../com/sap/mw/jco/JCO.ParameterList.html">JCO.ParameterList</A>&nbsp;tables,                    java.lang.String&nbsp;tid,                    java.lang.String&nbsp;queue_name)</PRE>
<DL>
<DD>Executes the function on the remote server in queued transactional mode (asynchronously)<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the remote function to execute<DD><CODE>input</CODE> - the list of parameters to send to the remote function module<DD><CODE>tables</CODE> - the list of tables to pass on to the remote function module<DD><CODE>tid</CODE> - the transaction id to use for this call<DD><CODE>queue_name</CODE> - the queue name where to insert the transaction.         If queue_name is <tt>null</tt> the call will be executed in normal         transaction mode.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.  <em>Note:</em> Don't forget to call <tt>confirmTID()</tt> if this call was successful<DT><B>Since: </B><DD>JCo 1.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="execute(java.lang.String, com.sap.mw.jco.JCO.ParameterList, com.sap.mw.jco.JCO.ParameterList, java.lang.String, java.lang.String, int)"><!-- --></A><H3>
execute</H3>
<PRE>
public void <B>execute</B>(java.lang.String&nbsp;name,                    <A HREF="../../../../com/sap/mw/jco/JCO.ParameterList.html">JCO.ParameterList</A>&nbsp;input,                    <A HREF="../../../../com/sap/mw/jco/JCO.ParameterList.html">JCO.ParameterList</A>&nbsp;tables,                    java.lang.String&nbsp;tid,                    java.lang.String&nbsp;queue_name,                    int&nbsp;queue_pos)</PRE>
<DL>
<DD>Executes the function on the remote server in transactional mode (asynchronously)<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the remote function to execute<DD><CODE>input</CODE> - the list of parameters to send to the remote function module<DD><CODE>tables</CODE> - the list of tables to pass on to the remote function module<DD><CODE>tid</CODE> - the transaction id to use for this call<DD><CODE>queue_name</CODE> - the queue name where to insert the transaction.         If queue_name is <tt>null</tt> the call will be executed in normal         transaction mode.<DD><CODE>queue_pos</CODE> - the position in the queue where to insert the transaction<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.  <em>Note:</em> Don't forget to call <tt>confirmTID()</tt> if this call was successful<DT><B>Since: </B><DD>JCo 1.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="execute(com.sap.mw.jco.JCO.Request)"><!-- --></A><H3>
execute</H3>
<PRE>
public <A HREF="../../../../com/sap/mw/jco/JCO.Response.html">JCO.Response</A> <B>execute</B>(<A HREF="../../../../com/sap/mw/jco/JCO.Request.html">JCO.Request</A>&nbsp;request)</PRE>
<DL>
<DD>Executes the request on the remote server synchronously<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - the request to execute on the remote server<DT><B>Returns:</B><DD>JCO.Response the response for <tt>null</tt> if the called function does not export any data<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.<DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="execute(com.sap.mw.jco.JCO.Request, java.lang.String)"><!-- --></A><H3>
execute</H3>
<PRE>
public void <B>execute</B>(<A HREF="../../../../com/sap/mw/jco/JCO.Request.html">JCO.Request</A>&nbsp;request,                    java.lang.String&nbsp;tid)</PRE>
<DL>
<DD>Executes the request on the remote server asynchronously<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - the request to execute on the remote server<DD><CODE>tid</CODE> - the transaction id to use for this call<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.<DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="execute(com.sap.mw.jco.JCO.Request, java.lang.String, java.lang.String)"><!-- --></A><H3>
execute</H3>
<PRE>
public void <B>execute</B>(<A HREF="../../../../com/sap/mw/jco/JCO.Request.html">JCO.Request</A>&nbsp;request,                    java.lang.String&nbsp;tid,                    java.lang.String&nbsp;queue_name)</PRE>
<DL>
<DD>Executes the request on the remote server asynchronously<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - the request to execute on the remote server<DD><CODE>tid</CODE> - the transaction id to use for this call<DD><CODE>queue_name</CODE> - the queue name where to insert the transaction.         if queue_name is <tt>null</tt> the call will be executed in normal         transaction mode.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.<DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="execute(com.sap.mw.jco.JCO.Request, java.lang.String, java.lang.String, int)"><!-- --></A><H3>
execute</H3>
<PRE>
public void <B>execute</B>(<A HREF="../../../../com/sap/mw/jco/JCO.Request.html">JCO.Request</A>&nbsp;request,                    java.lang.String&nbsp;tid,                    java.lang.String&nbsp;queue_name,                    int&nbsp;queue_pos)</PRE>
<DL>
<DD>Executes the request on the remote server asynchronously<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - the request to execute on the remote server<DD><CODE>tid</CODE> - the transaction id to use for this call<DD><CODE>queue_name</CODE> - the queue name where to insert the transaction.         If queue_name is <tt>null</tt> the call will be executed in normal         transaction mode.<DD><CODE>queue_pos</CODE> - the position in the queue where to insert the transaction<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.AbapException.html">JCO.AbapException</A></CODE> - thrown if something went awry in the called function.<DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication, marshalling, etc.<DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="send(java.lang.Object, java.lang.String)"><!-- --></A><H3>
send</H3>
<PRE>
public void <B>send</B>(java.lang.Object&nbsp;idoc,                 java.lang.String&nbsp;tid)</PRE>
<DL>
<DD>Asynchronously sends an intermediate document (IDoc) to the remote server<DD><DL>
<DT><B>Parameters:</B><DD><CODE>idoc</CODE> - the intermediate document to send. This has to be an implementation of              the JCO.IDocument interface.<DD><CODE>tid</CODE> - the transaction ID to use for this call<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication.<DD><CODE>java.lang.RuntimeException</CODE> - thrown if something went wrong when             parsing the IDoc.<DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="send(java.lang.Object, java.lang.String, java.lang.String)"><!-- --></A><H3>
send</H3>
<PRE>
public void <B>send</B>(java.lang.Object&nbsp;idoc,                 java.lang.String&nbsp;tid,                 java.lang.String&nbsp;queue_name)</PRE>
<DL>
<DD>Asynchronously sends an intermediate document (IDoc) to an inbound queue  of a remote server<DD><DL>
<DT><B>Parameters:</B><DD><CODE>idoc</CODE> - the intermediate document to send. The passed object must have the         JCO.IDocument interface implemented.<DD><CODE>tid</CODE> - the transaction ID to use for this call<DD><CODE>queue_name</CODE> - the queue name where to insert the transaction.         If queue_name is <tt>null</tt> the call will be executed in normal         transaction mode.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication.<DD><CODE>java.lang.RuntimeException</CODE> - thrown if something went wrong when             parsing the IDoc.<DT><B>Since: </B><DD>JCo 2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="send(java.lang.Object, java.lang.String, java.lang.String, int)"><!-- --></A><H3>
send</H3>
<PRE>
public void <B>send</B>(java.lang.Object&nbsp;idoc,                 java.lang.String&nbsp;tid,                 java.lang.String&nbsp;queue_name,                 int&nbsp;queue_pos)</PRE>
<DL>
<DD>Asynchronously sends an intermediate document (IDoc) to an inbound queue  of a remote server<DD><DL>
<DT><B>Parameters:</B><DD><CODE>idoc</CODE> - the intermediate document to send. The passed object must have the         JCO.IDocument interface implemented.<DD><CODE>tid</CODE> - the transaction ID to use for this call<DD><CODE>queue_name</CODE> - the queue name where to insert the transaction.         If queue_name is <tt>null</tt> the call will be executed in normal         transaction mode.<DD><CODE>queue_pos</CODE> - the position in the queue where to insert the transaction<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/sap/mw/jco/JCO.Exception.html">JCO.Exception</A></CODE> - thrown if something went wrong during communication.<DD><CODE>java.lang.RuntimeException</CODE> - thrown if something went wrong when             parsing the IDoc.<DT><B>Since: </B><DD>JCo 2.0.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="send(java.lang.Object, java.lang.String, char)"><!-- --></A><H3>
send</H3>
<PRE>
public void <B>send</B>(java.lang.Object&nbsp;idoc,                 java.lang.String&nbsp;tid,                 char&nbsp;idoc_version)</PRE>
<DL>
<DD>Asynchronously sends an intermediate document (IDoc) to the remote server<DD><DL>
<DT><B>Parameters:</B><DD><CODE>idoc</CODE> - the intermediate document to send. The passed object must have the         JCO.IDocument interface implemented.<DD><CODE>tid</CODE> - the transaction ID to use for this call<DD><CODE>idoc_version</CODE> - the idoc version that will be used. Possible  options are <ul><li><code>JCO.IDOC_VERSION_DEFAULT</code>  <

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -