Skip to Content

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

Selecting a value in a combobox within an matrix in a system dialog

I'm a novice UI API developer, developing my first add-on.

I'm using system form 146 (payment means, inside incoming payments).

The matrix is item UID 112.

I'm trying to select the credit card type from code within my add-on.

I couldn't find an example in the SDK how to achieve this.

Again, this is a system form, and it's bound to a system data table (OCRC).

I know the value I want to select, however I can't figure out how to do the selection from code.



Former Member

Hi Dan,

Try something like this:

            Matrix mtx = (Matrix)Form.Items.Item("112").Specific;

            ((ComboBox)mtx.Columns.Item("Your collumn ID").Cells.Item("Your row index").Specific).Select("your value", BoSearchKey.psk_ByValue);



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