Skip to Content

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

Filter UDO Data when navigate

Hi all,

I create an UDO form. When i load the form, it was in ADD mode.

I want to filter the data when i use the navigate buttons (Next/Previous/First/Last record).

I put this code in the FormDataEvent :

if (BusinessObjectInfo.BeforeAction == true)


SAPbouiCOM.Conditions oConditions;

SAPbouiCOM.Condition oCondition;

oConditions = (SAPbouiCOM.Conditions)SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_Conditions);

oCondition = oConditions.Add();

oCondition.BracketOpenNum = 1;

oCondition.Alias = "U_IFC_KEY";

oCondition.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;

oCondition.CondVal = sItemCode + "-" + iRow_UID.ToString();

oCondition.BracketCloseNum = 1;



This code has no effect in the datasource. Why ?

Thansk for your help.

Best Regards


Former Member

Helpful Answer

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