Skip to Content
0
Former Member
Jan 02, 2008 at 08:03 PM

UDO Total in footer

98 Views

Hello Experts

How do You manage counting and filling Total fields for UDO. I would like to sum row's total as total in footer.

I'm trying this code in SBO_Application_ItemEvent:

/////////////////////////

if ((pVal.EventType == SAPbouiCOM.BoEventTypes.et_VALIDATE) && (pVal.ItemUID == "matrix") && (pVal.Before_Action== false))

{

SAPbouiCOM.EditText total_doc = null;

total_doc = (SAPbouiCOM.EditText)oForm.Items.Item("total_doc").Specific;

total_doc.Value = "1,2344";//example

}

/////////////////////////

The last line cause never-ending loop.

Best regards.