Skip to Content

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



I create a form and In that I take the 3 folders.each Folder have a different matrix.i assign this form to menu item .when i click the menu item it open the form but when click the folder the matrix was not open.What the problem.Please tell me

Former Member
Former Member replied

Hi Thippa Reddy Musturu

You need to catch et_Item_Pressed and change Pane Level in correspondence of pressed folder.

See how to do it in 07.ComplexForm SDK example:

SDK_Samples_2005\COM UI\VB.NET\07.ComplexForm\2003

Hope this can help you


Sierdna S.

P.S. ItemEvent Handler

Private Sub SBO_Application_ItemEvent( _
        ByVal FormUID As String, _
        ByRef pVal As SAPbouiCOM.ItemEvent, _
        ByRef BubbleEvent As Boolean _
) Handles SBO_Application.ItemEvent

        If FormUID = "MyComplexForm" Then

            oForm = SBO_Application.Forms.Item(FormUID)

            Select Case pVal.EventType

                Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED

                    '// Check if the event was raised by one of the Folder items
                    '// and change the form's pane level
                    If pVal.ItemUID = "Folder1" Then
                        oForm.PaneLevel = 1
                    End If

                    If pVal.ItemUID = "Folder2" Then
                        oForm.PaneLevel = 2
                    End If

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