Skip to Content

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

Service Call Validation

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

Tags:
Former Member
replied

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

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