Clear or write all buffers, like complete restart of transaction

Hi all,
I have a (web dynpro) app with a button that calls some BAPIs and some COMMITs. It works fine, but when I use this function twice for the same data within one session, then it dumps at the second time (because of a nested perform_on_commit error). But: when I restart the whole application between the two functions calls via the button, then it works without dump (even when I do it for the same data twice then).
So it seems that some buffers etc. are cleared and/or written to DB when I completly reload the application (or the session). My question: Is it possible to "simulate" this reload of the session, at least this clearing of the buffers, in order that it would not dump when I use the button's function a second time within the same session?
Thanks for any help!
Kind regards, Matthias

Encapsulate your call between the following function modules
* Get LUW
  CALL FUNCTION 'TRANSACTION_BEGIN'
       IMPORTING
            transaction_id = transaction_id
       EXCEPTIONS
            OTHERS         = 1.
* Execute BAPI
* If okay
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    CALL FUNCTION 'TRANSACTION_END'
         EXPORTING
              transaction_id = transaction_id
         EXCEPTIONS
              OTHERS         = 1.
* else
    CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'
    CALL FUNCTION 'TRANSACTION_ABORT'
Regards

Similar Messages

  • TS1559 I have done all of the steps that Apple have said to do, including completely restarting my phone and registering it as a new one, but still my wifi is greyed out, can anyone help me?

    I have done all of the steps that Apple have said to do, including completely restarting my phone and registering it as a new one, but still my wifi is greyed out, can anyone help me?

    http://support.apple.com/kb/ht5621

  • Are you supposed to clear out the all document section, which seem like a big garbage can?

    Are you supposed to clear out the all document section, which seem like a big garbage can?

    Eh? Documents is a folder. You keep your documents in it. Or do you mean this thing...
    That's the Trash, it's where you put stuff that you no longer want.
    Yes, you are suppose to empty it occaisionally.

  • How to write the CMD command for restarting all obi services?

    Hi Experts,
    BIEE:11.1.1.6
    How to write the CMD command for restarting all obi services automatically by windows task scheduler?
    I am try to write the code as below, but it does not work. Please help me to review it and check what I am missing.Thanks.
    Or is there any better method for solving my requirement ? Please share me.Thanks very much.
    cd C:\InstallPath\OBIEE\instances\instance1\bin
    opmnctl stopall
    opmnctl startall
    I am facing the problem that it does not excute the 'opmnctl startall' code, which will be stopped after 'opmnctl stopall',
    So how to modify the command ?Thanks

    See if any of the these are useful or solves your query -
    4.5.2 Using a Windows Service to Start and Stop System Components
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/components.htm#BABEEAAI
    4.5.3 Using the Oracle BI Systems Management API to Programmatically Start and Stop Oracle Business Intelligence
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/components.htm#BABFGICA
    Edited by: Abhi on May 8, 2013 4:44 AM

  • ?Bought iphone in a shop sim free, send abroad like a present write all the time incorrect network, what the problem

    Bought iphone in a shop sim free, send abroad like a present write all the time incorrect network, what the problem?

    What "shop" did you buy this in, and in what country? What country did you send it to as a present? And, as KiltedTim stated, there is a BIG difference between SIM free and unlocked.

  • CAn we write a query like this

    CAn we write a query like this?
    If not how can this be changed?
    select col1,col2,col3.col4
    from table 1
    where col1,col2 in(select col1,col2 from table2)

    Or it may be identical:
    SQL> CREATE TABLE t1 (c INT NOT NULL);
    Table created.
    SQL> CREATE TABLE t2 (c INT NOT NULL);
    Table created.
    SQL> INSERT ALL
      2  INTO t1 VALUES (rn)       
      3  INTO t2 VALUES (rn)
      4  SELECT rownum AS rn FROM user_tables WHERE rownum <= 15;
    30 rows created.
    SQL> BEGIN                                       
      2  DBMS_STATS.GATHER_TABLE_STATS(user,'T1');
      3  DBMS_STATS.GATHER_TABLE_STATS(user,'T2');
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM t1
      2  WHERE  EXISTS
      3         ( SELECT 1 FROM t2 WHERE c = t1.c )
      4 
    SQL> @xplan
    | Id  | Operation            |  Name       | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT     |             |    15 |    90 |     5 |
    |*  1 |  HASH JOIN SEMI      |             |    15 |    90 |     5 |
    |   2 |   TABLE ACCESS FULL  | T1          |    15 |    45 |     2 |
    |   3 |   TABLE ACCESS FULL  | T2          |    15 |    45 |     2 |
    Predicate Information (identified by operation id):
       1 - access("T2"."C"="T1"."C")
    SQL> SELECT * FROM t1
      2  WHERE  c IN
      3         ( SELECT c FROM t2 )
      4 
    SQL> @xplan
    | Id  | Operation            |  Name       | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT     |             |    15 |    90 |     5 |
    |*  1 |  HASH JOIN SEMI      |             |    15 |    90 |     5 |
    |   2 |   TABLE ACCESS FULL  | T1          |    15 |    45 |     2 |
    |   3 |   TABLE ACCESS FULL  | T2          |    15 |    45 |     2 |
    Predicate Information (identified by operation id):
       1 - access("T1"."C"="T2"."C")

  • Windows 7 ffox 1.6.16 installed office 2010 intimated cannot open link outlook firefox default browser, firefox will not initiate at all. Have to restart to get any response from firefox which then works but it crashes again. No error message

    Windows 7, firefox 1.6.16 just installed office 2010, sometimes cannot open a link in outlook and firefox is my default browser, and firefox will not initiate at all. Have to restart computer to get any response which then works but after a while it crashes again. Was this due to an update or office 2010 has a hidden setting somewhere? Why would firefox crash without any message? Intimated consuming

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • After download of Firefox 18, computer completes restart, computer comes back up but no Firefox.

    I downloaded the Firefox 18 update. Computer goes to restart, completes restart but no Firefox.
    There is no longer an icon on the desktop. I have tried doing an uninstall through the Control Panel, I get a message that says I must restart computer, I do the restart and no Firefox anywhere. I tried to just delete the program by going into the Program Folder and it won't delete.
    I tried to do fresh downloads over 10 times and no luck! What should I do now?

    Do a clean reinstall and delete the Firefox program folder before reinstalling a fresh copy of Firefox.
    *(32 bit Windows) C:\Program Files\Mozilla Firefox\
    *(64 bit Windows) C:\Program Files (x86)\Mozilla Firefox\
    *http://kb.mozillazine.org/Installation_directory
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 18.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored in the Firefox Profile Folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • How can i delete all the "auto complete" addresses on my iPad mail

    I want to give my old iPad 1 to a relative . I'd like to leave all the apps for her but not all the "auto complete" contacts which appear when I use the Mail function. These names are not on "contacts" and seem to have been accumulated from mails I have sent/received over the years. is there a way to just delete these without doing a complete delete of everything on the iPad?

    Yes, but it is very tedious. You will have to begin typing an email address in the To: field in order to bring up those suggested email addresses. Then you tap the blue "I" next to the email address. In the next window that appears, swipe down to Remove from Recents and tap that to delete the address. You would have to do this for every single email address that you have ever received an email from, that is not in your contacts app.
    But what I am curious about is why wouldn't you remove your email accounts from the iPad? That will eliminate the problem altogether. You don't want to give the iPad to your relative that way, do you?

  • My iPhone 4S was turned off when the battery got empty, and when I put it on the charger it didn't charge at all. I tried restarting it (on/off home button for 10 sec) nothing happened except it kept giving me the "charge battery"  on its screen.

    Hi! My iPhone 4S was turned off when the battery got empty, and when I put it on the charger it didn't charge at all. I tried restarting it (on/off home button for 10 sec) nothing happened except it kept giving me the "charge battery"  on its screen. I tried with different chargers, still dead! What's weirder is that my sister who has iPhone 4 experienced the same today! No we don't live in the same house!! Does anyone have the same problem?
    Please apple support do you people have a convincing answer for us? Is there a solution? My phone is only 2 years old and was (2 hours ago), in top condition!!
    Please help....

    imanfromsweden wrote:
    Please apple support do you people have a convincing answer for us? Is there a solution? My phone is only 2 years old and was (2 hours ago), in top condition!!
    Please help....
    On belhalf of my fellow volunteers, the answer is, "We'll try our best." 
    My advice is to try not to treat this like it is a paid service provided by compensated professionals.  Ask nicely and one of the nice folks here might take some time out of their weekend to offer advice.

  • "You're all set to complete your order" emails

    I'm not sure if this happens to others but it is getting old how many of these emails I get. While browsing, I place items in my cart on BB.com to see the price when that's the only way to see the price or to save them until I'm finished browsing. After I'm finished, I remove all the items from my cart. However, later that day and even the days following I get emails saying "You're all set to complete your order" or "You're all set to check out at Best Buy". These emails seem to have snapshots of my cart at various points while I was browsing but do not know that my cart is currently empty. I have gone back to BB.com, signed in, and verified my cart is empty. I realize the email is considered a marketing email and I can unsubscribe from these emails. But I like getting the emails for the daily deals and such and this type of email seems to be broken. It would be nice if this could be fixed so I could stop getting spammed with emails. Thanks.

    Hi there basmith2004, 
    Sifting through various marketing emails can be monotonous, and I apologize if you have found an overabundance of these in regards to items that were or are in your cart. 
    Presently, we are unaware of any issues with such emails. With that said, you should still be able to unsubscribe from these emails and still view the weekly deals and such via the Deals tab on BestBuy.com.
    Would you like me to opt you out of the marketing emails? 
    Sincerely, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • IMac won't complete restart after upgrade to 10.5.6

    I recently ran Mac OS upgrade 10.5.6, but iMac won't complete restart. After the apple appears, script appears across screen and a box appears in the middle telling me to restart my computer by "holding power button until shut down, then press on/off button again to restart. Any suggestions to try before taking machine to Apple Store?

    Thank you everyone. The correct answer was a kernel panic, and although the resolve kernel panic links above did not offer a successful solution, it was a correct diagnosis. Following the Apple Troubleshooting steps allowed me to determine that a faulty third party keyboard was the cause. Restarting with shift, restarting with 'x,' and restarting with ctrl-option-r-p did not solve the issue. Unplugging the keyboard and restarting did identify the keyboard as the culprit. Thank you all for your help.

  • My itouch wont turn on after i completely restarted it

    i did a complete restart which would erase all the content in my itouch,  but i think the itouch died during the hour long restart process and now my itouch wont turn on, all it does is show the apple logo.

    - After charging the iPod for half an hour, reset the iPod and connect it to your comoputer.  If it shows in iTunes, restore the iPod.
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Next see if placing the iPod in recovery mode will make it visiable so you can restore the iPod.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

  • Clear page cache - All except specific items

    APEX 4.2.1
    On a page with dozens of editable page items, when branching back to the same page on-submit, is there a way to clear cache for all items except a few (key) items? The branch attributes (via the f?p= syntax) support clearing cache for the entire page and setting specific item/value pairs but no support for exclusions.
    Any ideas? Thanks

    I wrote a utility procedure to do this a couple of years ago. Something like this (reusing a slightly modified version of the Shuttle item - Saving changes):
    create or replace procedure clear_page_cache_except (
        p_page          in number
      , p_exclude_items in varchar2
      , p_separator     in varchar2 := ',')
    is
    begin
      for item in (
        select
            i.item_name
        from
            apex_application_page_items i
        where
            i.application_id = nv('app_id')
        and i.page_id = clear_page_cache_except.p_page
        minus
        select
            x.column_value
        from
            table(
              string_to_coll(
                  upper(clear_page_cache_except.p_exclude_items)
                , clear_page_cache_except.p_separator)) x)
      loop
        apex_util.set_session_state(item.item_name, null);
      end loop;
    end clear_page_cache_except;However IIRC we mainly used this from packages: it's not very branch-to-page friendly. Possibly use a Branch to PL/SQL Procedure with a procedure that calls <tt>clear_page_cache_except</tt> then redirects to the page?

  • HT201412 My apps are all unresponsive like my PDF Printer, Evernote, Skrappy. I can't open the apps.

    Why all my apps like PDF Printer, Evernote, Skrappy are not working? If I tap the icon it doesn't do anything. They are all unresponsive. I restarted my IPad se veral times already and they still unresponsive.

    If it's all downloaded apps from the store that you are having a problem with then try downloading any free app from the store (as that appears to reset something) and then re-try them - the free app can then be deleted.

Maybe you are looking for