Subroutine should execute just after Commit

Hi All,
I am working on user exit. I am writing the subroutine in the user exit. This user exit is in SAP Standard program and this sap standard program have the commit statement. My requirment is that subroutine should execute just after the commit statement, not before.
What can I do for that. I tried with perform on commit and in update task but both execute just before Commit. Pls help me out.
Thanks,
Rakesh

Hi,
Check the below link for documentation.
Hope it would be of some help to you.
http://help.sap.com/saphelp_47x200/helpdata/en/41/7af4e3a79e11d1950f0000e82de14a/content.htm
Regards,
Vara

Similar Messages

  • Executing subroutine after commit work, not on commit work

    Hi All,
    I want to execute my sub-routine after commit work, not on commit work.
    If any one have answer please mail me at  [email protected]

    Not sure if this helps you but this event is fired, when commit work is fired.
    Christian
    report test.
    class lcl_event_handler definition.
    public section.
        class-methods: on_commit_finished
             for event COMMIT_FINISHED
               of CL_OS_TRANSACTION_END_NOTIFIER.
    endclass.
    set handler lcl_event_handler=>on_commit_finished.
    commit work.
    class lcl_event_handler implementation.
    method on_commit_finished.
      break-point.
    endmethod.
    endclass.
    But check also oss note 704577

  • My hard drive crashed on my Mac Book Pro and I just had it replaced yesterday.  After restoring my data, Safari will not open.  The error message I continue to receive is "Safari quit unexpectedly"  Should I just delete the application and download a new?

    My hard drive crashed on my Mac Book Pro and I just had it replaced yesterday.  After restoring my data, Safari will not open.  The error message I continue to receive is "Safari quit unexpectedly"  Should I just delete the application and download a new one?

    http://swcdn.apple.com/content/downloads/37/23/041-5058/lr5tynbldi18zcrqo8a8uq88 rnjushqliu/Safari6Lion.pkg 
    Here you go.....

  • Does Update function module gets executed after Commit Work?

    Hi Gurus,
    I have a BAPI with a Commit work. Does update function module V1 , V2 - i need mainly about the sequence of V2, gets executed after Commit work or before Commit work.
    Thanks

    Pl refer to SAP help on the same as follows.
    https://help.sap.com/saphelp_nw04/helpdata/en/e5/de86e135cd11d3acb00000e83539c3/content.htm
    Regards,
    Naveen Vishal

  • Will my iphone 5 work after it dries out after a brief dunk or should I just replace it.

    My iphone 5 got wet.  It won't turn off.  Should I just bite the bullet and replace it or might it work after drying out?

    No way to know until it has dreid out.
    Do not try to turn it on or charge it.
    let it dry for a week or so.

  • What is the best way to turn on my ipod after it has been in water? should i just turn it on or should i plug it in and let it turn on on its own?

    what is the best way to turn on my ipod after it has been in water? should i just turn it on or should i plug it in and let it turn on on its own?

    Firstly, give your Pod a lot of time to dry out before trying to use it - at least a week, a fortnight might even be advisable. Water takes a surprisingly long time to evaporate from inside something.
    For a case, what you want is the Griffin Survivor:
    http://www.griffintechnology.com/armored

  • Is there any "trigger" after commit?

    Hi, All.
    I want to do some complicated logics (may take up much of time) after a row data is inserted and committed successfully.
    Any "trigger" in Oracle to meet my requirement?
    I know the normal insert/update trigger is executed before the transaction commit. But I cannot let front-end users wait so long a time until the logics end.
    Thanks very much.

    BluShadow wrote:
    user6472797 wrote:
    I know the normal insert/update trigger is executed before the transaction commit. But I cannot let front-end users wait so long a time until the logics end.Well, it will be your code issuing the commit, why don't you include your logic processing just before or just after that commit.
    What purpose would a trigger be?Yes, it is my code issuing the commit, but then it will return to user. I don't want to add much time costing in code before returning to user.
    So, let Oracle server do that.

  • Data lock even after commit work and wait

    Hi Experts,
    Data is still locked even after commit work and wait step has run, which made me very confusing.
    The following are the details:
    These steps are in a FOP.
    Step1: Change Move-in Date of a move-in document in background after get the new move-date from user.
    Step2: Run BAPI_TRANSACTION_COMMIT and pass the wait parameter.
    Step3: Bring move-in document transaction to the user for other information changes.
               After the user confirms the changes and presses SAVE button, error message shows that the move-in document is still locked. But no other transaction is opened for the specified move-doc changing.
    Does any1 have any idea on this? How can I solve this issue?
    Thanks in advance and points will be rewarded.
    Vincent

    Hi,
    Normally every BAPI will work on Update task so that the data will be updated once the commit work is done. For the commit work, we will normally call the bapi function module - BAPI_TRANSACTION_COMMIT. It should work.
    In your case, just try the below option:
    Please call the bapi - BAPI_ACC_DOCUMENT_POST & BAPI_TRANSACTION_COMMIT in a seperate function module and call this function module in your program (just pass the import / export / table parameters accordingly).
    For the information, I had once a similar type of issue and it got solved once I did like the above.
    Regards,
    Selva K.

  • Trigger only after commit

    I should execute some logic every time when some insert, update or delete is happened on table.
    The only save way to do that is with trigger. But In case there is transaction I would like to execute it outside and after transaction.
    Is it possible to say that trigger on table is executed after some transaction is committed?
    (and if transaction is rolled back it is not executed).
    br, Simon

    Ganesh, do you have some example or web url of first point, it looks interesting.
    Output class - what do you mean with change behaviour of transaction?
    I have 2 scenario.
    One is that i would like to execute(if possible in different thread) some logic every time, when specific table has changed rows(Insert,Update,Delete).
    (currently I'm using service broker if I want async processes in different thread)
    If this changes are executed as part of some outer transaction, I would like to execute this logic only if transaction is committed. (otherwise why calculate something what will not exists).
    Since this data are not critical, they can be calculated outside of current thread for performance reasons(asynch) - and it would be out of transaction scope anyway.
    Since I don't know all places from where table is changed the trigger is the only way to guarantee that this logic will be always executed.
    For second scenario i will prepare some case with test data in next days.
    br, Simon

  • Program should execute both for F8 and F9

    Hi All,
    I have a requirement that my program should execute both for F8 and F9.
    I have developed it as a report as the selection-screen contains 'Select-Options' and they want the Multiple Selection Button.
    I know that if I develop it as a Module pool, my problem is very easily solved.
    But since they want the Multiple-Selection button for Select-options which we cannot provide in a Module-Pool I am forced to develop a report.
    Please let me know if its possible to execute the program with both F8 and F9 function keys, while F8 can be the normal execute button, there is no need of any button for F9, that is a F9 key press is enough. The Report should execute if the user presses F8 or F9 key on the Key-board.
    Hope I am clear.
    Please help me with your suggestions.
    Thanks in Advance.
    Edited by: Dagny on Apr 1, 2009 6:57 AM

    Hi, Dangy
    I dont think you can do with f9 fkey,
    but you can do with ctrl+f9 , if ur client like this..
    this are some available FKeys.
    Freely assigned function keys
    F5
    F6
    F7
    F8                             ONLI       Execute
    Shift-F1                       DOCU       Program Documenta...
    Shift-F6                       SCRH       Selection Screen ...
    Shift-F7                       ALLS       All Selections
    Shift-F8                       FEWS       Chosen Selections
    Shift-F9
    Shift-Ctrl-0
    Shift-F11
    Shift-F12
    Ctrl-F1                        FC01       <SSCRFIELDS-FUNC...>
    Ctrl-F2                        FC02       <SSCRFIELDS-FUNC...>
    Ctrl-F3                        FC03       <SSCRFIELDS-FUNC...>
    Ctrl-F4                        FC04       <SSCRFIELDS-FUNC...>
    Ctrl-F5                        FC05       <SSCRFIELDS-FUNC...>
    Ctrl-F6                        LVUV       User Variables...
    Ctrl-F7
    Ctrl-F8
    Ctrl-F9
    Ctrl-F10
    Ctrl-F11
    Ctrl-F12
    Ctrl-Shift-F1
    Ctrl-Shift-F2
    Ctrl-Shift-F3
    Ctrl-Shift-F4
    Ctrl-Shift-F5
    Ctrl-Shift-F6
    Ctrl-Shift-F7
    Ctrl-Shift-F8
    Ctrl-Shift-F9
    Ctrl-Shift-F10
    Ctrl-Shift-F11
    Ctrl-Shift-F12
    Just execute ur program, and go to system>status->in SAP data , there is GUI status-> dbl clik in ur gui status and assign Fcode for ctrl+f9 and handle the same in user command.
    I hope it will solve ur problem.

  • Is there a way to stop a query just after the cursor/plan is produced by CBO?

    Following suggestions of Kerry Osborne&amp;#8217;s Oracle Blog &amp;raquo; Blog Archive &amp;raquo; Explain Plan Lies &amp;#8211; Kerry Osborn…
    on the lies of "Explain plan" (and of "set autotrace on"  too) I'd like to try to stop a query/DML before actually it starts, just after the plan was produced and sql_id assigned.
    Is there any CLEAN way (other than trying CTRL-C) to do that?
    Thanks
    Paolo

    Hi
    PaolFili wrote:
    Thanks rp.
    I think my question is a little dofferent, but your reply give me an idea.(which has clear disadvantages , but can do the work).
    The problem is obtain in Lybrary Cache a plan,a SLQ_ID,PLAN_HASH for a query ( i.e. a 10days running query) that I cannot start-up.
    So my (suggested from your reply) idea is:
    1) to LOCK EXCLUSIVE (a table level) , **if it's possible** every table accessed in the query ( Yes, it can be really expansive in some production environment, but sometimes can be necessary ..)
      using :  LOCK TABLE table IN EXCLUSIVE MODE
    for each table accessed from query
    2) Startup the query that will be suspended form the lock on tables accessed + kill the sid,serial#,@Inst_id for the query.
    3) UNLOCK tables from EXCLUSIVE using "ROLLBACK"  in the session where LOCK TABLE.... was send.(to remake  tables to work for other queries)
    Any other ideas?
    Thanks
    Paolo
    you're planning on using locks to stop a query and you think in order to do so you need exclusive locks  on every table accessed in the query? And you are prepared to do that on a production system?
    And all of this is needed to troubleshoot a query that was running for 10 days -- i.e. a query that was available for all kinds of diagnostics during 10 days?
    Sorry, I think it wasn't a good idea for you to read that Osborne's blog post -- you should've started with more basic things. Way more basic.
    Best regards,
      Nikolay

  • A way to change metrics to 1 digit after comma?

    Hello. I have just noticed Flash CC is using 2 digits after comma, and im just wondering if there is a way to change it to use only 1? In my work i ususally have to avoid having any other digit after comma in symbols position other than 0 and got used to quickly running trough tabs and stroking "end" and "backspace" to make everything more even so its sharper, now when there are 2 digits i have to stroke backspace twice (and many times forgeting about it due to years old habit). For some of you it might sound trivial problem, but when you multiply it by bazilions of stuff i have to do with deadline "yestarday" every bit of stuff i have to do even bit longer in the long run gives me a lot of wasted time. Its not a big problem, but would be awesome if i could make it easier.

    And while im on that "quality of life" question for someoen who has to make millions of banners very fast:
    Is there a way to make objects moving snap to integer positions? SO when i move them around the workspace, they dont land on non-round positions? I would like to avoid putting them on for example: 10.70 - 230.40 but on 10 - 230. Would really appreciate any tip of how to do that.
    I have already tryied "snap to grid" and" snap to pixels" but it just puts it on half of pixels like 10.5 - 230.5 and that results in blurry bitmaps.

  • MIGO should not create after PO Delivery Date

    Hi,
    We have a PO with multiple line items and diff. Delivery Dates...
    We want that during MIGO Process, Posting Date should not exceed to PO Delivery Date.
    Means, if PO Delivery Date is 05.07.2014, then MIGO should not created after this date...
    Please suggest.

    If you want to achieve the scenario with standard settings, then you can use the field "Latest GR date".
    Just put the same date as delivery date in this field. Then  system will not allow to do GR if the Posting date is exceed with compare this date in MIGO.
    You can find the latest GR date in Delivery tab in PO. Also you can maintain the field as mandatory in PO to avoid the field value blank as per your requirement.
    Also if you want to change Latest GR date along with delivery date, just take the steps which is explained in this document Mass changes from one field to another field.
    **Edited by: Dëv Päträ

  • Reset of current row after commit in ADF-UIX

    Dear experts,
    I have developed an application with Oracle JDeveloper 10g and ADF-UIX using BC4J. The problem is that wherenever a commit is performed the current row for the master table is reset which causes confusion for the end user.
    Do you know how can I solve that problem?
    Thank you in advance,
    Constantine

    ... I forgot to mention that I use JDeveloper 3.1 on Windows NT4.
    About my problem, it seems that a "key" does not exist in the record (Row object) i'm using for.
    So, what really is a "key"? Is this an internal complicated number or just the values of some data fields, indicated as "Primary Key" in the table?
    If the answer is the second one, I have to say that at the really before commit of the record, the value of my primary key fields is NULL, because they are filled up by a "sequence object" created in the database (triggered by a "TRIGGER BEFORE INSERT", which calls the "sequence.nextval" SQL command).
    So, I really have the value of my primary key fields just after committing the record in the database, and would explain everything.
    But is really this the "key"?
    Thanks

  • How do I reinstall iChat, how do PC users video iChat with me, and should I just use skype?

    1. I deleted iChat awhile ago by mistake. I searched ichat in Macintosh HD, and the only result was iChat the application file, but its icon is a faded out IWeb icon. When I click on it, it just bounces on my dock, until it disappears and an error message pops up stating it quit unexpectedly. I tried dragging the result to my desktop then redragging it into my Applications folder, but the same thing still happens (faded out iWeb icon instead of iChat icon, bounces, quits, error message). I also tried installing the iChat AV (forgot which version) and iChat Update 1.0 Universal, both of which said I had to have 10.4. I have 10.5.8. Also, if this makes any difference, the current faded out iChat in my Applications folder says its version 4.0.9. I do not have my reinstall CD, and do not want to call support and have them send me one. Considering I bought my macbook in late 2008, and my warranty is up, I'm pretty sure they wouldn't help me anyways. I also do not know of anyone who has a mac so the sharing option can be crossed offed. Is there a downloadable version of iChat for 10.5. users?
    2. If I somehow managed to reinstall a working iChat, how would PC users connect to me and vide chat?
    3. Should I just use skype? Would i have to download anything? Is skype video chat free? What are the differences between iChat and skype, and which one is better?
    Thank you for your time!

    Hi,
    Reinstall Instructions
    Be SURE to Download (Manually) and Install the COMBO version of the last Update to the OS you did as iChat will need to be Updated (Software Update will think it is already done and you need to Fool it)
    Re 2).
    In theory it is just a question oif you using a valid AIM name in iChat
    This could be one registered with AIM or one from @mac.com or MobileMe if paid for or a current trial.
    In Practice it can need a bit of tweaking at both ends
    They Need to allow the AIM App through the Windows firewall as an Exception (AS with any Non Microsoft app)
    They may also need to turn off the "Real Time" option that does not work to iChat and effects A/V chats as well.  (It is Sending as you type). It will be in one of the Menus of their Budy List.
    Post back for more if you get stuck.
    Re 3)
    Skype does offer free Video Chat and some people resort to it when iChat to AIM does not work.
    It is free (At present - and you only pay for the Connection to and from real phones)
    Skype was bought by Microsoft within the last week and things may change at some point in the future.
    iChat has better Video
    Audio depends on the capabilities of your Mac and their PC but is probably about equal.
    Connection methods differ and iChat's Video and Audio Chats are technically more secure (you can in fact log out of the Buddy List as they adre Peer-to-Peer where as Skype uses a little bit of everyone's bandwidth (Between 40 and 100 other End Users)
    Other options are here
    Video options are from 8 onwards
    Mebeam is now called Koowy. (Video Chatting in a Web Browser using Flash)
    NOTES;
    Google Do a Plug-in for Intels to allow you to use their Web Mail Page Chat Option
    It can Conflict with Flash if you use more than one option.
    10:24 PM      Tuesday; May 17, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Maybe you are looking for

  • FCP export settings for import in iMovie '08

    Q: What QT/ Compressor export settings do I need to use in FCP in order to be able to import the MOV file in iLife '08? The reason for using iLife '08 is solely for sharing the movie to dotMac. (if you know alternatives bypassing iMovie '08 ... be my

  • Need help searching for a good IDE...

    I've been looking for a good Java IDE that is somewhat comparable to Visual Studio 2003 regarding parameter info helpers and syntax highlighting, with an thought of visual design too. Does Sun have an IDE similar to VS? Seems like I came across one o

  • AutoCreate DropShip Requisitions

    Hi All, Please refer to the following flow (as per OM User Guide, page 12-74) - Forward drop ship flow for ATO Item 1. Enter a sales order for your dropshipped ATO item. 2. Schedule and Book order (Schedule date should default to request date for all

  • Gallery Stacking Order

    New to Mobile Me. I made a Gallery and want it at the end of the pages. I moved it to the last stack on the side bar but when I publish.... my home page opens and when I click ENTER it always opens up in the Gallery. All the other pages are in order,

  • Creative Sound Blaster X–FI Elite ISO installatio

    Greetings, I have an Alienware Aurora ALX Windows XP Media Center Edition 2005 with Service Pack 2 Radeon x700 pro NVidia nForce 4 SLI X6 Motherboard 4 GB DDR PC?3200 SDRAM at 400 MHz ? 4 x 024 GB Serial ATA 3Gb/s 7,200 RPM w/NCQ & 6 Mb Cache With a