cancel
Showing results for 
Search instead for 
Did you mean: 

How do select the system form martix combox?

Former Member
0 Kudos

I have Used te following code

For i As Integer = 1 To RecSet.RecordCount ' ' oColumn = oMatrix.Columns.Item("DSCardCode") ' oColumn = oColumns.Item("DSCardCode") ' oColumn.Editable = True ' Do Until RecSet.EoF ' oColumn.ValidValues.Add(RecSet.Fields.Item(0).Value.ToString, RecSet.Fields.Item(1).Value.ToString) ' RecSet.MoveNext() ' ' ocombo.Select("hai", SAPbouiCOM.BoSearchKey.psk_Index) ' Loop ' ' RecSet.MoveNext() 'Next

But i am not able to select the Matrix combo box value

how do to that system matrix form

Accepted Solutions (0)

Answers (1)

Answers (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You need to use as below:

SAPbouiCOM.ComboBox oComboApproval = (SAPbouiCOM.ComboBox)oForm.Items.Item("25").Specific;
oComboApproval.Select("Approved", SAPbouiCOM.BoSearchKey.psk_Index);

Kind regards,

ANKIT CHAUHAN

SAP SME Support

Former Member
0 Kudos

I have faced "Object variable or With block variable not set".

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You need to declare oForm in the above code as below:

SAPbouiCOM.Form oFormSalesOrder = (SAPbouiCOM.Form)SBO_Application.Forms.GetForm("139", 1);

Kind regards,

ANKIT CHAUHAN

SAP SME Support

Former Member
0 Kudos

hi

Same issue Sir.System form Combo we need to select the one value.when we select the one value that value bound in combo this is requierment.what we do?