on 12-23-2014 9:09 AM
Hi,
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
Hi Rahesh,
No corrections.
You can only see your message in the message list.
Reason is, immediately after your message, SAP System sent out another message that hide your message.
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Edy,
I had changed my validation from SBO_Application_FormDataEvent to SBO_Application_ItemEvent.
Now its working Fine.Thanks for your support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try this
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)
EXIT sub
End If
End If
End If
End Sub
Regards,
prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi.
Can u try this one
oApplication.StatusBar.SetText("Connecting Contract Order with The Company.......", SAPbouiCOM.BoMessageTime.bmt_Long, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
or
oApplication.StatusBar.SetText("Cant update the ServiceCall",, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.