ALV: Problem with toolbar event

Hi ALV-experts,
I have a dynpro with a header area where I display an ALV table. Below this I have a subscreen with a tabstrip control and two tabs.
In the ALV toolbar I defined an own button. This button gets deactivated after pressing this button. I achieved this by the option "disabled" in the structure stb_button within the event handler for the toolbar event.
This works all fine so far. If I start the dynpro and click on the button in the ALV-toolbar the buttons gets deactivated afterwards. But I have I jump between the tabs before I press the ALV-toolbar button, the button does not get deactivated.
The debugger does not go into the event handler of the toolbar event. I also did system debugging of the method SET_TOOLBAR of the CL_GUI_ALV_GRID-class. Here I pass in both cases the command
raise event toolbar e_object = m_cl_toolbar e_interactive = i_interactive.
but in the second case (when I change the tabs before I press the button) the event handler is not executed and I don't know why. I also tried to register the event handler for all instances of the ALV still with the same result.
The ALV method set_toolbar_interactive( ) did also not solve the problem.
I couldn't find any SAP note about an issue for this event.
Does anybody have an idea or a solution for this problem?
EDIT:
Problem solved, it was typo!
Thanks in advance and regards,
Martin
Edited by: Martin Fischer on Jul 7, 2010 4:53 PM

The problem was a typo!

Similar Messages

  • At event calendering site, getting message "There was a problem with your event submission. If you have disabled JavaScript please enable it and try your submission again." Javascript is ENABLED on my computer.

    I'm trying to submit an event to the events calendar at http://calendar.jtnews.net/events/index.php?com=submit. After I enter the Authentication words and press Enter, I get the message, "There was a problem with your event submission. If you have disabled JavaScript please enable it and try your submission again." According to my Firefox/Tools, etc., button, Javascript is enabled. I

    Hello mjswooosh,
    I'm very disheartened to hear that you've had ongoing problems when attempting to order from BestBuy.com. Our goal is ever to provide a fun and efficient shopping environment! Certainly creating aggravation serves neither you nor us and I apologize sincerely for this having been your experience.
    We recommend the troubleshooting steps you mentioned (i.e., clearing the browser cache, deleting temporary internet files and cookies) because this is the most common cause of this type of problem. I too have encountered this issue from time to time and these steps have almost always resolved the problem. I say almost always because there's one further step you can try: ensure that you have signed out of BestBuy.com, then perform the browser maintenance steps we've recommended. Afterward, before signing in to BestBuy.com, add your desired items to your cart and sign in as part of the checkout process. When the standard steps have not netted a resolution for me, this has solved the problem each time.
    I hope this helps. I'm very grateful that you took the time to write to us with your concerns and for sharing your very valuable feedback about your online experience.
    Sincerely,
    John|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Problems with close event scripts and closing Photoshop

    Hi!
    We are having problems with close event scripts ("Cls ") when closing/quitting Photoshop.
    The close event scripts are working without problem when closing an image. But when quitting Photoshop without having closed all images we are observing the following behaviour:
    with CS2 the close event scripts are not triggered at all
    with CS4  the close event scripts are triggered and executed correctly. But after that the Photshop process freezes. No visible GUI, you have to kill the process with the task manager.
    I can reproduce this behaviour even with a small script consisting of a single alert('hello') and even an empty script. Is this an known bug or am I doing something wrong?
    Thanks for your help!
      Eric

    Check your energy saver settings under system preferences. That is where you set sleep setting.

  • Problem with Toolbars in LVC_S_LAYO

    Dear all,
    i am using structure LVC_S_LAYO.
    Here in my toolbar some icons like show next,summation are inactive.
    Also i am using LVC_T_FCAT where i have set DO_SUM = 'X'.
    When i see in debugging the value X is getting passed from my it_fieldcatalog table but still
    the sum of the desired column is not displayed.what must be the problem?
    Why are these icons inactive in the toolbar.?What should i do to Activate them?

    If you are using the OO model cl_gui_alv_grid you won´t need any of the fcat models as the sum facility is included on the standard toolbar.
    Just select the column and then press the SUM button.
    If  you switch to the OO model you don`t need to do very much coding and there are a lot less chances of getting errors.
    However if you DO program the toolbar then you will need some code like
    1)  in the constructor set the handler for the ON TOOLBAR event.
    SET HANDLER z_object->on_toolbar FOR grid1.
    also have one for ON_USER_COMMAND
      SET HANDLER z_object->on_user_command FOR grid1.
    2) in the the toolbar method activate the buttons you need
    For example
    method ON_TOOLBAR.
    type-pools icon.
    CLEAR ls_toolbar.
        MOVE 0 TO ls_toolbar-butn_type.
        MOVE 'EXIT' TO ls_toolbar-function.
        MOVE space TO ls_toolbar-disabled.
        MOVE icon_system_end TO ls_toolbar-icon.
        MOVE 'Click2Exit' TO ls_toolbar-quickinfo.
        APPEND ls_toolbar TO e_object->mt_toolbar.
        CLEAR ls_toolbar.
        MOVE  0 TO ls_toolbar-butn_type.
        MOVE 'SAVE' TO ls_toolbar-function.
        MOVE space TO ls_toolbar-disabled.
        MOVE  icon_system_save TO ls_toolbar-icon.
        MOVE 'Save data' TO ls_toolbar-quickinfo.
        APPEND ls_toolbar TO e_object->mt_toolbar.
        CLEAR ls_toolbar.
        MOVE  0 TO ls_toolbar-butn_type.
        MOVE 'EDIT' TO ls_toolbar-function.
        MOVE  space TO ls_toolbar-disabled.
        MOVE  icon_toggle_display_change TO ls_toolbar-icon.
        MOVE 'Edit data' TO ls_toolbar-quickinfo.
        MOVE  'EDIT' TO ls_toolbar-text.
        APPEND ls_toolbar TO e_object->mt_toolbar.
        CLEAR ls_toolbar.
        MOVE  0 TO ls_toolbar-butn_type.
        MOVE 'PROC' TO ls_toolbar-function.
        MOVE  space TO ls_toolbar-disabled.
        MOVE   icon_businav_process TO ls_toolbar-icon.
        MOVE 'Process.' TO ls_toolbar-quickinfo.
        MOVE  'PROC' TO ls_toolbar-text.
        APPEND ls_toolbar TO e_object->mt_toolbar.
        CLEAR ls_toolbar.
        MOVE  0 TO ls_toolbar-butn_type.
        MOVE 'EXCEL' TO ls_toolbar-function.
        MOVE  space TO ls_toolbar-disabled.
        MOVE  icon_xxl TO ls_toolbar-icon.
        MOVE 'Excel' TO ls_toolbar-quickinfo.
        MOVE  'EXCEL' TO ls_toolbar-text.
        APPEND ls_toolbar TO e_object->mt_toolbar.
        MOVE  0 TO ls_toolbar-butn_type.
        MOVE 'REFR' TO ls_toolbar-function.
        MOVE  space TO ls_toolbar-disabled.
        MOVE  icon_refresh TO ls_toolbar-icon.
        MOVE  'Refresh' TO ls_toolbar-quickinfo.
        MOVE  'REFR' TO ls_toolbar-text.
        APPEND ls_toolbar TO e_object->mt_toolbar.
    endmethod.
    What the above code does is set the variable E_UCOMM with the value in the toolbar function for example if I press the EXCEL button E_UCOMM is set to EXCEL.
    Now the method ON_USER_COMMAND is called where you can then choose your method / action for the toolbar.
    method ON_USER_COMMAND.
           FOR EVENT before_user_command OF cl_gui_alv_grid
           IMPORTING
             e_ucomm
             sender.
    CASE e_ucomm.
          WHEN 'EXIT'.
            LEAVE PROGRAM.
          WHEN 'EXCEL'.
            CALL METHOD me->download_to_excel.
          WHEN 'SAVE'.
          WHEN 'PROC'.
            CALL METHOD me->process.
          WHEN 'REFR'.
            CALL METHOD me->refresh.
        ENDCASE.
    endmethod.
    Note that the routine ON Data Changed Finished is always called before the user command handling if you set a handler for the event data changed finished;
    Your data of course must still be correct  for summing it must be NUMERIC.
    Cheers
    jimbo

  • Problem with Toolbar in Itunes 9.0.3

    I upgraded to 9.0.3 and now my itunes toolbar will not work. This happened in 9.0.2 also. Is there a fix or should i just go back to 9.0.1 until they update again.

    I've had this problem as well, the solution from the AXIS mail lists shows that it seems to be a problem with the xmlparserv2.jar that is supplied with IAS. Xerces does not produce this problem, the solution is simple but annoying.
    Save the auto generated WSDL and then add the following to the wsdl:definitions line of your WSDL document, and then deploy this WSDL document with your application.
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    Then in your server-config.wsdd file, reference the supplied WSDL with the following tag in your service descriptor.
    <wsdlFile>/<path-to-wsdl>/myService.wsdl</wsdlFile>
    Then everything should work perfectly, the AxisServlet will display your supplied WSDL rather than generate it dynamically when the ?WSDL parameter is specified.
    Andy.

  • Problems with Repeating Events on Palm and iCal

    Hi,
    I'm having a problem with daily-repeating events entered into either my Palm or iCal. When I put events in my palm and sync them to iCal, the iCal calendars look right, but then the Palm events become truncated,i.e. only the first day of daily event will be visible. If I do nothing but just sync again, the events in iCal become weirdly duplicated, i.e. if an event had two repeats, the "original" occurrance will be there, along with a second, starting on next day of the series, lasting for the same number of repeats. Is there any way to make one calendar the overwriting calendar while using iSync? Or do you know of some other fix? This problem doesn't seem to affect other repeating events, either monthly or yearly.
    Thanks
    20" iMac with Intel   Mac OS X (10.4.10)   500 GB HD, 2GB RAM 60GB Video iPod

    As I just posted in another thread, there are a whole series of 'representation disconnects' between the Palm calendaring application and iCal.
    While this article— iSync: About Syncing Recurrent Events Between iCal and Palm OS Based Devices—would lead to you believe that iSync is primarily the issue, it's not: this behavior occurs primarily because of the differences between the calendaring programs in each environment, and only secondarily because of the manner in which records are pushed and pulled by the synchronization framework.
    iSync itself is simply another compliant sync client, and there is unfortunately no workaround for the issues delineated in the article.

  • Problem with halcyon event adapter

    Can anyone help me with the following problem I have with the installation of the Halcyon Prime alert event action module on my SunMC 3.6.1 which is installed on a Solaris 10 zone.
    Installation of Halcyon eventaction module 2.2.0b seems to be ok but if I try to add an new action the script tab stays empty.
    I placed the scripts in the /var/opt/SUNWsymon/bin/HALEventAction file system with root as owner as described. Are there more reguirements ?
    Thanks in advance.

    It seems to be a problem with our console client.
    The webstart method I used to start the console with has this problem.
    The windows console client works fine.
    Thanks anyway

  • Problems with KEY_UP event

    I'm doing some work at the moment on a program and have noticed that it is (very occasionally) not registering KEY_UP events, which is causing major issues with my code. It never seems to do this with KEY_DOWN events.
    Anyone had this problem before? Is it a known issue? Any help appreciated

    Hi Martin,
    Look at the following posts:
    Help catching Control-K
    Trapping ctrl k
    It looks like you cannot trap this event. I also investigated with EventSpy and don't get any event in if I use Ctrl and any other character. If pressing CtrlShiftk you get KeyPressed = 34 and not 107 anymore as k is now uppercase because of shift.
    Hope it helps,
    Adele

  • Intermittent Problem with Business Event.

    Hi,
    I have a problem with a BES Event. My suspicions are that the event is intermittently nor firing. It's custom code subscribed to '*.apps.ar.hz.PersonProfileExtAttr.Update' (an EBS Person Profile Extensible Attribute Update).
    In the first lines of the custom code an audit is written to a table. For some one the updates to the Extensible Attribute no audit is written.
    The table HZ_PARAM_TAB is cleared for the item
    Q: Is there a way to prove that the BES Event did/did not fire?
    Thanks in Advance,
    Kieran.

    Kieran,
    Never experienced any performance issues when setting this profile option. However, you may review the following documents.
    Note: 280849.1 - How To Purge/Delete The Information From HZ_PARAM_TAB Table ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=280849.1
    Note: 187275.1 - TCA API Callouts/Workflow 2.6 Business Event System: Performance Issue
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=187275.1
    Note: 171703.1 - 11.5.x: Implementing Oracle Workflow Directory Service Synchronization
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=171703.1
    Regards,
    Hussein

  • SAP Gui 7.20 PLevel 3, ALV Problems with German Umlauts u00FCu00F6u00E4...

    Hi,
    we have updated our SAP Gui to version 7.20 lately and have some serious problems now with entering German Umlauts 'üöäÜÖÄß' into any editable ALV grid.
    This means when typing in e.g. 'ü', the grid immediately removes this character and replaces it by, well, by nothing. It just ignores this character at all.
    SAP Gui is currently at patch level 3 . The correct version is 7200.1.3.3190, build 1196830. Running German Windows XP clients with service pack 3. ERP is running SAP ECC 6.0.
    Is this a known problem? Has sbdy. a workaround this?
    Edit: Just found the release notes for SAP Gui 7.20 Lvl 3:
    2010/09/02     Texts get garbled while typing umlaut character in ALVGrid, Note 1503081
    This note, however, is not open for public view. OTH this means SAP was aware of this problem and tried to correct it to no avail so far.
    Thanks,
    Michael
    Edited by: Michael Fritz on Nov 19, 2010 11:19 AM

    Hi Martin,
    where did you get this info? Any official SAP note available? Do you encounter similar problems?
    We, too, noticed that uploading and downloading files from directories with German Umlauts, this fails now,too. There may be problems with files, too, however, we did not check this so far. The previous SAP Gui, I guess it was 7.10, didn't have any problems with this.
    I start wondering if SAP Germany have ever tested this? Or do they not use Umlauts anyway

  • Problem with Script Events Manager buttons not showing up

    Hi,
    First off let me say that the latest release of Adobe products is a steaming pile of @#$#$.
    Countless software issues, it's slow, buggy, you name it.
    That being said, has anyone had this problem and know how to fix it.
    My Script Events Manager is broken. Yes broken. The only buttons I see are "Done" and "Remove". There is no "Add" button so that I can actually add events. Someone please tell me this is user error and that I don't need to reinstall PS.

    My system has 8 Gb of Ram and 4 processors. I doubt it's the system. I've had problems with CS Master Collection since day one. My main complaint is the ******* tabs and interface. Everything is so chunky. CS2 was smooth as butter. They keep making their products use more RAM and it's ridiculous. The tabs don't help, they only make life harder.
    Thanks for the suggestions, I was hoping not to have to reinstall PS, but looks like it's the only option.

  • Problem with PA30 event LIS1

    Hi all,
    I have a problem with PA30, I have three kind of subtyes, AS, CO, DI for a Z infotype, but I have a requirement,  when I push the mountain(LIS1) list style for all subtypes, don't see the AS type, because the user does`'t need and is confused for him, but he need to see the 'AS' when he puts the subtype in the field of pa30, because he needs to create and delete it in some case, just when he push the LIS1 don't see it,
    so the question is, is any way to do this ? I've been seeing by user exit and badis but the P9105 is a structure, so i can't get al the table to delete teh 'AS' or maybe have another name,  or some place where it fill the table that display.
    Some suggestions??
    Please let me know.
    Thanks a lot.

    Explore dynpro 3000 of your Z infotype (MPnnnn00 report in se80)

  • Time zone compatability problem with timed event created on iOS and pushed to Windows7 Outlook calendar for sharing

    Hi, I am in Jerusalem time zone. My Windows7 LAPTOP time zone is set to it (UTC+02:00 Jerusalem). My iPhone5 and iPad are both "Set Automatically" (ON)  to Jerusalem. When I create any new event in my outlook on my Laptop it's generated with the Jerusalem time zone and pushed properly via iCloud to my iPhone and iPad. However when I create a new timed event on either my iPhone or iPad. or even in iCloud calendar (in a browser) the event is pushed to outlook on my Laptop in a "Beirut" time zone. Now that both Jerusalem and Beirut are on the same time zone (UTC + 02:00) it doesn't create any problem (though I prefer to see that the pushed events are indeed in Jerusalem time zone and not Beirut...). However, at and around day time saving change days there are problems of events created on iOS devices or even in iCloud (using browser) and pushed to outlook at the wrong times (1 hour earlier or later, depends on the change direction in Jerusalem time...) with a Beirut time stamp.
    How can I resolve this problem and make sure all timed events, created on iOS devices at a Jerusalem time zone, appear as such after pushed via iCloud to my windows7 Outlook calendatr?  Thanks!

    I also have this issue (iPhone 5).  Outlook needs to be configured properly in that timezone option needs to be selected.  Which is challenging enough.
    However the bigger issue for me is that when I open the ICN file:
    1.  I have no way to accept decline etc.
    2.  When the event is populating the calendar in the wrong time I can neither cut and paste nor select and move.  It is totally static.
    So for every meeting request I have to ensure it populates the right time as per my time zone. and if it doesnt i have to manually enter a second meeting 'X' hours earlier/later depending on which time zone the meeting was generated in.
    I spoke to Apple.  Their solution is make sure Outlook is properly configured.  Fine...but good luck.  I need a work around that is Apple based.  Because this *****.
    They said they would send to the development team.  I am not holding my breath.

  • ICal 3.x .ics import - problem with recurring events and non-unique UIDs

    Upgraded to Leopard over the holiday break. Under Tiger's iCal (v2.x), .ics files exported from other calendar programs (Outlook via iAppoint/O2M in this case) and imported into iCal behaved 'normally'. However, in iCal 3.x in Leopard, for recurring appointments in the exported calendar, only the last appointment in the series shows up in iCal (although some meetings show up for about 0.25 seconds during the calendar import, then immediately disappear! This post by MalcolmS provided the critical clue - it seems that for recurring events, the .ics file has all of the events in the series with the same UID. Previous versions of iCal didn't care, but v3 apparently does - and deletes all earlier versions of the event, leaving only the last one with that UID. I confirmed that is the case by opening the .ics file in Word, which clearly showed all of the recurring events, and all the events in a series (e.g. a weekly meeting for the year) had the same UID. After the import to iCal, only the last one is in the calendar (in the above example, the one meeting of the series occurring in the last week of December). Manually editing the UIDs of a recurring series in the .ics file (to make them actually unique) allows them to all show up in iCal after import.
    Since many of the events in my Outlook calendar are accepted invites for recurring appointments, re-creating them as individual calendar events in Outlook is not a viable option. The frequency of changes to my calendar means I usually export it once per day (or twice); thus, manually editing the .ics files is also not a viable option.
    Any suggestions on workarounds for this problem? Alternatively, any other suggestions for getting the calendar data from Outlook into iCal?
    Thanks in advance!

    Moot point, as direct iPhone access to the Exchange server is now supported by our IT department.

  • Problem with action events........ :(

    hi all,
    there is a strange problem which me and my colleagues are facing now-a-days......
    For some odd and unknown reason, the links on the page suddenly stops woking... it goes like this....
    we write events (buttons or action links) .... we test them and they are working fine...... than we write some other piece of code and than run the program and links work no more... The program never goes in the action event for the component...... and surprisingly it also dont show an error.... It just keeps on refreshing itself again and again....... (this thing is also verified by using debugger that actions events just stop being called....) it happens for random situations ...... Once i thought that maybe its has to do something with beforeRenderResponse() method... but it happens even in beans without beforeRenderResponse() method.....
    Can anyone tell me whats going on around here???? we are extremely confused here with dead lines approaching fast........
    regards

    I've had this same problem....links were working fine yesterday. I added more functionality which didn't even affect the links, and now they're not working. Unfortunately, I don't have a solution either.
    Has anybody been able to access the logging in the facescontext or application to see what the lifecycle is doing before it stops???

Maybe you are looking for

  • State of the enterprise network & wireless technology

    In your opinion, what do you think is the single most gating factor for an enterprise to be able to provide wireless access to corporate resources on a LAN? and what does an enterprise need to do today to get their network ready for wireless?

  • What is the best strategy for wireless printing?

    Hi, I just got an HP 6500A wireless all in one printer and have it connected by ethernet cable to our wireless router. My desktop running Vista Home Premium is also connected to the router. Printing from the desktop works fine. We also want to print

  • Encryption in javascript and how to decrypt in java

    Hi all, I have encrypted password entered by user in javascript using the code shown below and then how can i decrypt the password in java to move further. function Encrypt(theText) { alert("---"); output = new String; Temp = new Array(); Temp2 = new

  • Catching JSP Compile Errors

    I would like to be able to display a user-friendly error page in the event that a JSP fails to compile. Is there some entry I can put in web.xml or weblogic.xml that will allow me to redirect to an error page? I have tried using error-code=500, and a

  • BDC for production order confirmation (co11n)

    Dear All, Is it better to create a table control BDC for Production Order confirmation (CO11n)? Or there is any other efficient way? Pls guide me. Thank you Vijay