Skip to Content
author's profile photo
Former Member

Adding a drop down to a system grid

Hi All

Is it possible to add a drop down to a grid on the system form (Sales Order), using the SDK (in code, VB.NET.

Regards John

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Sep 30, 2005 at 10:33 AM

    Thanks Rasmus.

    Do you have sample code to do this.

    Thanks John

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi John,

              Dim oForm As SAPbouiCOM.Form
              Dim oMatrix As SAPbouiCOM.Matrix
              Dim oColumn As SAPbouiCOM.Column
              oForm = oApplication.Forms.ActiveForm
              oMatrix = oForm.Items.Item("Matrix").Specific
              oColumn = oMatrix.Columns.Add("MyColumn", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
              oColumn.DataBind.SetBound(True, "Table", "Field")
              oColumn.ValidValues.Add("Val1", "Value1")
              etc...

      Hope it helps,

      Adele

  • Sep 30, 2005 at 08:56 AM

    Yes. Add a column of type Combobox a tie it to a datasource with valid values

    Add comment
    10|10000 characters needed characters exceeded