Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Difficulty accessing valid values from a matrix column

Hi everyone,

I am trying to add a column in a matrix , in which each field in that column has the same valid values

for egs :

oColumn = oMatrix.Columns.Add("Para", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)

oColumn.TitleObject.Caption = "Parameter"

oColumn.Width = 100

oColumn.ValidValues.Add("1", "Temp")

oColumn.ValidValues.Add("2", "Weight")

oColumn.Editable = True

the issue here is that at runtime when i select an item from the list , i get the values instead of the description ,is there any way to display the description instead of the value?

Thanx in advance

Appreciate the time and effort



Try this,

oColumn.DisplayDesc =True

If this helps u give reward points,



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question