public virtual void Bapi_Projectdef_Getlist( [RfcParameter(AbapName = "MAX_ROWS", RfcType = RFCTYPE.RFCTYPE_INT, Optional = true, Direction = RFCINOUT.IN, Length = 4, Length2 = 4)] [XmlElement("MAX_ROWS", IsNullable = false, Form = XmlSchemaForm.Unqualified)] int Max_Rows, [RfcParameter(AbapName = "RETURN", RfcType = RFCTYPE.RFCTYPE_STRUCTURE, Optional = true, Direction = RFCINOUT.OUT)] [XmlElement("RETURN", IsNullable = false, Form = XmlSchemaForm.Unqualified)] out BAPIRET2 Return0, [RfcParameter(AbapName = "DESCRIPTION_RANGE", RfcType = RFCTYPE.RFCTYPE_ITAB, Optional = true, Direction = RFCINOUT.INOUT)] [XmlArray("DESCRIPTION_RANGE", IsNullable = false, Form = XmlSchemaForm.Unqualified)] [XmlArrayItem("item", IsNullable = false, Form = XmlSchemaForm.Unqualified)] ref BAPI_2002_DESCR_RANGETable Description_Range, [RfcParameter(AbapName = "PROJECT_DEFINITION_LIST", RfcType = RFCTYPE.RFCTYPE_ITAB, Optional = false, Direction = RFCINOUT.INOUT)] [XmlArray("PROJECT_DEFINITION_LIST", IsNullable = false, Form = XmlSchemaForm.Unqualified)] [XmlArrayItem("item", IsNullable = false, Form = XmlSchemaForm.Unqualified)] ref BAPIPREXPTable Project_Definition_List, [RfcParameter(AbapName = "PROJECT_DEFINITION_RANGE", RfcType = RFCTYPE.RFCTYPE_ITAB, Optional = true, Direction = RFCINOUT.INOUT)] [XmlArray("PROJECT_DEFINITION_RANGE", IsNullable = false, Form = XmlSchemaForm.Unqualified)] [XmlArrayItem("item", IsNullable = false, Form = XmlSchemaForm.Unqualified)] ref BAPI_2002_PD_RANGETable Project_Definition_Range) { object[] results = null; results = this.SAPInvoke("Bapi_Projectdef_Getlist", new object[] { Max_Rows, Description_Range, Project_Definition_List, Project_Definition_Range }); Return0 = (BAPIRET2)results[0]; Description_Range = (BAPI_2002_DESCR_RANGETable)results[1]; Project_Definition_List = (BAPIPREXPTable)results[2]; Project_Definition_Range = (BAPI_2002_PD_RANGETable)results[3]; }
public Boolean ProjectDef_GetList(int iMaxRows, ref BAPIPREXPTable arProjDef, ref BAPI_2002_DESCR_RANGETable arSAPDescrRange, ref BAPI_2002_PD_RANGETable arSAPProjIDRange) { BAPIRET2 ETReturn = new BAPIRET2(); try { oSAPProxy.Bapi_Projectdef_Getlist(iMaxRows, out ETReturn, ref arSAPDescrRange, ref arProjDef, ref arSAPProjIDRange); } catch (Exception ex) { MessageBox.Show(ex.Message, "CSAPPrj:ProjectDef_GetList"); return(false); } return(true); }
/// <summary> /// Determines wheter an element is in the collection. /// </summary> /// <param name="value">The BAPIRET2 to locate in the collection.</param> /// <returns>True if found; else false.</returns> public bool Contains(BAPIRET2 value) { return(List.Contains(value)); }
/// <summary> /// Searches for the specified BAPIRET2 and returnes the zero-based index of the first occurrence in the collection. /// </summary> /// <param name="value">The BAPIRET2 to locate in the collection.</param> /// <returns>The index of the object found or -1.</returns> public int IndexOf(BAPIRET2 value) { return(List.IndexOf(value)); }
/// <summary> /// Inserts a BAPIRET2 into the collection at the specified index. /// </summary> /// <param name="index">The zero-based index at which value should be inserted.</param> /// <param name="value">The BAPIRET2 to insert.</param> public void Insert(int index, BAPIRET2 value) { List.Insert(index, value); }
/// <summary> /// Adds a BAPIRET2 to the end of the collection. /// </summary> /// <param name="value">The BAPIRET2 to be added to the end of the collection.</param> /// <returns>The index of the newBAPIRET2.</returns> public int Add(BAPIRET2 value) { return(List.Add(value)); }
/// <summary> /// Removes the first occurrence of the specified BAPIRET2 from the collection. /// </summary> /// <param name="value">The BAPIRET2 to remove from the collection.</param> public void Remove(BAPIRET2 value) { List.Remove(value); }