Is it possible to get an event, if user end transaction with /n?

Hello,
i have written an own control component(combination from enjoy controls(Toolbar, Tree and Splitter) in ABAP. If the User end the transaction with the gui status BACK END or CANCEL, I got a PAI and can say save_layout( ) set screen 0 leave screen, that next time the control has the same layout. If the user leaves the transaction with /n, I get no PAI to save the layout. If there are any event that I can catch to save the layout of my control. I find the class cl_system_transaction_state with event transaction_finished, but this event is only raised by commit work or rollback work.
Thanks & Regards

Hello,
There is no event triggered on a "/n".
Users should know that "/n" leave the transaction brutaly without any confirmation
Sorry
Regards
JM

Similar Messages

  • Is it possible to get the active directory user name of the person

    Is it possible to get the active directory user name of the person who is logged onto a windows computer, when they are using your coldfusion site, the same way asp pages can do that?

    SECOND TRY TO POST THIS REPLY
    You have to turn on "Windows Integrated Security" and turn off anonymous login in the IIS web server, once that condition is met the cgi.AUTH_USER variable will be popluated with the domain/username of the user logged into the cient computer.
    If the user is using a windows browser on a windows client computer this will be done silently in the background.  Otherwise they will normally be presented with a login dialog box by the browser.

  • Is it possible to get an event notificati​on when a file is changed ?

    Dear,
    I have to do something on a file or folder when this is changed from outside the program. I can write a loop and look regularly to the change date. However to avoid unnecessary CPU processing, I would like to be notified when a file is changed. Can this be done by events in LabVIEW ?
    Thanks in advance for your reaction.
    Best regards,
    Marc

    Marc VH wrote:
    Dear,
    I
    have to do something on a file or folder when this is changed from
    outside the program. I can write a loop and look regularly to the
    change date. However to avoid unnecessary CPU processing, I would like
    to be notified when a file is changed. Can this be done by events in
    LabVIEW ?
    LabVIEW
    has not a build in disk event handler. On Windows I would call the
    Windows API functions FindFirstChangeNotification together with the
    according event handling APIs. Or maybe since LabVIEW does not run on
    9x systems anyhow anymore use ReadDirectoryChangesW instead.
    Enclosed is a simple example using FindFirstChangeNotification. It is
    all enclosed in one VI using an internal shift register. This limits
    the function to be used for on change notification at the same time
    only. In order to make it deal with multiple change notifications one
    would have to change quite a bit of the VI, possibly taking out the
    create, retrigger and close operation into individual VIs passing an
    uInt32 between them for the change notification handle.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions
    Attachments:
    WIN File Change Notification.zip ‏29 KB

  • Is it possible to get microsoft office on an older iMac with powerpc?

    My girlfriends father recently purchased an older imac g5 ppc and is wondering if theres a way to get microsoft office on it? The version i have only works with the new intel processors.

    The latest version available to run on PPC machines is Office 2008.  Either look for it on the Microsoft web page, or in eBay.

  • How to i get the client the user is working with?

    Hi
    in the inbound-container is the field syncuser which specifies the username a client is synchronizing with. is there also a way to see the client?
    when i start external debugging the rfc request comes in over client 011 but when the abap code is called the client ist suddenly 001. can i see exactly when this change is happening. somebody already refered me to there following notes.
    1026186
    1026187
    1025906
    1007111
    i am using sp9, there shouldnt be such a probrem, right?
    is this the problem i descriped?
    Thanks
    Philipp
    Message was edited by:
            Philipp Hofmann

    Hi Philipp
        The client againt which you are synchronizing cannot be seen in the inbound container received in the middleware.  You mentioned that the client is on SP9. What does this mean. Are you on MI2.5 SP9 or MI 7.0 SP9.  If you are MI7.0 SP9 then you need to be upgrade to either MI7.0 SPS10 or SPS11.  If you cant upgrade then you have to wait until this fix is released in the next patch on SP09.  If you are on MI2.5 SP9, then i am afraid you are on a very very old SP.
    Best Regards
    Sivakumar

  • Getting error when run user defined transaction code

    Hi there,
    I created one ZTcode by using standard Tcode's program and screen number. When I run this Ztcode,  shows an error "Error when access file TC10 Ztcode" on taskbar. What is problem, pls reply.
    ur answer is most useful.
    Regards,
    Zakir Khan.

    TC10 stores information related to SAP transaction like TC10-TRTYP which give the type of transaction (display, edit, initial)
    The standard program check in this table (and other TC*) how it should perform.
    Way to solve the problem
    - try defining you Z-transaction by referencing standard transaction, not giving the program/dynpro.
    - If that don't work you may have to duplicate the called program and then override sy-tcode by the original value in the program before accessing tables TC*
    - Other way is to duplicate records in table TC10 and other tables
    Regards

  • How  can i get the event of selected PageItem in ActionScript

    hi,
    when i select the pageitem on document then i want the event of that pageitem .
    Is there a possibility to get that event ?
    best thanks for any hint.
    govind

    Marcel,
    Please consult the "Tables" chapter in the UIX Developer's Guide. You can search for a method titled "doSelectionEvent" that will indicate how to deal with table selections.
    Hope this helps,
    Ryan Pollock

  • Getting key events without a jcomponent...

    Is it possible to get key events without adding a keylistener to a jpanel? I want a class of mine to manage input of it's own, but it has no reference to a jpanel. They don't necessarily have to be KeyEvents, but just some way to detect if a key has been pressed (like the arrow keys). How can I do this? Thanks.

    Lots of components can listen for key events.
    What does your class subclass?It doesn't subclass anything. I am creating a custom menu system for my game using images I have made for the tileset. I would like it to handle some keyboard events of its own. (Like if the down arrow is pressed, it will move the focus down to the next component on its own). Right now I am currently passing the key events from my fullscreen jpanel to the menu class and it is handling them that way. Thanks.

  • Is it possible to get 2-ch signals from TDS2012 oscilloscope at the same time with LabVIEW "7.0"?

    Hi, everyone.
    I've been trying to get the signals from 2-ch of Tektronix TDS2012 oscilloscope at the same time using IVI connection with LabVIEW "7.0"
    I've already searched this developer zone for the answer.
    I've tried the famous example: "IviScope - Acq Dual Wfm Edge Triggered.vi"
    and it gave me the error message like:
    Error -1074110451 occurred at IviScope Initialize With Options.vi
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA600D) Primary Error: (Hex 0xBFFA600D) The Config Server module is not present on the system.
    I think I've installed all~ the required softwares for IVI. For example, ICP 2.2, IVI engine 2.0.46, and tktds1k2k ivi (instrument driver for tds2012, in fact this one is for LabVIEW "7.1"... :-P)
    TDS2012 and my computer is connected through HPIB(GPIB) and it is shown on the MAX (a GPIB instrument as well as an IVI hardware asset)
    I've tried GPIB connection but it gives me asynchronous signals...
    Is it possible to get 2 signals at the same time with LabVIEW 7.0(not 7.1 or higher) by any means?
    What in the earth is the "Config Server" in this case?
    I don't need to sticking to IVI and any method to achieve my goal will be welcome.
    Could anyone give me the hint for this problem, plz?

    I think your problem is that the instrument specific driver is version 7.1 and you are using the class driver with 7.0. You can create your own 7.0 driver by downloading the LabWindows driver and using the Import CVI Instrument Driver under the Tools>Instrumentation menu.
    Since you don't seem to have a good reason to use IVI, why don't you try the native LabVIEW driver at http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9139659CE034080020E748.... I believe you have all of the functions to setup each channel and then when you trigger the scope, both channels will be captured. You would then transfer each waveform separately. The data is always read sequentially but that's not important as long as both channels are triggered at the same time.

  • Possible to Get Database backup with java program

    Hello
    Is it possible to Get or Create Database Backup on runtime with java program using some sql statements
    How could i do that
    '

    Cross posted and multi-posted.
    Hey jackass why don't you look where I already answered this question.
    http://forum.java.sun.com/thread.jspa?threadID=654902&messageID=3849575

  • Tigger event when user change iphone time

    It is possible, we can trigger event if user change date and time of iphone.

    Did you traced ICI, if any de-register events getting published when you close IE.

  • 10.3: finally possible to get unsolicited notification in a server?

    Hi all,
    after reading about the new stuff in 10.3 I can't help wonder whether the new tpappthrinit() function will be an enabler for finally getting the possibility to get unsolicited notifications to a Tuxedo server. Could anyone please shed some light on this?
    Best regards,
    /Per

    I don't even need to put it in a thread, I could find use for it in a single-threaded server as well (and it would be far more useable for old code).
    The use case is basically to be able to subscribe to events. If you have several instances of a server subscribing to an event with service delivery won't help - you can't predict which of the servers will get the event delivery service call. If you need a way to reach every server instance exactly once for an event, unsolicited notification would seem like a good choice. (Imagine an event such as "ChangeDebugLogLevel".)
    I guess unsolicited notification is IPC messages to the client's reply queue. Would it be possible to send them to a server's request queue? The dispatcher would look at the message and dispatch the tpsetunsol():ed function, instead of a service function - would it be doable?
    Just my €0.02 (we actually don't use the euro currency in Sweden, but the Swedish currency is even less-than-worthless these days... :-) )
    /Per

  • How to get the Events

    Hi,
    when submitting a form is it possible to get the list of events before they are running and is it possible to delete some of this events ?

    Here is the link to dowload the Calendar Application Developer's Guide. http://download-west.oracle.com/docs/cd/B25553_01/calendar.1012/b25489.pdf.
    From the Guide:
    "The current version of the Calendar SDK doesn't fully support the ATTACH property
    as stated in RFC 2045. Only file URIs are supported. The SDK must be configured to
    support the ATTACH property. This involves setting tmpDirectoryPath in the SDK
    section of the Oracle Calendar SDK configuration file. See Chapter 7, "Oracle Calendar
    SDK Configuration Settings" for more information about this setting. Temporary file
    attachments will be saved in the directory specified in tmpDirectoryPath when an
    event is exported.
    When an event is imported or stored, the ATTACH property value is file location of
    the attachment. The following is an example of the ATTACH property of an event to
    be stored:
    ATTACH:file:/tmp/my_attachment.txt
    When an event is exported or fetched, if the configuration setting tmpDirectoryPath
    points to a valid directory, any attachments will be downloaded in subdirectories of
    this directory. These subdirectories will be in the following format:
    ./<UID>-<RECURRENCE_ID>
    If tmpDirectoryPath does not point to a valid directory, attachments will not be
    downloaded.
    The following is an example of the ATTACH property of a fetched event:
    ATTACH:file:///c:/20050427T160642Z-45c-a90b-27b4a6d7-Oracle-20050427T040000Z/my_
    attachment.txt"

  • Is it possible to get component associated with DefaultListSelectionEvent?

    Hallo,
    Is it possible to get component associated with DefaultListSelectionEvent, please?
    There are multiple tables in my window. All tables (must!) have same TableSelectionListener. Problem is that there's no information about component in default list selection model implementation. When fireing events DefaultListSelectionModel use self as event source (see DefaultListSelectionModel.fireValueChanged fragment below).
    e = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting);Any ideas how to get component in ListSelectionListener.valueChanged, please? But don't forget that as a programer, i am the lazy. Thus implementing new selection model is not an acceptable solution, but class extension is :p
    One idea is to remember models component in constructor and override DefaultListSelectionModel.fireValueChanged like this:
    class MyGreatListSelectionModel extends DefaultListSelectionModel {
       protected JComponent boss;
        public MyGreatListSelectionModel(JComponent c) {
            boss = c;
        @Override protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting)
            Object[] listeners = listenerList.getListenerList();
            ListSelectionEvent e = null;
            for (int i = listeners.length - 2; i >= 0; i -= 2) {
                if (listeners[i] == ListSelectionListener.class) {
                    if (e == null) {
                        // Only changed 'this' to 'boss'
                        e = new ListSelectionEvent(boss, firstIndex, lastIndex, isAdjusting);
                    ((ListSelectionListener)listeners[i+1]).valueChanged(e);
    }This should work, but if there already exists some mechanism, such extension is just slowing app down.

    Thanks for your help.
    However I could not get the result. I am using following code:
    public void myaction(ActionEvent event)
    FacesContext context = FacesContext.getCurrentInstance();
    UIViewRoot view = context.getViewRoot();
    UIComponent UI = view.findComponent("tab");
    if(UI == null)     
         System.out.println("UI Not Found ");
    else
         System.out.println("Get Current FecesContext");
    There is an Component having id "tab" is available on JSF page but I am getting "UI not Found" every time. Is there somthing wrong...Please suggest.

  • Getting keyboard events on ALV grid

    Hi,
    I have an ALV Grid where it is possible to edit data. If user selects a row and presses delete/cut button with mouse event is triggered and I can access those events in code. Although if user selects a row and presses "Del" or "Ctrl + X" then I can't access those events in code. Is there a way to access keyboard events inside my code?

    Have a look at BCALV_GRID_EDIT -> if you select the first checkbox (p_cell = Update on cell change) then you will find that "data_changed" event can catch the line deletion via the keystrokes described.. in the event in this program, you could get the rows deleted from "rr_data_changed->mt_deleted_rows".
    if p_cell = 'X'.
      call method grid1->register_edit_event
        exporting
          i_event_id = cl_gui_alv_grid=>mc_evt_modified.
    else.
    Jonathan

Maybe you are looking for

  • Problem with E71 detecting photos in Memory card

    I have a Nokia E71. I tried encrypting the memory card first. After this i could not access my data on the memory card hence I decided to decrypt it. Everything on the memory card seems fine except that the Gallery is not recognising the photos on my

  • Unable to load mySql Driver in Java class invoked using bpelx:exec

    Hi , I am trying to connect to mysql database in my java class.when i run this class in Jdeveloper it loads the driver without any problem.I can chk the log in the Jdev messages area.Now I am invoking this class from the BPEL process through <bpelx a

  • E-mail "failures" to friends in the USA using Veri...

    This problem started late November, mysteriously stopped over Christmas, but has now restarted. If I e-mail anyone in the USA who use Verizon as their ISP I get a message with the subject "[email protected] <[email protected]>" The message reads "Sor

  • How can I stop photos from displaying as negatives?

    I am unable to change the resolution of photos in my iPod touch. All photos display as negatives. How do I access settings to change the way photos are displayed?

  • Get row id after EJB create method.

    Hi, does any one know how to get an id of new created by CMP ejb row? When I create new object it's id is 0, when i call ejb create it creates new row in DB and crates new ID by increasing the old one, but how can I get this new ID after create has f