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

Re: can't disable button on system form ("0")

$
0
0

First of all in your code you have to get the unique id and the type of your open form,

 

for example if the open form is an AR Invoice  :

 

static void SBO_Application_ItemEvent(string FormUID, ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)

        {

            BubbleEvent = true;

 

            if (pVal.FormType == 133 && pVal.EventType == SAPbouiCOM.BoEventTypes.et_FORM_LOAD    &&  pVal.BeforeAction )

 

            {

                SAPbouiCOM.Form frm = Application.SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount);

 

/// Disable the Items

 

            }

 

       }


Viewing all articles
Browse latest Browse all 3354

Trending Articles



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