For developing SharePoint applications use the ERPConnectServices.Server.Common.dll. The ERPConnectServiceClient class offers the following public methods.

Click to open C# example.
#region ERPConnectServiceClient
///
/// Initializes a new instance of the ERPConnectServiceClient class.
///
public ERPConnectServiceClient()
  
///
/// Initializes a new instance of the ERPConnectServiceClient class with a given proxy instance.
///
/// The proxy instance.
public ERPConnectServiceClient(ERPConnectServiceApplicationProxy proxy)
  
///
/// Initializes a new instance of the ERPConnectServiceClient class with a given service context instance
/// and a SAP Logon Ticket (SSO ticket).
///
/// The service context.
public ERPConnectServiceClient(string applicationName, string ssoTicket)
  
///
/// Initializes a new instance of the ERPConnectServiceClient class with a given service context instance.
///
/// The service context.
public ERPConnectServiceClient(SPServiceContext serviceContext)
  
///
/// Initializes a new instance of the ERPConnectServiceClient class with a given service context instance and application name.
///
/// The service context.
/// The application name.
public ERPConnectServiceClient(SPServiceContext serviceContext, string applicationName)
#endregion
  
#region Connection Scope Operations
public void BeginConnectionScope()
public void EndConnectionScope()
#endregion
  
#region Function Module Operations
public ERPFunction CreateFunction(string name)
#endregion
  
#region Table Operations
public DataTable ExecuteTableQuery(string tableName)
public DataTable ExecuteTableQuery(string tableName, ExecuteTableQuerySettings settings)
#endregion
  
#region XQL Operations
public ERPDataTable ExecuteXQL(string query)
public ERPDataTable ExecuteXQL(string query, ERPXtractQLParameterCollection parameters)
public DataTable ExecuteXQLAndReturnDataTable(string query)
public DataTable ExecuteXQLAndReturnDataTable(string query, ERPXtractQLParameterCollection parameters)
#endregion

The ExecuteTableQuerySettings class has the following properties:

Click to open C# example.
#region class ExecuteTableQuerySettings
public class ExecuteTableQuerySettings
    {
        public int RowSkip { get; set; }
        public int RowCount { get; set; }
        public string WhereClause { get; set; }
        public string OrderClause { get; set; }
        public string CustomFunction { get; set; }
        public bool UseMultibyteExtraction { get; set; }
        public ERPCollection Fields { get; set; }      
    }
#endregion

Creating purchase order