Skip to Content

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

Activate linkedbutton in a matrix through code?

Hi... Anyone know if it is possible to activate a linked button in a matrix through code?

Observations:

1 - In normal linked buttons i just use the click method... works fine

2 - In matrix the columns click method just focus the cell

3 - The colums extended object (Linked Button does not have a click event)

Anyone know how this can be done at all?

Former Member replied

hi,

The Click event of Cell Item with click type 'SAPbouiCOM.BoCellClickType.ct_Linked' Activates Linked Press event.

oForm = oApplication.Forms.Item(FormUID)

oMatrix = oForm.Items.Item("7").Specific oMatrix.Columns.Item(<colid>).Cells.Item(<rowno>).Click(SAPbouiCOM.BoCellClickType.ct_Linked)

HTH

With Regards

B.Ravi Shankar

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