Skip to Content
Former Member
Dec 23, 2014 at 09:09 AM

Service Call Validation



I had created a validation in service call for blocking updation of service call, if the user is not 'manager'.It's working fine.But I cant see the status bar text.It's just flashing and disappear. Where is the correction needed.Please help.

Private Sub SBO_Application_FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.FormDataEvent

Dim Oform As SAPbouiCOM.Form

If SBO_Application.Company.UserName = "manager" Then

Oform = SBO_Application.Forms.Item(BusinessObjectInfo.FormUID)

If BusinessObjectInfo.FormTypeEx = "60110" And Oform.Mode = BoFormMode.fm_UPDATE_MODE Then

If BusinessObjectInfo.BeforeAction = True Then

BubbleEvent = False '

SBO_Application.SetStatusBarMessage("Cant update the ServiceCall",BoMessageTime.bmt_Long,True)

End If

End If

End If

End Sub