cancel
Showing results for 
Search instead for 
Did you mean: 

display a data in matrix

Former Member
0 Kudos

hi expert,

i have a problem in displaying a data in matrix. how can i put my data in the matrix item using SDK UI API.

thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Joey Bryan Dante,

what do you want to display data in SAP matrix or custom matrix ?

you can refer to :

thanks

H2

Former Member
0 Kudos

Dim oMatrix As SAPbouiCOM.Matrix = oForm.Items.Item("3").Specific

Dim oEditText As SAPbouiCOM.EditText

oMatrix.AddRow(1)

For intRowNo As Integer = 1 To oMatrix.RowCount

oEditText = oMatrix.GetCellSpecific("V_1", intRowNo)

oEditText.Value = "Values1"

Next

i used this code for displaying but i encounter an error

this is the error : "Form - Bad Value"

former_member689126
Active Contributor
0 Kudos

Hi

please put oEditText.Value = "Values1" statement inside a try catch

Try

oEditText.Value = "Values1"

Catch ex As Exception

 End Try

Regards

Arun