Problem in AddRow button and Matrix

Hello everybody...
Can anybody tell me...in my UDO Form AddRow button, matrix is not working...dont understand why???
But Add and Cancel buttons are working fine...there is no problem in code still I am not able to update values using Matrix...
See the code below...
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
        Try
            ' Events of the Blanket Agreement form
            If (FormUID = "FBLK") Then
                If (pVal.Before_Action = False) Then
                    ' Click on Add Row
                    If (pVal.ItemUID = "AddRow") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) Then
                        Dim f As SAPbouiCOM.Form
                        Dim oMatrix As SAPbouiCOM.Matrix
                        f = SBO_Application.Forms.Item(FormUID)
                        oMatrix = f.Items.Item("mat").Specific
                        f.DataSources.DBDataSources.Item(1).Clear()
                        oMatrix.AddRow(1)
                    End If
                    End If
                    End If
  Catch ex As Exception
                MessageBox.Show(u2018not workingu2019)
  End Try
    End Sub
Please tell me where I am wrong...
Thanks in advance

Hi Satish,
Thanks for the reply and yes I am using SetFilters and Item Uid is also correct, i have checked....
See Code below for SetFilters()
Private Sub SetFilters()
        '// Create a new EventFilters object
        oFilters = New SAPbouiCOM.EventFilters
        '// add an event type to the container
        '// this method returns an EventFilter object
        oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED)
        oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_COMBO_SELECT)
        oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_VALIDATE)
        oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_LOST_FOCUS)
        oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_KEY_DOWN)
        oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_MENU_CLICK)
        oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_CLICK)
        '// assign the form type on which the event would be processed
        oFilter.AddEx("149") 'Quotation Form
        oFilter.AddEx("139") 'Orders Form
        oFilter.AddEx("133") 'Invoice Form
        oFilter.AddEx("169") 'Main Menu
        SBO_Application.SetFilter(oFilters)
    End Sub
Now tell me where I am wrong...

Similar Messages

  • Problem with home button and "messages" app after upgrade to iOS 4.1

    Hello,
    I have noticed two interesting problems with my iPhone 4. I am not sure if it is in conjunction with the upgrade to the iOS 4.1 software, but I did not notice the problem prior to this. Both of these problems are very odd and are hit or miss. I have tried restoring and the problem is still present. Also, since both problems have presented at the same time, that is why I am starting to believe it is not hardware...
    Problem 1: The home button has become considerably unresponsive. This is not all the time, but it does happen a lot. Sometimes it won't work for about 5-8 clicks and I have to use the power button to access the phone.
    Problem 2: When composing a new text message the cursor would always default into the "To:" section of the app which allows you to easily type what contact you are trying to message. However, I am having the issue now occasionally when I am in the messages app and select to compose a new text message that the cursor now defaults into the chat box (where you type your actual message). This is very annoying and I know that this is not the intended behavior of this.
    Please let me know if anyone has experienced similar issues and can provide me with some feedback.

    I have not experienced the same.
    I have tried restoring and the problem is still present.
    You restored from your iPhone's backup, or as a new iPhone or not from your iPhone's backup?
    If whatever software problem is causing this is included with your iPhone's backup, restoring from the backup will also restore the problem.
    Try restoring as a new iPhone or not from your iPhone's backup to see if this makes any difference. If not, more than likely your iPhone has a hardware problem.

  • Problem with AddRow() in custom matrix on System Form

    Hello all,
    I'm trying to add 1 row to a custom matrix on a system form (Sales Quotation).
    However I always get a RPC_E_SERVERFAULT exception when calling pMatrix.AddRow() and SBO crashes...
    My code is simple:
            [B1Listener(BoEventTypes.et_CLICK, false)]
            public virtual void OnAfterClick(ItemEvent pVal)
                Form pForm = B1Connections.theAppl.Forms.Item(pVal.FormUID);
                // Add matrix line
                Matrix pMatrix = (Matrix) pForm.Items.Item("MATRIX").Specific;
                pMatrix.AddRow();
                // Set matrix line data
    The matrix shows ok in the system form, inside a new folder.
    What is the problem with my code?
    Is there any way to add rows to a custom matrix in a system form?
    This code runs ok if executed in a custom form...
    Thanks!
    Manuel Dias

    hi.
    R u facing any problem ...
    actually add row and del row both are same.
    in normal customization form and system form matrx...
    Any problem are u facing...

  • Problem with ribbon buttons and macros

    I made my first custom Ribbon tab, with the following code:
    Code Block
    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
        <ribbon>
            <tabs>
                <tab id="Adnet" label="Adnet" insertAfterMso="Add-ins">
                    <group id="NetVision" label="NetVision alati">
                        <button id="Brisanje" label="Brisanje" size="large" onAction="Brisi()" imageMso="Delete" />
            </group>
                </tab>
            </tabs>
        </ribbon>
    </customUI>
    That puts a new tab and a button in my ribbon. But when i click the button, it executes the Brisi() macro twice (?!) and then it shows a mesage box with only "400" written in it (link to picture of message box). If I run the macro alone, without the button, it executes fine.
    What's the problem?

    Excel is the program in question.
    I made an add-in with one module and with the altered ribbon. In the module there is a Sub routine Brisi() and it has the following code:
    Code Block
    Sub Brisi()
        Debug.Print ("Opened.")
    End Sub
    When I click the button, the debug window shows "Opened." twice. And the before mentioned "400"
    When I remove the "()" from the .xml it results in this.
    I'll put the whole extension on the net, and then You can try. I would be extremely grateful

  • Problem with radio button and labels

    Hi Team,
    I have defined the LOV for a form field as STATIC:yes;y,no;n and in 2 columns.
    This is what I get at runtime
    <table>
    <tr><td nowrap="nowrap"><input type="radio" name="p_v07" value="n" id="P18_USED_PRODUCTS_0" />
    <label for="P18_USED_PRODUCTS_0">no</label></td>
    <td nowrap="nowrap"><input type="radio" name="p_v07" value="y" id="P18_USED_PRODUCTS_1" />
    <label for="P18_USED_PRODUCTS_1">yes</label></td>
    </tr>
    </table>
    I want Yes to be the first button. How can I do that? I can with a LOV, but "static" is easier for trivial things like y/n etc.

    Raymond,
    You can use the keyword STATIC2 instead of STATIC to render the options in the order you code them.
    - Scott

  • WebCenter Sites:Problem Rendering Save Button and Contributor UI DashBoard IN WCS

    Hi All,
    I am facing an issue in Webcenter sites regarding the Save button not being shown up while creating a new asset and contributor UI Dashboard not being displayed in some systems when opened in chrome.
    Currently,when we try to create any new asset from our system we are able to see the save button in WCS environment.Also,in some of the systems contributor UI Dashboard doesn't display instead a white screen is shown up.But in our client system neither the Save button is displayed nor the Contributor UI Dashboard.
    The issue for Contributor UI Dashboard sometimes get resolved when we reinstall chrome.
    Further,Our system is having a jdk version as jdk1.6.0._38 and that works on 64 bit OS while our client machine is having the latest version of jdk7 which works on 32/64 bit OS.
    Is the issue related to improper jdk version/there is some setting that needs to be done in browser/the browser version is not compatible?
    Kindly suggest.
    Regards,
    Anurag Guru

    Sometimes the WEM Admin app corrupts the role and site assignments when saving changes.  Whenever you work in the WEM admin UI, be sure that all of your changes save fully - don't rush the saving of data in that UI.
    To fix this, try to "re-provision" your users and sites and you should be able to restore access.  This is definitely frustrating, but it's fairly contained issue.

  • Can i recieve service in Guatemala? Have problem home button and front camera

    Hi guys
    I'm user of ipod touch 4th generation i bought this in may 2011
    And i paid apple care in applestore Glendale L. A CA.
    Now i live in Guatemala and my ipod have problem of home button
    And front camera(camera problem started when i bought)
    What is best solution for my ipod? And can i recieve service?
    And where can i meet service center in This country?

    Contact an Apple Authorized Service Provider. See:
    http://www.apple.com/lae/support/service/options/

  • All button and touch pad not working except power button

    I face the problems that all button and touch pad not working after power on or wake up from sleep state except power button. And i have make the system sleep and wake again so that the mac book air can working as normal( mouse can move and button got response).

    Sometimes electrical components needs to have all power sources removed and reintroduced to work properly.  Try performing a hard reset first, if it doesn't work then we'll move to the next step.
    To Perform A Hard Reset
    Shut down the computer by going to the Start menu and selecting shut down. (If you have no display, hold the power button down for  5 seconds); (if the computer doesn't power on, move to the next step)
    Disconnect the AC Adapter from the notebook.
    Remove the battery from the bottom of the notebook.  There will be a switch/button to eject the battery.
    Wait at least 1 minute with all power sources disconnected.
    Re-insert the battery and reconnect the AC Adapter and then attempt to power on the notebook.

  • Adobe Photo Downloader has encountered a problem and needs to close. We are sorry for the inconvenience.  Error Code: c0000005  Address: 76f73ac3     I clicked on the OK button and the downloader closed.     I then tried to download from the organizer. I

    Photoshop Elements 12
    Adobe Photo Downloader has encountered a problem and needs to close. We are sorry for the inconvenience.
    Error Code: c0000005
    Address: 75e32f71
    I clicked on the OK button and the downloader closed.
    I did a search on this error code (c0000005) and there seems to be a workaround but no solutions, why is this? I ask that because this problem seems to be years and years old, going back to at least 2005 (do the math that is 10 years).
    I don't even have the Camera hooked up and I get this error on download.  I redownloaded everything and reinstalled.  I allso saw the AVI issues reported with this proble so i updated Quicktime though without the camera being hooked up when I get this error I didn't expect that to work.  I tried support and they wouldn't help because I bought it in March this year.  Pretty frustrating as I have re-purchased Elements about every 2 years.  I think I might need a new CODEC?   I had this problem on an Earlier version And I seem to remember that being the Fix but this may be something completely different

    I finally found that it was missing a picture so the Catalog was "corrupted".  I just deleted the picture and it started working.
    I hate Adobe and their total lack of support - thanks for nothing Adobe .  Also get this - they offered me to upgrade to 13.0 ( My 12.0 is only 6 months old  but they still don't support it on errors.  Only install errors!
    I have upgrade and repurchase this product 4 times now.  I will find something else next time!

  • My lock button no longer works on my ipod touch and now i have all kinds of problems with it freezing and kicking me out of apps. Is there any way to get this fixed and were would i go to get it fixed?

    Please Help!!!! I have an ipod touch 4th gen.  and since the last update the lock button no longer works, this has caused it to have a lot of problems now like freezing all the time, kicking me out of almost all my apps, some times even when if locks on its own its not locked and buttons with be pushed in my pocket, and this causes the battiery to die fast.   I really love my ipod and would like to just get it fix if possible for a reasonable about of money. Anyone know of a place I can get it fixed in Ft Lauderdale Fl area or is there something I can do?

    Have you tried:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    Apple will exchange your iPod for a refurbished one for this price:
    Apple - Support - iPod - Repair pricing
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Problem with java swing button and loop

    Problem with java swing button and loop
    I�m using VAJ 4.0. and I�m doing normal GUI application. I have next problem.
    I have in the same class two jswing buttons named start (ivjGStart) and stop (ivjGStop) and private static int field named Status where initial value is 0. This buttons should work something like this:
    When I click on start button it must do next:
    Start button must set disenabled and Stop button must set enabled and selected. Field status is set to 1, because this is a condition in next procedure in some loop. And then procedure named IzvajajNeprekinjeno() is invoked.
    And when I click on stop button it must do next:
    Start button must set enabled and selected and Stop button must set disenabled.
    Field status is set to 0.
    This works everything fine without loop �do .. while� inside the procedure IzvajajNeprekinjeno(). But when used this loop the start button all the time stay (like) pressed. And this means that a can�t stop my loop.
    There is java code, so you can get better picture:
    /** start button */
    public void gStart_ActionEvents() {
    try {
    ivjGStart.setEnabled(false);
    ivjGStop.setEnabled(true);
    ivjGStop.setSelected(true);
    getJTextPane1().setText("Program is running ...");
    Status = 1;
    } catch (Exception e) {}
    /** stop button */
    public void gStop_ActionEvents() {
    try {
    ivjGStart.setEnabled(true);
    ivjGStart.setSelected(true);
    ivjGStop.setEnabled(false);
    getJTextPane1().setText("Program is NOT running ...");
    Status = 0;
    } catch (Exception e) {
    /** procedure IzvajajNeprekinjeno() */
    public void IzvajajNeprekinjeno() {  //RunLoop
    try {
    int zamik = 2000; //delay
    do {
    Thread.sleep(zamik);
    PreberiDat(); //procedure
    } while (Status == 1);
    } catch (Exception e) {
    So, I'm asking what I have to do, that start button will not all the time stay pressed? Or some other aspect of solving this problem.
    Any help will be appreciated.
    Best regards,
    Tomi

    This is a multi thread problem. When you start the gui, it is running in one thread. Lets call that GUI_Thread so we know what we are talking about.
    Since java is task-based this will happen if you do like this:
    1. Button "Start" is pressed. Thread running: GUI_Thread
    2. Event gStart_ActionEvents() called. Thread running: GUI_Thread
    3. Method IzvajajNeprekinjeno() called. Thread running: GUI_Thread
    4. Sleep in method IzvajajNeprekinjeno() on thread GUI_Thread
    5. Call PreberiDat(). Thread running: GUI_Thread
    6. Check status. If == 1, go tho 4. Thread running: GUI_Thread.
    Since the method IzvajajNeprekinjeno() (what does that mean?) and the GUI is running in the same thread and the event that the Start button has thrown isn't done yet, the program will go on in the IzvajajNeprekinjeno() method forever and never let you press the Stop-button.
    What you have to do is do put either the GUI in a thread of its own or start a new thread that will do the task of the IzvajajNeprekinjeno() method.
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    This tutorial explains how to build a multi threaded gui.
    /Lime

  • Problem with Audio in Buttons and Interactive

    Hi!!
    I have problems with the sound into buttons and Forms Interactive. The question is when I add a sound within a button, this it sounds directly when it enters the slides and not when the user presses the button.
    How I solve it?
    Thanks
    NEXTsp

    Hi there
    It isn't a problem. The function is working as it should. You simply have a different expectation!
    You have to think about it in different ways. When do you want the audio to play? When the button has been clicked, right? When you attach audio to an object such as a Button or an Image, the audio plays when that object appears. The trick here is to make an object appear on the Button click. You then attach the audio to that.
    If you have Captivate 3 or older, you can enable the Success caption for the button. Attach the audio to the caption. Button is clicked, caption appears and you hear the audio.
    What's that you are asking? Oh, you don't want to actually SEE a Success Caption? No problem. Choose the Transparent caption type and remove any text!
    If you have Captivate 4, you can also use the same method to accomplish this. But you can also probably use the new scripting in it to make the audio play on a Button click. I can't tell you how to do that at the moment if that's the approach you want to take. I'll have to leave that to another person here that has played with the scripting to explain how it's done.
    Likely it involves opening a panel, inserting or declaring a variable, adding a sound file, associating the variable with the sound file, assigning actions to the button to check the variable and change it if you need to. Stuff like that. Sounds a bit like a Rube Goldberg setup. But really that's what happens with the Success Caption method. It's just that we deal with objects and not the code behind the scenes.
    Hopefully this was somewhat helpful... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Problems with Flash CC user interface. Mainly I can't seem to click certain buttons and input fields on various modal windows. (eg. Scale and Rotate, Sound Properties,

    Hi there,
    I'm wondering if anyone else is experiencing issues like this. I'm basically finding that a bunch of different buttons, fields, and tabs do not respond to my clicks. This seems to be spread out throughout the application.
    I've had to work around most of this by using the tab and arrow keys to navigate around modal buttons and fields... but it is a bit of a pain.
    There are some parts of the interface that can't be accessed via tabs and arrow keys... for example the ActionScript Tab on the Sound Properties window... there's no way to get to that... and clicking the tab itself does nothing, although I can see that the rollover state of the tab is activated.
    I've ended up having to run Flash CS6 in order to set the export classes of sound files and that's a bigger pain.
    Similar UI issues exist with other things... for example the color picker (eye dropper) seems to pick colors near, but not directly under itself.
    I'll be honest... I'm running on Windows 7... via boot camp... on a Mac Book Pro with retina display... so the issues could stem from this combination. However... Flash CS6 does not have any of these issues... so I can only think that it is a Flash CC issue.
    I appreciate any input you can provide. ( Although the obvious "run it on OSX instead" or "just use CS6" aren't the kinds of answers I'm looking for. I have my reasons for the setup. )
    Thanks.
    Cheerfully,
                           - JR

    Thank you for the suggestion. I've just done the uninstall, clean, re-install process.
    No luck.
    Even the first-run modal that comes up to choose Sync Settings has the same problem. All three buttons will go to a rollover state if I mouse over them... however, none of them are clickable. The only clickable item is the OS window close button. If I use the TAB key to move from button to button it moves the yellow button selector accordingly. If I press the ENTER key it responds correctly. For some reason clicking is not working on these parts of the Flash CC UI.
    *Note: This does not happen with all of the Flash CC UI elements... only some key ones (Save As - Confirm Overwrite, Symbol Properties and Swap Symbol dialog boxes also do not work with clicks, only with the keyboard navigation). Really a pain in the posterior.
    Again, I'm wondering if this is an issue particular to my hardware/os combination but I have had no luck finding answers online.
    Any other possible solutions out there?

  • After updating to 8.1.2 my iPad continues to restart. I tried resetting all the settings and this didn't work. I tried rebooting by holding the start button & power button and it didnt work either. The problem has actually worsened. I can no longer u

    After updating to 8.1.2 my iPad continues to restart. I tried resetting all the settings and this didn't work. I tried rebooting by holding the start button & power button and it didnt work either. The problem has actually worsened. I can no longer use my iPad.

    You need to restore the iPad.
    Use iTunes to restore your iOS device to factory settings - Apple Support
    If that will not work, you will need to use Recovery Mode to restore.
    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support

  • Hey my lock screen button and home button jammed it doesnt work.How can I fix this problem.But first of all I live in Turkey.But my Iphone 4 is bought from apple store victoria gardens CA.Do I have warranty in Turkey ?

    Hey my lock screen button and home button jammed it doesnt work.How can I fix this problem.But first of all I live in Turkey.But my Iphone 4 is bought from apple store victoria gardens CA.Do I have warranty in Turkey ?

    The warranty is only good in the country of purchase.

Maybe you are looking for

  • ECC5 -  error message GLT0002 while clearing open entries

    hi all, Its a scenario in ECC5. Document splitting is active and One GL account which was not active with open item management is made active now with help of RFSEPA02 program . But now if I want to clear the line item in that account the system thro

  • Problems viewing pdfs after upgrade to acrobat reader 8.0

    After uograding to acrobat reader 8.0, employees are getting garbage characters when they open docs created in acrobat 7.0.  Everyone is running Windows XP.  They have saved docs to desktop and tried to open but still no luck... any suggestions?

  • SAP Report to Display Allocation Factors

    Is there a standard SAP report that is available for displaying the Allocation Factors in an 'Actual Assessment Cycle'?    Specifically, I am interested in viewing the factors when the receiver rule is 'Fixed Percentages'.   Thank-you.

  • Error can't open with adobe reader

    There was an error opening this document. The file is damaged and could not be repaired. I have the lastest version11.0.06 and a Mac, I am using Mavericks OS 10.9.1.

  • How do I get Cisco Connect back?

    I bought the Linsky E2000, and after I installed it Cisco Connect was installed too. Someone in my household uninstalled Cisco Connect so now my Linsky gaming adapter wont work so my laptop and PS3 can't go on the internet. How do I get Cisco Connect