Hi Pablo,
You are doing some mistake, change here in your code:
if (pVal.FormType == 65214& pVal.ItemUID == "13"& pVal.ColUID == "9"& pVal.EventType == SAPbouiCOM.BoEventTypes.et_GOT_FOCUS & pVal.Before_Action == true)
{
oOrderForm = SBO_Application.Forms.ActiveForm;
oGrid = (SAPbouiCOM.Matrix)oOrderForm.Items.Item("13").Specific; // It is not a Grid, its a matrix on the form
Interaction.MsgBox(oGrid.DataTable.Columns.Item(pVal.ColUID).Cells.Item(pVal.Row).Value);
}
I am sure that this will work for you.
Hope it helps.
Thanks & Regards
Ankit Chauhan