Click here to Skip to main content
15,896,063 members
Articles / Programming Languages / C#

Read Tables from SAP R/3 using SAP.NET Connector

Rate me:
Please Sign up or sign in to vote.
4.70/5 (22 votes)
19 Feb 2004LGPL32 min read 734.4K   13.7K   82  
Reading SAP R/3 made easy.
//------------------------------------------------------------------------------
// 
//     This code was generated by a SAP. NET Connector Proxy Generator Version 1.0
//     Created at 06.10.2003
//     Created from Windows 2000
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// 
//------------------------------------------------------------------------------
using System;
using System.Text;
using System.Collections;
using System.Runtime.InteropServices;
using System.Xml.Serialization;
using System.Web.Services;
using System.Web.Services.Description;
using System.Web.Services.Protocols;
using SAP.Connector;

namespace SAPReader.SAPKernel
{

  public class RFC_DB_FLDTable : SAPTable 
  {
    public static Type GetElementType() 
    {
        return (typeof(RFC_DB_FLD));
    }
 
    public override object CreateNewRow()
    { 
        return new RFC_DB_FLD();
    }
     
    public RFC_DB_FLD this[int index] 
    {
        get 
        {
            return ((RFC_DB_FLD)(List[index]));
        }
        set 
        {
            List[index] = value;
        }
    }
        
    public int Add(RFC_DB_FLD value) 
    {
        return List.Add(value);
    }
        
    public void Insert(int index, RFC_DB_FLD value) 
    {
        List.Insert(index, value);
    }
        
    public int IndexOf(RFC_DB_FLD value) 
    {
        return List.IndexOf(value);
    }
        
    public bool Contains(RFC_DB_FLD value) 
    {
        return List.Contains(value);
    }
        
    public void Remove(RFC_DB_FLD value) 
    {
        List.Remove(value);
    }
        
    public void CopyTo(RFC_DB_FLD[] array, int index) 
    {
        List.CopyTo(array, index);
	}
  }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions