Click here to Skip to main content
15,884,093 members
Articles / Programming Languages / C#

Merging SAP PS with Microsoft Project

Rate me:
Please Sign up or sign in to vote.
4.83/5 (5 votes)
6 Feb 2011CPOL2 min read 32.1K   482   12  
Installation instructions for the CodeProject “Merging SAP PS with Microsoft Project”
//------------------------------------------------------------------------------
// 
//     This code was generated by a SAP. NET Connector Proxy Generator Version 2.0
//     Created at 8/29/2009
//     Created from Windows
//
//     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.Xml.Schema;
using System.Web.Services;
using System.Web.Services.Description;
using System.Web.Services.Protocols;
using SAP.Connector;

namespace CSAPData
{

  /// <summary>
  /// Return Parameter
  /// </summary>
  [RfcStructure(AbapName ="BAPIRETURN1" , Length = 470, Length2 = 940)]
  [Serializable]
  public class BAPIRETURN1 : SAPStructure
  {
   

    /// <summary>
    /// Message type: S Success, E Error, W Warning, I Info, A Abort
    /// </summary>
 
    [RfcField(AbapName = "TYPE", RfcType = RFCTYPE.RFCTYPE_CHAR, Length = 1, Length2 = 2, Offset = 0, Offset2 = 0)]
    [XmlElement("TYPE", Form=XmlSchemaForm.Unqualified)]
    public string Type
    { 
       get
       {
          return _Type;
       }
       set
       {
          _Type = value;
       }
    }
    private string _Type;


    /// <summary>
    /// Message Class
    /// </summary>
 
    [RfcField(AbapName = "ID", RfcType = RFCTYPE.RFCTYPE_CHAR, Length = 20, Length2 = 40, Offset = 1, Offset2 = 2)]
    [XmlElement("ID", Form=XmlSchemaForm.Unqualified)]
    public string Id
    { 
       get
       {
          return _Id;
       }
       set
       {
          _Id = value;
       }
    }
    private string _Id;


    /// <summary>
    /// Message Number
    /// </summary>
 
    [RfcField(AbapName = "NUMBER", RfcType = RFCTYPE.RFCTYPE_NUM, Length = 3, Length2 = 6, Offset = 21, Offset2 = 42)]
    [XmlElement("NUMBER", Form=XmlSchemaForm.Unqualified)]
    public string Number
    { 
       get
       {
          return _Number;
       }
       set
       {
          _Number = value;
       }
    }
    private string _Number;


    /// <summary>
    /// Message Text
    /// </summary>
 
    [RfcField(AbapName = "MESSAGE", RfcType = RFCTYPE.RFCTYPE_CHAR, Length = 220, Length2 = 440, Offset = 24, Offset2 = 48)]
    [XmlElement("MESSAGE", Form=XmlSchemaForm.Unqualified)]
    public string Message
    { 
       get
       {
          return _Message;
       }
       set
       {
          _Message = value;
       }
    }
    private string _Message;


    /// <summary>
    /// Application log: log number
    /// </summary>
 
    [RfcField(AbapName = "LOG_NO", RfcType = RFCTYPE.RFCTYPE_CHAR, Length = 20, Length2 = 40, Offset = 244, Offset2 = 488)]
    [XmlElement("LOG_NO", Form=XmlSchemaForm.Unqualified)]
    public string Log_No
    { 
       get
       {
          return _Log_No;
       }
       set
       {
          _Log_No = value;
       }
    }
    private string _Log_No;


    /// <summary>
    /// Application log: Internal message serial number
    /// </summary>
 
    [RfcField(AbapName = "LOG_MSG_NO", RfcType = RFCTYPE.RFCTYPE_NUM, Length = 6, Length2 = 12, Offset = 264, Offset2 = 528)]
    [XmlElement("LOG_MSG_NO", Form=XmlSchemaForm.Unqualified)]
    public string Log_Msg_No
    { 
       get
       {
          return _Log_Msg_No;
       }
       set
       {
          _Log_Msg_No = value;
       }
    }
    private string _Log_Msg_No;


    /// <summary>
    /// Message Variable
    /// </summary>
 
    [RfcField(AbapName = "MESSAGE_V1", RfcType = RFCTYPE.RFCTYPE_CHAR, Length = 50, Length2 = 100, Offset = 270, Offset2 = 540)]
    [XmlElement("MESSAGE_V1", Form=XmlSchemaForm.Unqualified)]
    public string Message_V1
    { 
       get
       {
          return _Message_V1;
       }
       set
       {
          _Message_V1 = value;
       }
    }
    private string _Message_V1;


    /// <summary>
    /// Message Variable
    /// </summary>
 
    [RfcField(AbapName = "MESSAGE_V2", RfcType = RFCTYPE.RFCTYPE_CHAR, Length = 50, Length2 = 100, Offset = 320, Offset2 = 640)]
    [XmlElement("MESSAGE_V2", Form=XmlSchemaForm.Unqualified)]
    public string Message_V2
    { 
       get
       {
          return _Message_V2;
       }
       set
       {
          _Message_V2 = value;
       }
    }
    private string _Message_V2;


    /// <summary>
    /// Message Variable
    /// </summary>
 
    [RfcField(AbapName = "MESSAGE_V3", RfcType = RFCTYPE.RFCTYPE_CHAR, Length = 50, Length2 = 100, Offset = 370, Offset2 = 740)]
    [XmlElement("MESSAGE_V3", Form=XmlSchemaForm.Unqualified)]
    public string Message_V3
    { 
       get
       {
          return _Message_V3;
       }
       set
       {
          _Message_V3 = value;
       }
    }
    private string _Message_V3;


    /// <summary>
    /// Message Variable
    /// </summary>
 
    [RfcField(AbapName = "MESSAGE_V4", RfcType = RFCTYPE.RFCTYPE_CHAR, Length = 50, Length2 = 100, Offset = 420, Offset2 = 840)]
    [XmlElement("MESSAGE_V4", Form=XmlSchemaForm.Unqualified)]
    public string Message_V4
    { 
       get
       {
          return _Message_V4;
       }
       set
       {
          _Message_V4 = value;
       }
    }
    private string _Message_V4;

  }

}

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 Code Project Open License (CPOL)


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

Comments and Discussions