Skip to Content

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

Set cursor to next column After selecting choosefromlist item

Hi All,

I have created the custom form in screen painter.

In form i have added matrix control, in that i have added Itemcode choosefromlist.

After selecting item from choosefromlist cursor does not move to next column.

I have used foll code but it is not working.

SAPbouiCOM.DataTable oDataTable = null;

                oDataTable = oCFLEvento.SelectedObjects;

                string valItemCode = null;

                string valItemDesc = null;

                string valDefWhs = null;

                string valUOM = null;



                    oMat = (SAPbouiCOM.Matrix)oForm.Items.Item("mtx_0").Specific;


                    valItemCode = oDataTable.Columns.Item("ItemCode").Cells.Item(0).Value.ToString();

                    valItemDesc = oDataTable.Columns.Item("ItemName").Cells.Item(0).Value.ToString();

                    valDefWhs = oDataTable.Columns.Item("DfltWH").Cells.Item(0).Value.ToString();

                    valUOM = oDataTable.Columns.Item("InvntryUom").Cells.Item(0).Value.ToString();

                    oForm.DataSources.DBDataSources.Item("@BCP_INP").SetValue("U_ItmCode", pVal.Row -1, valItemCode);

                    oForm.DataSources.DBDataSources.Item("@BCP_INP").SetValue("U_ItmDesc", pVal.Row - 1, valItemDesc);


                    if (pVal.Row == oMat.RowCount)






                    ((SAPbouiCOM.EditText)oMat.GetCellSpecific("V_3", pVal.Row)).Active = true;  //This code not working

Former Member
Not what you were looking for? View more on this topic or Ask a question