Rollback after commit
hi
it possible to rollbak after commit
is how
This doesn't make sense. After a commit all changes are persisted into three db, so there is nothing to rollback.
You can do this, but there is no change.
Timo
Similar Messages
-
Regarding releasing space by rollback segaments after commit
Hi All,
I am doing 8i production support.during the data archival activities i m facing a problem in rollback segaments. As we know after commit statement it use to free the space once all the transactions get over, but here its not releasing the space after long back also.
please suggest me what to do ?
do we have any tool by which i can check and release the space ? any other manual way ?[sibling post|http://forums.oracle.com/forums/thread.jspa?threadID=825754&tstart=0]
-
I am calling the following FMs in the sequence:
1. BAPI_GOODSMVT_CREATE using movement type 261
2. BAPI_GOODSMVT_CREATE using movement type 101
3. COMMIT WORK to generate a handling unit number.
4. A FM L_TO_CREATE_SINGLE (that unpacks and repacks handling units) uses the handling unit number of step 3.
My requirement is that if the BDC in the 4th step fails, then steps 1, 2 should be be ROLLBACKed.
To my understanding if I have a ROLLBACK work after step 4, then the COMMIT work in step 3 prevents the ROLLBACK of steps 1 and 2.
I cannot remove the COMMIT in step 3 as the HU number is not being generated (which I need in step 4) in case I remove the COMMIT WORK.
I tried calling the FM in step 4 in UPDATE TASK, but no luck.
Please help, how to go about this problem.You are using commit work before step 4 because you step 4 is dependent on data provided from previous steps.
My requirement is that if the BDC in the 4th step fails, then steps 1, 2 should be be ROLLBACKed.
Commit work is the last state of a transaction flow and you cannot rollback the previous step. The only way I see is to call BAPI_GOODSMVT_CANCEL and reverse the goods movement.
Please let me know what do you mean by logs exactly. Is it the change documents or something else ?
Kesav -
Refresh only current row after commit, when ChangeEventPolicy set to none
Hi,
I'm using jdeveloper 11.1.2.3.0
I'm editing a table with a popup, I set the ChangeEventPolicy to none because it made some problems.
Now I would like to know, when i'm closing the popup and doing commit,
how could I refresh only the current row, and not whole the table?
I would like it to work as with ChangeEventPolicy set to ppr.
Thanks!could you please explain a little bit more?
When I used the ChangeEventPolicy with ppr it looks like only the selected row was changed after commit.
but with PartialTrigger i see that it's refreshing all the table.
are you sure they are working the same?
what about row.refresh(..), is it only used for rollback? -
After commit current row is no longer highlighted
JDeveloper 11.1.1.20.
Scenario: a master detail page where master and detail are both ordinary ADF table ( NOT read-only).
If I place the cursor on a master row and do a click the row is highlighted.
If I do a createInsert operation (with a button) a new row is created above the previous mentioned row.
Problem:
If I do a commit after the new row is filled with data sometimes the newly made row is now longer highlighted after the commit.
The newly created row is stil active. This is seen by the fact that if I subsequently creates a new deatil row it is correctly connected to the newly created master row.
And - after the newly created detail row is created the master row is again highligted.
Any ideas?
Best regards
ErikHi,
To keep highlight the selected row do some operation in bean ,Get selected row and set that row again after commit
Check
http://jobinesh.blogspot.com/2011/01/declaratively-setting-current-row-key.html -
Sender agreement not updated in XI cache after commit
Hi all,
somehow none of my created sender agreements appears in the XI cache after commit. I also did a complete refresh of the XI chache.
Any ideas?
Thanks!
DenisHmm,
I have created sender agreements for SOAP channels, this would explain why I could not see the agreements...
Actually I am wondering why the 'test configuration' tool in the ID brings up an 'java.io.IOException' in the receiver determination. Prior to that the sender agreement lookup fails. So I thought it's the XI Cache...
I restarted the J2EE engine but the problem remains.
Any other ideas?
Thanks so far! -
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. -
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.
ThanksPl refer to SAP help on the same as follows.
https://help.sap.com/saphelp_nw04/helpdata/en/e5/de86e135cd11d3acb00000e83539c3/content.htm
Regards,
Naveen Vishal -
Hi,
I have three tabs in my page , and in each tab , i have separate taskflows.
The first tab taskflow contains a jsff which has lets say master table iterator i.e departments iterator.
In the second tab, i have a table based on read only query, but when i click on add button, i will be inserting in to detail VO (employee VO) and using postChanges() .
so that read-only query based table gets the new data.
now when i click on save button and commit , the iterators in taskflows of tab1, tab2 are pointing to first record rather than the current record.
1) even i tried with having an action for the 'save' button and navigating to method activity which sets the iterator to current row.
When i am returning back to taskflow,i am still seeing the iterator pointing to first record rather than the current record i intend to see.
could anybody tell me why iterator is pointing to first row after commit()
i don't have 'refresh' -- if needed for taskflows. its default.
for transactions, datacontrols, its default for my taskflows.I generally retain the previously selected row using the following code in my VOImpl after every executeQuery().
public void executeQuery()
// current row key if any
Key currentRowKey = null;
Row currentRow = getCurrentRow();
if ( currentRow != null )
// get current row key
currentRowKey = getCurrentRow().getKey();
// super call
super.executeQuery();
if ( currentRowKey != null )
// set current row now using previously stored key
Row[] rows = findByKey( currentRowKey, 1 );
if ( rows != null && rows.length == 1 )
setCurrentRow( rows[0]);
} -
Hi all,
I am using DB adapter to poll records from a table(changing a status flag to processed when the records are read) then write these records to a file, all is running fine but I need to handle rollback if any error occurs ,this means that I want the old status in the status flag instead of the current status(processed).
I already used rollback before and it works fine but I can't seem to rollback after polling, any ideas??Hi,
To implement rollback scenario in BPEL, you need to use compensate activity and compensation Handler in your process.
Basically in compensate we define the scope which we want to compensate, and in compensation Handler we define the logic i.e in your case we will write the update statement in compensation Handler.
Hope I have answered to your doubt.
Cheers,
Abhi... -
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 -
Suspicious delay of HDD activity after commit
I know that after commit Oracle LGWR process writes the data
changies into the redo-log. And Oracle must return "Commited"
only after above is done. But when I do Commit, I don't see the
HDD LED blink. Only after 1-2 sec HDD LED blinks. Is it normal?
What people have?
nullTo answer the question of caching and syncing:
Linux nearly caches all and does it on a high "level", means it
is one of the reason for the good I/O-performance of linux.
In order to make sure that data is directly written to the disks
you can mount your disks with the option sync.
An example: mount -o sync /dev/sdc1 /data_1
Note, that the performance will decrease. The other possibility
is a little tool called syncer, which is a daemon that causes
linux to clear its cache every xy seconds (any value you like). I
think (because I never used) it causes some overhead but is a
good compromise to the sync-option.
Deactivating caching in the kernel... I think this is not the
best solution if you are not familiar with kernel programming.
Also think of swapping and reads on the system-disk and so on.
Dietmar
p.s: I can't remember where I've found it, so I send it to your
personal account, because I can't add any files here
StE (guest) wrote:
: Mark Malakanov (guest) wrote:
: : I know that after commit Oracle LGWR process writes the data
: : changies into the redo-log. And Oracle must return "Commited"
: : only after above is done.
: Not quite true. Information is constantly flushed from the
: in-memory redo log buffer to disc while changes are taking
place
: to the database. When a transaction is committed the
: current contents of the redo-log buffer are flushed to disc,
: followed by a marker saying "SCN was committed" is written to
: disc - the changes themselves have already been written out.
: : But when I do Commit, I don't see the
: : HDD LED blink. Only after 1-2 sec HDD LED blinks.
: : Is it normal? What people have?
: That's probably normal, but that doesn't make it a good thing.
: The Linux buffer-cache does write-behind caching, so that dirty
: buffers arn't written out to disc immediately. If there were a
: failure the write of the commit or some of the preceeding redo
: log blocks might not make it to disc.
: I think you can tune the frequency with which bdflush wakes up
: and writes to disc. Setting it to a low value if you're worried
: about consistency over performance would be a good idea.
: I don't know whether there's an open() flag to perform writes
on
: a file synchronously or not under Linux. It's possible to
sync()
: an open filehandle, I think, so perhaps Oracle does a sync on
: the active redo log when it writes out the commit.
: Anyone know anything less vague and hand-waving?
: -michael
null -
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.
VincentHi,
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. -
Data Modeler 3EA2 SDO_GEOMETRY stays in outgoing changes after commit
I try to add changes to SVN repository, but I keep having Structured Type SDO_GEOMETRY in my outgoing changes even after commit. I don't use that datatype in my model. After the very first commit there were 0 outgoing changes left, but the next time I opened the model it appeared there (even before I made any changes to the model).
Hi,
can you navigate to this type in Pending Changes window and from context menu choose "Compare With / Last Synchronized (Local) - as text"
This should show the changes to the type and would be helpful to investigate what the problem is.
Please write the changed attributes of the file here.
Thanks
Ivaylo -
Hi all,
I need help on locking module. I have a program that does many update and commit (some using BAPI_TRANSACTION_COMMIT). How I continue to lock the record after the commit? From what I understand commit will release all locks. I wish to continue locking even after commit. What are the possible ways to do it?
The locking logic:
CALL FUNCTION 'ENQUEUE_ECKSSKXE'
EXPORTING
MODE_KSSKX = 'E'
MANDT = SY-MANDT
KLART = '300'
CLASS = GT_ZMM_DEPOT-CLASS
MAFID =
OBJEK =
X_KLART = ' '
X_CLASS = ' '
X_MAFID = ' '
X_OBJEK = ' '
_SCOPE = '1'
_WAIT = ' '
_COLLECT = ' '
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
OTHERS = 3
Thanks thanks.1) First u create a Lock object in SE11, for the required field/fields that u want to lock.
2) It generates to FMs -- one is for locking and the other is for unlocking.
3)use these FMs in ur program.
Check the below link for the procedure how to create lock object.
http://help.sap.com/saphelp_nw70/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
Maybe you are looking for
-
Acrobat 9 HTML to PDF conversion sets all checkboxes to checked?
When I convert an HTML file that contains checkboxes to PDF using Acrobat 9 Standard or Pro (fully updated) on Windows XP SP3, all of the checkboxes end up checked in the resulting PDF. I've looked in settings menus but can't find anything that seem
-
OVM Server 3.1.1 errors
I am running OVM 3.1.1 in a 2 servers cluster. on one of the server I noticed that following errors happening very frequently in /var/log/ovs-agent.log. whereas 2nd OVM Server has no errors. I also noticed in OVM manager that if I go to "repository"
-
I have two pcs linked to my Telkom server. I tried to add a third to test it. It sees the server and states excellent connection. But I am unable to get Firefox to open. Every attempt ends with "Firefox cant see the server". I suspect its my server w
-
HT5902 How can I see my photos on my icloud
I Wanna see what photos I have on my iCloud , how can I do that?
-
CSS as Proxy Frontend for Webservers
Hello, Pursuant to a previous post I made about using the CSS as a proxy for our web servers, one solution proposed was to utilize the reverse-proxy functionality of the CSS. One issue I have with this setup is that we don't need the extra proxy serv