Activate Add Row Menu

Dear Experts,
How to activate the Data->Add Row, Delete Row for User matrix in user form
Regards,
Mathi

enable menuuid 1292 and 1293
Dim m_menus As SAPbouiCOM.Menus
            Dim m_menuItem As SAPbouiCOM.MenuItem
            m_menus = SBO_Application.Menus
            m_menus = m_menus.Item("1280").SubMenus
            m_menuItem = m_menus.Item("1292")
            m_menuItem.Enabled = True
            m_menuItem = m_menus.Item("1293")
            m_menuItem.Enabled = True

Similar Messages

  • Re: Add Row in Matrix

    Hi All,
    I want to add a row in matrix by clicking the Add Row option by right clicking on the matrix. If the form has one matrix means its working well. But if the form has more than one matrix if i activate the Add Row menu and write the code in the MenuEvent i am not able to give the ItemUID so if i add row in any of the matrix one row is added in all the matrix. How can i solve the problem.
    Thanks in Advance.
    Regards,
    Madhavi.

    Hi Madhavi,
    save the position and and the itemuid in a variable.
    use the et_GOT_FOCUS event for this - than you know always in which matrix
    and position you're standing.
    use the variables in the et_MENU_EVENT to add the row in correct matrix and position
    lg David

  • Add row in Memu Event can't work

    1:I create a Master UDO
    2:Regist UDO with a child table
    3:use UDO form generator tool to generate a UDO form with xml file
    4:I use load from xml funtion to call form.
    5. Add a buttom name "Add row" and have code with Add a row for matrix 
    I have two problems
    one is,
    I can add row by press "Add row" button and I can delete a row by UDO default menu("delete Row CtrlK"). My problem is why the default menu(Add Row CtrlI) don't work? May I write code for add a row by myself?
    The other is
    When I add menueven sub(catch menueven) in program ,my "Add row" buttom can't work normally. If I remove the menueven sub from my program, the  "Add row" buttom work fine. Why? somebody help me.

    Hi Glen,
    In my case, I developed own functionality to add row for a matrix.
    I don't use 'add row' menu event actually.
    And I don't know about menu event sub problems without any source code.
    Regards,
    Hyunil.

  • Add row by right click event

    hello expert
    i want to create add row functionality by right click event like in SAP B1 when we click on matrix colum it give menu for Remove,copy,add row in matrix how i do it by in my userdefiend form matrix

    Hello,
    If you enable the menu on your form Add row (menu id: 1292), Del Row  (menu id: 1293 )it will automatically appear in right click .
    copy should be added indivudally, and developed the functionality for each
    enable them:
    oForm.EnableMenu("1292", True)
                oForm.EnableMenu("1293", True)
    You can use MenuEvent to add/del/copy rows in the matrix or RightClickEvent
    Regards,
    J.

  • Using Numbers 3.2, one of my tables does not allow me to add rows.

    This table does not have the "=" or "_|" symbol at the bottom, allowing me to add rows. The menu bar under Table>Add Row Above and Table>Add Row Below are both grayed out.  What can I do to add rows?
    My computer is a MacBook Pro 15", late 2013;  2.6 GHz, 16GB RAM, OSZX 10.9.3

    Hi Patrick,
    On way to experience this is if you have a filter running and some of your rows are hidden. If the is the case, just unclick the filter.
    quinn

  • Unable to add row in numbers

    Hi
    I have a numbers document which I am unable to add a row.
    The add row function is greyed out.
    I can add columns.
    Any ideas
    Thanks
    bill

    You've probably seen you can add filters in two ways.
    One way is through the dropdown menu by the column letter:
    And the other is via the Filter pane at the right:
    If you had a filter on the table and didn't realize you had it, most likely you applied it inadvertently while exploring the contextual menu in the dropdown by the column letter (the first way described above.)
    SG

  • Matrix Add Row

    hi guys,
    I created one form in screen painter and used this form in VB.net. In this form one grid is available.
    In the menuevent of this form I write the code for open the form when user click on menu. I also write the code for add row in the matrix.
    When I open the form first time both opening the form as well as adding row into the matrix works fine.
    After closing the form and open the form second time menuevent occur more than 2 times.
    Due to this many rows are added in the matrix only one click of add row.
    What would be reason for occuring menuevents more than 2 times?
    Can anyone  help me?
    thanks in advance.

    hi kamil,
    this function is called when click on Menu event.
    when form is loaded.
    // code when form is loaded from XML File.
    Public Sub LoadForm1()
            Dim oXmlDoc As Xml.XmlDocument
            oXmlDoc = New Xml.XmlDocument
            Dim sPath As String
            Try
            sPath = IO.Directory.GetParent(Application.StartupPath).ToString & "\"
            oXmlDoc.Load(sPath & "NewInvoicePO.srf")
            Dim cp As SAPbouiCOM.FormCreationParams
            cp = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
                cp.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
                cp.FormType = "Invoice"
                cp.XmlData = oXmlDoc.InnerXml
                cp.UniqueID = "IndentPO"
                cp.ObjectType = "POHeader"
            oForm1 = SBO_Application.Forms.AddEx(cp)
            oForm1.Title = "Indent PO"
            oForm1.AutoManaged = True
            oForm1.SupportedModes = -1
                'oForm1.DataBrowser.BrowseBy = oForm1.Items.Item("33").Specific().value
                oForm1.Freeze(True)
                oForm1.EnableMenu("1281", True)  '// Add Find Mode
                'oForm1.EnableMenu("1282", True)  '// Add New Record 
                oForm1.EnableMenu("1288", True)  '// Next Record 
                oForm1.EnableMenu("1289", True)  '// Pevious Record 
                oForm1.EnableMenu("1290", True)  '// First Record 
                oForm1.EnableMenu("1291", True)  '// Last record
                oForm1.EnableMenu("1292", True)  '// Add Row
                oForm1.EnableMenu("1293", True)  '// Delete Row
                oForm1.EnableMenu("1294", True)  '// Duplicate Row
            AddDataBindToMainForm()
            CreateMatrixForForm1()
            oDBDataSource4 = oForm1.DataSources.DBDataSources.Add("@INDENTPOMASTER")
            oDBDataSource5 = oForm1.DataSources.DBDataSources.Add("@INDENTPOCHILD")
                oForm1.DataBrowser.BrowseBy = "31"
            GetMaxPONo()
            oForm1.Freeze(False)
                oForm1.Visible = True
            Catch ex As Exception
                MsgBox(ex.Message)
            End Try
        End Sub
    I write the following code in the item event when click on close button.
    // code when click on close button
    If pVal.FormUID = "IndentPO" And pVal.ItemUID = "2" And pVal.BeforeAction = True Then
                    Try
                      oForm1.EnableMenu("1288", False)  '// Next Record 
                      oForm1.EnableMenu("1289", False)  '// Pevious Record 
                        oForm1.EnableMenu("1290", False)  '// First Record 
                        oForm1.EnableMenu("1291", False)  '// Last record
                        oForm1.EnableMenu("1292", False)  '// Add Row
                        oForm1.EnableMenu("1293", False)  '// Delete Row
                        oForm1.EnableMenu("1294", False)  '// Duplicate Row
                        Exit Sub
                    Catch ex As Exception
                        'MsgBox(ex.Message)
                    End Try
                End If
    In the first line of the try block I got the error.
    Error : object reference not set to an instance of an object.

  • Add row invoice matrix

    Dear all
    I owe add row in matrix woth different information.
    How ican do?
    Sorry for my english
    Thank's

    First, in sap business one open the 'Fattura in uscita' form, then in menu 'View' set 'Informazioni di debug'.
    Here you can see the column number corresponding to the fields you want to add in the row.
    In your code use this information to insert records in the grid. Here's an example in VB6.
    For i = 1 to 10
    'Codice
    Set c = m.Columns("1").Cells(i).Specific
    c.Value = "Cod" & i
    'Quantità
    Set c = m.Columns("11").Cells(i).Specific
    c.String = "10"
    Next i
    (c is a EditBox, m is the Fattura detail matrix)
    Hope this helps
    Ciao

  • Can't add rows to existing spreadsheet Numbers OS X Yosemite

    I created a numbers spreadsheet with column filters and also popup menus for some columns I am trying to add additional rows to the spreadsheet I followed instructions from numbers:
    Add or delete a row or column at the edge of the table: Click at the bottom or at the top of the table. (Drag the control to add or delete more than one row or column.) You can delete a row or column only if all of its cells are empty.
    Insert or delete a row or column within the table: Click the table, move the pointer over a numbered or a lettered bar, click the arrow, then choose a command from the menu that appears.
    but the options to add rows are shaded gray so you can't add rows but can add columns. the II for add columns is active but there is a double circle where the = should be at the top of the table.
    I am a 20 year windows and excel user but am new to Apple and numbers

    Just guessing, but have you turned off the filters before trying to add rows? You can uncheck the box shown here:
    After clicking the table, you can find this in the Filter panel at the right after choosing Sort & Filter from the toolbar.
    SG

  • Keyboard short cut to activate the Apple menu

    I recently had a situation when my bluetooth wireless mouse lost it pairing. Fortunately I have a Magic Track pad that was working. I would like to know the keyboard shortcut to activate the Apple menu so if this problem arises again I can, restart, or as I did in this case go to system preferences->bluetooth and delete the mouse and add it back. I have the article, http://support.apple.com/kb/HT1343?viewlocale=en_US, with all the keyboard shortcuts but cannot find one to activate the Apple menu.

    Don't know of one that opens the  but you can get there by:
    Hit OPT-F2, System Preferences will open to Displays but the cursor will be in the search box. Type bluetooth and hit enter and you'll be in the PreferencePane for Bluetooth.
    Should accomplish the same thing.
    Regards
    Edit: I finally found it. CNTL-FN-F1 to turn on full keyboard access then CNTL-FN-F2 will highlight , then down arrow.
    Message was edited by: captfred

  • Right click add row

    Dear All,
                I want to add right click add row and delete row on a matrix.can any one tell me the code.
    Thanks
    Rajkumar

    Hi
    First enable add and delete menus. Then catch the before menu click event and write your add and delete code.
    I have some problem with standard add and delete so i write custom function. I will give  you some code samples.
    <B1Listener(BoEventTypes.et_MENU_CLICK, True, New String() {"--your_form--"})> _
        Public Overridable Function OnBeforeMenuClick(ByVal pVal As MenuEvent) As Boolean
                Dim form As Form = B1Connections.theAppl.Forms.ActiveForm
                'GENERATED CODE
                If pVal.MenuUID = "1293" Then
                    form.Freeze(True)
                    DeleteMatrixRow(form) ' write your row delete logic in this function
                    form.Freeze(False)
                    Return False
                ElseIf pVal.MenuUID = "1292" Then
                    form.Freeze(True)
                    InsertMatrixRow(form) '' write your insert row  logic in this function
                    form.Freeze(False)
                    Return False
                End If
                Return True
            End Function
    Regards
    Arun

  • Allow users to Dynamically add rows

    Hi,
    While creating form I found an option "Allow users to Dynamically add rows".I have requirement so that users should be able to create new lines if required for new TBHs. How does this option works, could some one let me know?
    Thanks,
    Ravii

    Hi,
    If the user has write access to the form and the option is selected to "Allow users to dynamically add rows" then when the user runs the form he has the option in the menu (Edit > Add Row)
    This will then open a window where the user can select members for the row dimension that he has access to.
    The function does not work if you have "Suppress Missing Data" selected.
    Helpful, correct, answered?? you know you can do it.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Flex Table Add Row Issue with Dynamic Entry Lists in Visual Composer

    All,
    Your help would be kindly appreciated in resolving an 'Add Row'-issue within a Flex Table that uses Dynamic Entry Lists in Visual Composer. The issue here is as follows :
    When I use a [Local Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=O5hrG2aMxWZ84Mu1211193041]to populate a row field, the initial row and all next rows are emptied upon 'insert row', they loose their selected values and also the entry list values ('pull-down menus') are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    The initial row does [show the entry list values |http://www.postyourimage.com/view_image.php?img_id=2HybmEHAuQYs9cg1211192766]from the Local Dynamic Entry List based on the dynamically assigned input value; upon 'insert row' the entry lists are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    When using a [Global Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=m5p2KYuBb442dTq1211193501]to populate the row fields the Flex-table behaves normally as expected. Unfortunately with a Global Entry List it is not possible to dynamically assign a input value. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=U96V0zENCCyO3gA1211193157].
    Please also see the [issue summary image|http://www.postyourimage.com/view_image.php?img_id=06xti08tIEfely1211195178] I made to visualize the issue.  What I basically would like to know is whether this is a 'known issue' or not, or that it is an issue that can be fixed or whether there is an alternative workaround available ... I'm using Visual Composer 7.0 and the Portal is at SP 13.
    Many thanks,
    Freek

    Hi,
    you should be able to assign a dynamic value with global entry lists as well. If you say @myParam as dynamic value. VC will indicate in red letters, that the field @myParam is unknown. However, it will work, as long as @myParam is known in the form or table where you use the entry list.
    I have never heard of the problem that entry lists are emptied after "insert"-event.
    Kindes Regards,
    Benni

  • Firefox crashes when trying to open Add-Ons menu

    Firstly the search bar that s part of the Google toolbar would not search what i typed in it, it would simply do nothing. After I discovered this I decided to go look at the add-on or something in the add-on menu under tools. When I clicked "Add-On" firefox froze and has continued to do so everytime I click that option resulting in me having to force the program to close.

    I have successfully disabled the addons by going this route;
    http://kb.mozillazine.org/Safe_Mode

  • Add-Ins menu not visible in Crystal report for Sap Business One

    Hi,
    I have installed the Crystal Report Design for Sap Business One on my customer server.
    But when I open the Crystal Report I can't see the Add-Ins menu to put the rpt directly on my Sap Business One.
    I have installed it on many customer, but only with this I have this type of problem.
    There is some restriction on Sap Version/Patches or Authorization Users or some check that I have to set on Sap or on Crystal Report?
    Regards
    Marco

    Hi All,
    i have the same issue on crystal report add-ins. Have you able to solve this without upgrading our sap business one to the latest version or patch level? Please see details below.
    OS: MS Windows 7 SP1
    SAP Business One 8.82 pl7
    Crystal report 2011
    Crystal report integration package installed under B1_SHare/Client
    But still the problem persist on the workstation.
    Please help me solve this problem.
    Thank you,
    ana

Maybe you are looking for