!--a11y-->
SAPClient Methods 
Public Constructors
|
public SAPClient (SAP.Connector.Destination destination) |
Initializes a new instance of the SAPClient class with the connection information from a SAP Destination object |
|
public SAPClient (System.String ConnectionString) |
Initializes a new instance of the SAPClient class with the connection information from a connection string. The connection string can be created manually or from one of the SAP logon controls. If you want to create a connection string manually, see the SAP Remote Function Call API documentation (RFCOpenEX). |
|
public SAPClient ( ) |
Initializes a new instance of the SAPClient class without connection information. The connection information has to be set in a separate step before you can use the proxy |
Public Methods
|
Public void <RFC Name> (RFC parameters) |
Executes a normal RFC call for the function specified in the SAP system. Typically out parameters are passed by reference |
|
Public void TRFC<RFC Name> (RFC parameters, RFCTID) |
Executes the RFC specified as TRFC and therefore requires an RFCTID parameter. You must have selected Create TRFC for this method to be available |
|
Public void QRFC<RFC Name> (RFC parameters, RFCQueueItem) |
Executes the RFC specified as QRFC and therefore requires a RFCQueueItem parameter. You must have selected Create QRFC for this method to be available |
|
Public System.IAsynchResult Begin<RFC Name> (RFC parameters, System.AsynchCallback, object asynchState) |
Executes the RFC specified using a Microsoft style asynchronous method invocation |
|
Public void End<RFC Name>(system.iasycresult asyncresult, ref parameters) |
Used to reattach to the result from the Asynchronous method invocation |
|
public System.Boolean CommitWork ( ) |
Used for stateful BAPI calls to commit the logical unit of work to the system |
|
public void ConfirmTID (SAP.Connector.RfcTID tid)
|
When using TRFC or QRFC programming you can use this method to confirm the TID after successfully passing the TRFC call to the SAP system |
|
public System.Boolean RollbackWork ( )
|
Used for stateful BAPI calls to commit the logical unit of work to the system |
Public Properties
|
public SAP.Connector.SAPConnection Connection [ get, set ] |
The connection object for connecting to the SAP system. Can be either SOAP or RFC connection. Should be created from one of the SAP logon controls |
|
public System.Int32 RfcTotalMiliSeconds |
The execution time in milliseconds |
Private Methods
|
protected System.IAsyncResult BeginSAPInvoke (System.String method , object[ ] methodParamsIn , System.AsyncCallback callback , System.Object asyncState) |
Used internally to start the asynchronous method invocation |
|
protected object[ ] EndSAPInvoke (System.IAsyncResult ar) |
Used internally to receive the results of the asynchronous method invocation |
|
protected object[ ] SAPInvoke (System.String method , object[ ] methodParamsIn) |
Used to submit a normal RFC for execution |
|
public void tRfcInvoke (System.String method , object[ ] methodParamsIn , SAP.Connector.RfcTID tid) |
Used to submit a TRFC for execution |
|
public void qRfcInvoke (System.String method , object[ ] methodParamsIn , SAP.Connector.RfcQueueItem qItem) |
Used to submit a QRFC for execution |
|
public void ActivateQueue (System.String QueueName) |
Used with QRFC processing |
|
public void DeativateQueue (System.String QueueName) |
Used with QRFC processing |