Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8635

Re: Get event on Form - Matrix

$
0
0

Hi Pablo,

I am not sure if I understood you correctly - but I think you are searching for the FORM_DATA_LOAD event . First you need an handler ( Note : it is not an ItemEvent ) :

 

SBO_Application.FormDataEvent += new SAPbouiCOM._IApplicationEvents_FormDataEventEventHandler(SBO_Application_FormDataEvent);

 

  static void SBO_Application_FormDataEvent(ref SAPbouiCOM.BusinessObjectInfo BusinessObjectInfo, out bool BubbleEvent)        {            BubbleEvent = true;            if (!BusinessObjectInfo.BeforeAction && BusinessObjectInfo.EventType == SAPbouiCOM.BoEventTypes.et_FORM_DATA_LOAD ) // add more filters             {            }        }

This is the event fired when there is data "loaded" on the form. For your case  you should add a filter for the formtype ( e.g. BusinessObjectInfo.FormTypeEx == "139" for sales orders ) .

 

hope it helps,

Maik


Viewing all articles
Browse latest Browse all 8635

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>