Execution Take place more then once ?

<b>Hi,
  Here is code which is executed for more then once</b>
<i> Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
        If pVal.FormTypeEx = "139" Or pVal.FormTypeEx = "133" Or pVal.FormTypeEx = "179" Or _
           pVal.FormTypeEx = "142" Or pVal.FormTypeEx = "143" Or pVal.FormTypeEx = "141" Or _
            pVal.FormTypeEx = "181" Or pVal.FormTypeEx = "720" Or pVal.FormTypeEx = "721" Or _
            pVal.FormTypeEx = "65211" Or pVal.FormTypeEx = "65213" Or pVal.FormTypeEx = "65214" Or _
            pVal.FormTypeEx = "170" Or pVal.FormTypeEx = "426" Or pVal.FormTypeEx = "606" Or _
           pVal.FormTypeEx = "390" Then
            'If pVal.ItemUID = "1" Then
            If pVal.ItemUID = 88 Then
                If pVal.Before_Action = True Then
                    'If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Or pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
                    If pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT Then
                        If pVal.FormMode = 3 Then
                            If CompareString_Numbering() = False Then
                                SBO_Application.MessageBox(" Access Denied : Wrong Numbering  !!! ")
                                                          BubbleEvent = False
                                Exit Sub
                            Else
                                BubbleEvent = True
                            End If
                        End If
                    End If
                End If
            End If
        End If</i>
  <b> Which line is needed to be added so that this event is called only for once .........
Please Provide me sample code if possible.
Regards ,
Ganesh</b>

Hi,
I have just found the same sort of thing after upgrading to patch 9.  I have some code that executes on the before_action of a keydown event and now it's firing twice for some reason.
I hope this is resolvable.
David
(Same thing with a click event on one of my forms, it is also firing exactly twice each time now - even though I am checked only the before_action = true.)
Message was edited by: David Wall
Message was edited by: David Wall

Similar Messages

  • What is the lifespan of a Macbook Notebook Hard Drive, and is it a good idea to replace them more then once?

    In specific, I own a 2007 Macbook Notebook, and it is an Intel Core 2 Duo MB21.00A5.B07. Last year, it became necessary to replace the hard drive, and was informed that the reason for the replacement was that the hard drive had reached the end of its lifespan.
    My question is how long do Macbook notebook hard drives typically last? This also is in the context of frequent use of the notebook.
    Additionally, is it a good idea to replace the hard drive more then once, or will the hard ware on the notebook, after I'm assuming about six or so years, be too out of date to accommodate a second or third hard drive replacement?
    Also, since the replacement was still covered under an applecare plan (it's expired now), the general cost of replacing a Macbook notebook hard drive is not known? What is the cost generally expected of a hard drive replacement? This is in relation to repairs conducted at an applestore location (as opposed to a third party repair center). 

    justinfromlos angeles wrote:
    Also, this means that, the settings of a system like Snow Leopard, in addition to all other personal settings from a current hard drive, can be copied to and from an external hard drive?
    Your entire system can be copied to an external HD in bootable form. It's generally referred to as cloning, and there are a number of applications available to assist in the task.
    SuperDuper
    CarbonCopyCloner
    LaCie Silverkeeper
    To name but three.
    Furthermore, once cloned, should you have to replace the internal drive, it's easy to boot from the external and clone the system back to the internal.
    justinfromlos angeles wrote:
    If so, do you know where one can purchase an external hard drive and a replacement hard drive?
    As I don't live in the US, it's difficult for me to reccommend retailers, but any computer store (including Apple) can supply external HDs. Be aware that not all HDs from some manufacturers will play well with Macs; Western Digital I believe needs careful selection of the correct model. There are plenty of contributors who can no doubt help on that front. Personally I use LaCie and Iomega. Note that these are purpose built externals and come with their own enclosure and all cables reqd.
    One thing you will need to do with most of them is to use Disk Utility to partiton them correctly (GUID system for Intel Macs) and set the file system to Mac Extended (journaled) before cloning.
    justinfromlos angeles wrote:
    There is one last question. Say I've replaced the hard drive on the same computer for nine years or so. Despite the hard drive being new, would the hardware of the computer be too out of date to accept an up to date replacement hard drive?
    The hardware of the computer dictates what sort of internal drive you buy; earlier models used IDE interfaces, current models use SATA and these are not interchangable. However System Profiler will tell you what sort you have. It's still possible to buy compatible HDs for the early iMacs, c. 1998/99 so there's no reason to believe your model will suddenly become defunct.

  • HT1420 how to deauthorise all five more then once a year

    how to deauthorise all five more then once a year

    You cannot deauthorize all more than once per year.
    You can ask Apple for assistance, however, by contacting them via your Account or Support link under Quick Links in iTunes Store.

  • Can't open .msg files more then once, saved or as an attachment to an email

    we use :
    microsoft xp & office/outlook 2003
    can't open .msg files more then once, saved or as an attachment to an email
    If we save an email as a outlook.msg file , we can only open it once, close it,
    when trying to open it again it gives an error that it is not possible due to a scurity issue or it is already open.
    After closing outlook and starting it again, we can open it once again.
    Same when clicking an .msg that is attached to an email, but here we can switch to another email, go back to the one and open it again.
    We have installed all updates for both xp and office 2003 also internet explorer 8.0 to test if that would work, normally we have ie7.0.

    Hi,
    1.  What is the detail error information, please try to reproduce the issue and then post the detail error information here.
    2.  Did you save the msg file locally or on a network drive?
    3.  Please try to check security on the msg file and also check the drive NTFS permission. 
    4.  Copy over the email messages from the affected user machine to a different machine and check if the issue persist.
    5.  Test if the issue persist after saving a new email on Mailbox to local drives.
    6.  Copy over the affected email messages from local drive to a PST file and check if these emails can be opened fine.
    1)    Create a new PST file .
    2)    Added to user’s Outlook profiles.
    3)    Launch Outlook .
    4)    Highlight a folder under this PST.
    5)    Drag and drop or copy/paste the emails from local drive to Folder highlighted under the PST files.
    Besides, please try to remove all the add-ins like Entrust and then test the issue again.
    1.     Remove add-ins
    1)    Uncheck all Third-Party Add-ins selected in Outlook , found under Tool\Options\Other\Add-ins managers.
    2)    Export the registry hive below for backup.
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook \Addins
      HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Outlook \Addins
    3)    Delete the registry entries under the above path for all Third-Party Add-ins.
    4)    Close , Open Outlook and attempt to open email message on local drives.
    2.     Temporarily stop all third-party application running following the steps
    below.
    1)    Run MSCONFIG
    2)    Go to Services Tab\Select Hide all Microsoft Services check box.
    3)    Click Disable All.
    4)    Restart the Machine Test if the issue persist.
    5)    To revert back the above setting Run MSCONFIG, Go to General Tab , Select Normal
    Startup and restarted the machine.
    Regards,
    Xiu
    1 Translated from dutch as good as i know :
    "Can't open : c:\test.msg, it might not exist, do you have the required permission to open the file or is it open in another application. Click
    with the right mousebutton on the map click properties to view/check the rights for that map."
    2 tried both, the network and locally, i have the rights to save it in the map and open it once, so thats not the problem, iseems that outlook locks the file after it is openen once.
    3 security and ntfs permissions are ok, see 2
    4 tried it from different pc's networks maps etc.
    5 done.
    6 in a pst file the msg can be openen ore than once, but thats not the problem, tried and this works, but i need to save an email as an .msg file.
    7 addins removed and doen all of that part, didn't help.
    We also have tried:
    -Installing all updates and ie8
    -going back to xp sp2 (fresh install of xp)
    Only thing that did work was an msg file attached to an email, we couldn't open that more then once,
    but after  checking "Use exchange modus with cache" at the account properties we could open that more than once.
    Now we need to be able to open the email's saved as .msg more then 1 time.

  • HT1491 I was charged more then once for the same song?

    So I was trying to order a song on Sunday night and it kept saying wrong security code for my card . I try it more than once . And then I got a text from my bank
    Account saying I was charged 19.70 for song that I wasn't able to get . And I just try it again and the same thing happen but this time I was able to actually get the song cause nothing was wrong with my code from my card but charged me 9.85 for a song that only was 1.29 so in total iTunes has charged me $28.29 just for one song . I would like. Refund

    See:
    How to Get a Refund from the App Store
    It sounds like he has made multiple in-app purchases since you can only purchase and get charged an app once. If you try purchasing it again it is free.

  • Early Watch more then once a week

    Hi All
    We are going live in 2 months and I wanted to know we are making changes to our systems and we would like to run early watch more than once a week. Can some one tell me if this is possible I know I have to send the session data then kick off the early watch job in SDCCN correct? We are runnning Solman 7.01.
    Thanks Mike

    >
    Michael McGee wrote:
    > We are going live in 2 months and I wanted to know we are making changes to our systems and we would like to run early watch more than once a week. Can some one tell me if this is possible I know I have to send the session data then kick off the early watch job in SDCCN correct? We are runnning Solman 7.01.
    The EWA which is displayed in your SolMan, is also triggered through your SolMan system.
    By default, once per week, a EWA session is created for each managed system. SDCCN recognize the data collection request, provides the data and sends it to the SolMan system.
    If you want to have an additional system, you need to create an additional EWA session in the SolMan.
    To do to,
    - run transaction SOLUTION_MANAGER
    - enter the Solution Landscape which contains the managed system
    - choose Operations -> Solution Monitoring -> EarlyWatch
    - choose "New" or "Add" and select the system
    Don't be surprised, if the EWA scheduled during one week are identically or at least very similar.
    Most data in EWA is based on a weekly basis (actually data of the week before, not the current week).
    Best regards,
    Ruediger

  • Component renders more then once

    Hi,
    I'm having a jspx page containing a navigation panel and 3 panelboxes. Depending on the value of a 'Type' attribute defined in the pageDefinition, one of the panelBoxes get rendered.
    *If the value of the 'Type' attribute is 'T': the panelBox renders an inputText component.
    *If the value of the 'Type' attribute is 'S': the panelBox iterates over the details of a certain current row and show them as radiobuttons.
    *If the value of the 'Type' attribute is 'M': the panelBox iterates over the details of a certain current row and shows them as checkboxes.
    Both iterations use the af:forEach component to show the details. Here's the problem:
    Everytime I browse to the last masterrow, there are details in the panelBox which gets rendered more than once and I really don't know why.
    Here's my JSPX code:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
              xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
                  doctype-system="http://www.w3.org/TR/html4/loose.dtd"
                  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <afh:html>
          <afh:head title="Questions">
            <meta http-equiv="Content-Type"
                  content="text/html; charset=windows-1252"/>
          </afh:head>
          <afh:body>
            <af:messages/>
            <h:form>
              <af:panelPage title="Questions">
                <f:facet name="menu1"/>
                <f:facet name="menuGlobal"/>
                <f:facet name="branding"/>
                <f:facet name="brandingApp"/>
                <f:facet name="appCopyright"/>
                <f:facet name="appPrivacy"/>
                <f:facet name="appAbout"/>
                <af:panelGroup layout="vertical">
                  <af:panelHorizontal id="navigationPanel">
                    <af:commandButton actionListener="#{bindings.Previous.execute}"
                                      text="Previous"
                                      disabled="#{!bindings.Previous.enabled}"/>
                    <af:commandButton text="Next"
                                      disabled="#{!bindings.Next.enabled}"
                                      action="#{backing_Questions.nextQuestion}"/>
                  </af:panelHorizontal>
                  <af:outputLabel value="QUESTION: #{bindings.Question1.inputValue}"/>
                  <!-- SINGLE panelGroup -->
                  <af:panelBox rendered="#{bindings.Type.inputValue == 'S'}"
                               id="panelBox_S">
                    <af:selectOneRadio tip="Please select one item."
                                       binding="#{backing_Questions.singleQuestion}">
                      <af:forEach items="#{bindings.PossibleAnswersByQuestion.rangeSet}"
                                  var="possibleAnswer">
                        <af:selectItem label="#{possibleAnswer.Answer}"
                                       value="#{possibleAnswer.PossibleAnswerId}"/>
                      </af:forEach>
                    </af:selectOneRadio>
                  </af:panelBox>
                  <!-- TEXT panelGroup -->
                  <af:panelBox rendered="#{bindings.Type.inputValue == 'T'}"
                               id="panelBox_T">
                    <af:inputText tip="Please fill in the correct answer."
                                  binding="#{backing_Questions.textQuestion}"/>
                  </af:panelBox>
                  <!-- MULTIPLE panelGroup -->
                  <af:panelBox rendered="#{bindings.Type.inputValue == 'M'}"
                               id="panelBox_M">
                    <af:selectManyCheckbox tip="Please choose all that apply."
                                           binding="#{backing_Questions.multipleQuestion}">
                      <af:forEach items="#{bindings.PossibleAnswersByQuestion.rangeSet}"
                                  var="possibleAnswer">
                        <af:selectItem label="#{possibleAnswer.Answer}"
                                       value="#{possibleAnswer.PossibleAnswerId}"/>
                      </af:forEach>
                    </af:selectManyCheckbox>
                  </af:panelBox>
                </af:panelGroup>
              </af:panelPage>
            </h:form>
          </afh:body>
        </afh:html>
      </f:view>
    </jsp:root>Update:
    You can find a screenshot here.

    Thanks for your reply Frank.
    Unfortunately I'm not working with a managed bean. 'possibleAnswer' is the name of each row in the af:forEach. (Instead of row)
    I added following line to each panelBox in my code in order to print the row count.
    <af:outputLabel value="#{bindings.PossibleAnswersByQuestion.estimatedRowCount}"/>After running the page and browsing to the last record of my master table, the page renders like this.
    Regard,
    Koen

  • Select2 Plugin more then once selection

    I'm using Select2 Plugin with the tagging support enabled.
    I wish I had of the feasibility of selecting more than once the same option
    for example, if the list contains the following values
    BLUE
    RED
    BLACK
    GREEN
    I wish I could get BLUE,RED,BLUE,GREEN,BLUE .....
    I believe that it should be possible using javascript (adding back the selected item in the list ??), but I do not know where to start.
    Any help ??
    regards
    saverio

    Nick,
    thank you anyway for your precious help.
    Saverio

  • Key code valid more then once

    I am wanting to buy the photoshop cs6 and am currently running Microsoft but want to upgrade my laptop by the end of the year to a Mac... Can you only use the keycode once when you purchase it? Should I go and get the new computer now? On that note does anyone recommend which Mac for photo editing I was thinking MacBook pro 15" or should I go the 17"? Thanks

    dlc6734 wrote:
    I am wanting to buy the photoshop cs6 and am currently running Microsoft but want to upgrade my laptop by the end of the year to a Mac...
    Hi dlc
    You can do a "Crossgrade" to change platforms, the information on the process is here, please make sure you read it carefully and understand all the steps. If you have any questions about the process, or are unsure about any of the steps, contact Adobe Customer Service directly, they are the only ones who can give you absolute answers in areas such as this.
    As for which Mac to buy, I work in IT sales so I'll give you a trite "sales" answer, but it's advice I follow myself when I build my own systems; simply buy the most powerful system you can with the budget you have available on the day!
    I assume from the way you've phrased your question that you're not interested in a desktop? Okay, the 17" MacBook Pro is a fantastic machine, but it's a beast to haul around, so if you need to be "mobile" you may want to consider a maxed-out 15" machine, plus a decent - 24" 1920x1200, IPS panel - monitor for when you're working at your desk.
    A good place to start would be to visit Apple and play with the configuration tools for the 15" and 17" machines, plug in the most powerful processors, and fastest hard drives, then see if the $'s are in your budget. A word of advice, do not buy additional RAM from Apple, the prices are outrageous and cannot be justified, buy the machine with the minimum amount of RAM available, then purchase good 3rd party RAM such as Kingston - no, I don't work for Kingston! - and install it yourself, it's easy. In fact, once you've spec'd out a machine, shop it 'round Apple's authorized resellers, I'll pretty much guarantee you'll get a better deal.
    Good luck
    Paul

  • HT1918 iTunes billed me more then once and i still can't download apps

    Why can't I download free apps

    If you would like help from these user-to-user forums then you will need to provide more information. What happens when you try to download an app ? If you are getting an error message then what does it say ?

  • Artists name appears more then once

    I just uploaded a bunch of Smashing Pumpkins songs and then later on when I went to listen to my iPod i'm scrolling through the Artists and it's in there 4 times
    Smashing Pumpkins
    Smashing Pumpkins
    Smashing Pumpkins
    Smashing Pumpkins
    each one has the same exact songs in it why is it in there 4 times and how do I fix it - Thanks

    My first thought is to click to edit the title of them. It's hard to illustrate on here but sometimes there is an extra space at the end of the artist name or before it. That will cause it to make more than one show up since the ipod reads it as two different things. Just go through and make sure there are no extra spaces or anything and that the names are EXACTLY the same to have only one show up.
    The one thing that makes me think that isn't the problem is because you said ALL the same songs are in them. Usually the one with the wrong title will show up with that single song in it. Hmm..Look and see anyway, it wouldn't hurt.

  • Insert taking place more than once

    Hi,
    I have a jsp page where the user does some selection in the drop down lists. Here I want to insert userName, date into Oracle table.I am able to do that. But the problem is it is inserting twice as the page refreshes when the user does some selection. I want to insert only once.How can I fix this.
    Zarina.

    You can set a flag to say if its already inserted once, the flag is flipped and it will not update again. Or you can have database constraints where the 2nd insert would fail.
    Hope this helps

  • Run form more then once from development

    Hi,
    I use formbuilder 10g and try for testing run my application by clicking the button run form in form builder.
    At this time the runtime environment always needs the password a second time and, if I try to run it a second time again, I have to restart my developer becaus I always get only html code but not starting the browser (Internet exlorer 6).
    What have I to change?
    regards
    Siegwin

    IE6 ? Really? You do understand that this is the year 2011? Anyway....
    Do the following:
    1. Open the Builder.
    2. From the menu select Edit > Preferences > Runtime
    3. In the field labeled Web Browser Location, enter the complete path to the desired browser. So if you are using IE for example, the entry would probably look like this:
    C:\Program Files\Internet Explorer\IEXPLORE.EXE
    4. In the field labeled "Application Server URL", this should refer to your local machine and port. The easiest way to populate this field is to delete the current contents if you are uncertain of its validity, then press the button labeled "Reset to default". After click the button, simply click on OK to accept the changes.
    One last thing... it may also be necessary to change the browser security settings to permit the form to launch using the "Run Form" option. In some cases, you will need to check the browser setting " +Allow active content to run in file on My Computer+ ". This can be found in the browser settings on the Advanced tab.

  • IPod displaying the same artisit more then once in the artist view

    When I sync my library to my ipod, my ipod displays copies of the same artist. Right now it is 3 copies and I was wondering a way to fix it.
    I have purchased the songs in question from the itunes store. and the artists that are repeated have the same albums and songs listed under them... Im refering to the "artist" sort mode on the ipod
    I know this isnt a tech forum per say.. but this is really annoying me and would like to know how to fix it..
    This is what my ipod displays when I go to sort by artisit
    Coldplay
    Daughtry
    Daughtry
    Daughtry
    Disturbed
    Im sure you see the problem and yeah... appreciate the help if someone can help me.
    Also the 2 artists that are doing this are daughtry and our lady peace... both of whom I purchased the music from the itunes store

    Select all the songs in the iTunes library by the same artist (all at the same time). While all are highlighted do a Get Info. Is the Artist field blank? If so that means there is an actual difference between two or more of the selected tracks for that field. Mispellings, added space characters, accent marks on some by not the others, etc. Simple solution is to now type in the artist name (to be applies to all the songs equally), OK out of there and see if the iPod looks right after re-syncing.
    Patrick

  • Itunes charged me more then once.

    after a purchase itunes charged me multiple times then it cost. the app was only $5.34 and it doubled to 12 times leaving the purchase to be $64.08.

    Contact iTunes store support. This is a user forum. We can't do anything about it.

Maybe you are looking for