Problem in executing update after rollback transaction

Hi all
I am using type4 driver oracle9i ,Stateless session Beans CMP. Problem is: after doing rollback i am trying to execute an update query on same id which was rolled back.System is not able to do the same.
Manmeet

got the solution.
cannot rollback and do update in a transaction.

Similar Messages

  • ScrollPane problem - scrollbars not updated after child rescaling

    Hi.
    Here is a simple application using a ScrollPane to display a large circle. Initially everything looks fine but when you use zoom in and zoom out buttons ScrollPane doesn't update the scrollbars. Scrollbars are only updated after you try to scroll. Even worse - if you zoom out a couple of times, scrollbars dissapear. If you then zoom in again scrollbars will only reappear if you resize the stage main window.
    Is there something else I should do in addition to rescaling the circle node?
    Thanks for your help.
    package test2;
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ScrollPane;
    import javafx.scene.layout.BorderPane;
    import javafx.scene.layout.HBox;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Circle;
    import javafx.scene.transform.Scale;
    import javafx.stage.Stage;
    public class App2 extends Application {
         @Override
         public void start(Stage stage) throws Exception {
              final Scale scale = new Scale(1,1);
              final Circle circle = new Circle(100,100,500, Color.BLUEVIOLET);
              BorderPane border = new BorderPane();
              ScrollPane scroll = new ScrollPane();
              circle.getTransforms().add(scale);
              scroll.setNode(circle);
              Button zoomin = new Button("+");
              Button zoomout = new Button("-");
              zoomin.onActionProperty().set(new EventHandler<ActionEvent>() {
                   @Override
                   public void handle(ActionEvent arg0) {
                        scale.setX(scale.getX()*2);
                        scale.setY(scale.getY()*2);
              zoomout.onActionProperty().set(new EventHandler<ActionEvent>() {
                   @Override
                   public void handle(ActionEvent arg0) {
                        scale.setX(scale.getX()/2);
                        scale.setY(scale.getY()/2);
              HBox top = new HBox(5);          
              top.getChildren().addAll(zoomin, zoomout);
              border.setTop(top);
              border.setCenter(scroll);
              Scene s = new Scene(border,500,500);
              stage.setScene(s);
              stage.setVisible(true);
        public static void main(String[] args) {
            Application.launch(args);
    }

    Hi,
    see this thread maybe you find something helpful.
    javafx.scene.Group "auto-size" doesn't work in my case

  • Problems of executive files after PC crash

    My developing PC was crushed last week when LabView project was programming. The culprit is due to device driver conflict from both Keithley USB driver and NI 488.2 driver. After recovered the corrupted project, the executive files started showing errors like"LabVIEW:Memory is full"; "LabVIEW Load error code 33: Could not load front panel data logging...";"LabVIEW:End of file encountered" ; "LabVIEW load error code 12: Could not load connector type map" etc... when executive files were distributed to run-time PC.
    I removed all LabView 8.0 developing suite and re-installed LabView 8.2. However, the problem was not resolved.  The executive files are ruuning no problems on developing PC but failed on run-time PC.
    I brought same source files to another developping PC and made executive files. They are also running fine on run-time PC. Really, I totally have no idea what's wrong with developping PC after crushed. How comes the installer and execution files start having problems even I re-installed LabVIEW? Thanks your kinding answer. 

    Some of those error codes have two possible causes. They are usually given as:
    Possible reason(s):
    LabVIEW:  Some system capacity necessary for operation is not enabled.
    =========================
    NI-488:  File system operation error.
    Since you had problems with the NI-488 driver, my guess is that the possible reason is the second listed . Uninstalling and installing LabVIEW does not automatically uninstall and re-install the hardware drivers. Try doing a repair of NI-488 or completely uninstall that and re-install.

  • Problem with App update after upgrade to ios7

    Hi
    I have just upgraded to ipads (ipad2 + ipad mini) to ios7.
    One thing I have noticed on both.
    I updated apps in the app store, now the apps that updated are sitting on the screen, they have been updated, and can be opened.
    However in the past once apps had been updated this screen would clear.
    I have tried logging out/in in itunes. Hard reset. Restore from itunes.
    Still the same.
    How do I refresh this screen.
    Cheers
    Andy.

    Hi
    I cannot find it again, but I found a possible answer in another forum.
    It is correect. Ios 7 has an option for auto app update.
    The information is left on the screen to advise you which apps have been updated. Apparently they will clear after a week, only time will tell.
    If I find the link I will repost.
    One thing I noticed was that if you delete the app the update notice goes, only to return when you reinstall.......weird.
    Cheers
    Andy.

  • Problem in Batch Updation After posting

    Hi Experts
    Currently we are having a problem with one-step stock transfer. We want do automatic GR (Goods Reciept) during PGI (Post Goods Issue) for a delivery.
    We have done some coding in exit EXIT_SAPLIE01_007 so that even we have XXX batch during picking and PGI, the GR document item will show in YYY batch. The document was posted succesfully. And the table MSEG is showing correctly material was recived YYY batch against 101 movement. Also MB51 is also showing material was recieved under YYY batch. But the real problem is stock was updated in XXX batch????????????.
    To prove this the table MCHB was not updated for this material with YYY batch, which we will expect generally once there is GR for any batch, latesr GR date will be updated. Table MCHB showing GR date also updated against XXX batch which we dont want.
    While searching SAP notes for this i have gone through note 619913, which says If the batches are uniquely defined on material or client level, the batch exists in the system, and only a plant segment is created for the receiving plant. User exit EXIT_SAPMM07M_003 is not processed. Here we have some coding for batch creation and updation.
    Can you please provide some thoughts on this? I am a functional guy dont know much ABAP knowledge, how to deal with this. I am assuming that If we can call EXIT_SAPMM07M_003, the problem may solve.
    Please guide.
    Regards
    Suresh

    Hi Any views
    Suresh

  • Problem in PR update after final release

    Dear Expert,
    I have problem in release PR, when PR already release (indicator release '1' -> cannot be changed), it can't be changed from ME52N. But for PR that generated from maintenance order, user still can add new item in maintenance order and PR will automatically have new item without asking new release.
    Does anyone have solution for this??Thank you.
    Rgds,
    Desty.

    Hi Desty,
    This is not considered an error, please refer the question 1 of the note   493900   FAQ: Release Strategy :                                         
    1.  Why can I modify a purchase requisition although I set the                   
         changeability of the release indicator to '1' ('Cannot be changed')          
    Answer.                                                                               
    The purchase requisition is not modifiable via a purchasing transaction           
    like ME52 or ME52N. But it is possible to change the purchase                     
    requisition from any other external application like sales order,                 
    planned order, maintenance order or network.                                      
    The Changeability functionality only concerns the purchasing                      
    transactions. This is intended and a new release strategy determination           
    takes place if there is a modification of the data in the external                
    application.                                                                      
    Regards,
    Mauro

  • Problems with EAXC_Theme_PCApp_LB_3_10_13 update after installat

    Hi.
    I was just wondering if anyone else got this issue before I started looking the knowledge base.
    I just tried to install the update for the EAX Console for my card seeing as how I met the redquirements for it and whatever potential problems that might have occured without the update..
    Anyways I installed the update, and now for some reason I can not use any of the Mediasource components at all, when I start the machine the Creative system volume program comes up with an error and has to close, also I cannot seem to get the EAX console to come up nor can I do the same with mixer, graphic equilizer, speaker settings. The components that do work are diagnostics, which report no problems with the hardware and the software components connected to it, and the device control.
    this is my set up.
    P4 2.8, FSB 533
    GB pc200 DDR 266
    40 GB Seagate ATA HDD
    ati Radeon 9600 XT
    SB Li've 24bit(Retail not OEM)
    I also have a newer LG DVD burner, but seeing as this is a downloaded update and not a disc one, I doubt that it is my newer dri've that is the source of the problem.

    Hi.
    I was just wondering if anyone else got this issue before I started looking the knowledge base.
    I just tried to install the update for the EAX Console for my card seeing as how I met the redquirements for it and whatever potential problems that might have occured without the update..
    Anyways I installed the update, and now for some reason I can not use any of the Mediasource components at all, when I start the machine the Creative system volume program comes up with an error and has to close, also I cannot seem to get the EAX console to come up nor can I do the same with mixer, graphic equilizer, speaker settings. The components that do work are diagnostics, which report no problems with the hardware and the software components connected to it, and the device control.
    this is my set up.
    P4 2.8, FSB 533
    GB pc200 DDR 266
    40 GB Seagate ATA HDD
    ati Radeon 9600 XT
    SB Li've 24bit(Retail not OEM)
    I also have a newer LG DVD burner, but seeing as this is a downloaded update and not a disc one, I doubt that it is my newer dri've that is the source of the problem.

  • Problem with iWork updates after iOS 5.1 install

    iTunes showed updates for my iWork apps, but indicated I needed to update to iOS 5.1 first.  I updated to iOS 5.1, and then did the updates for Pages, Keynote, and Numbers.  The Pages update was successful.  The updates for Keynote and Numbers will not load, but now I can't use either app at all.  The app shows up with the loading ticker at the bottom, but when touched, indicates "Waiting", then a message comes up that says "Unable to Download Application", with choices for "Done" or "Retry."  "Retry" does nothing and the message comes up again.  I've tried restarting and resetting with no success. 
    Thoughts?
    Thanks.

    Here's how to fix this.
    1) Get your playlist in the order you want in iTunes.
    2) Create a new playlist and drag all the songs into it from the sorted playlist.
    The next 2 are important!!!
    3) Do not change the order using any of the column headers.
    4) Do not select Copy To Play Order.
    5) (Optional) Delete old playlist, rename new playlist.
    Sync your device.
    The problem is in the sorting.  If you don't sort your playlist via the column headers you're OK. 
    Hope this helps.

  • Authorization data is updated after adding transaction in role menu

    Hi Experts,
    When we add transaction in the menu of a role, the objects and organization levels related to the transaction are not getting reflected in the authorization data. Only object S_TCODE is coming. As an example if we add transactions MM01, MM02, MM03 in the role menu, under authorization data only object S_TCODE is coming. No other authorization object or org level are coming.
    This is only happening in one system. Kindly suggest.
    Thanks and Regards,
    Amit Jana.

    Hi Jurjen,
    Thanks a million for your reply. The customer tables has been filled up from su25 and this has solved the issue.
    Thanks and Regards
    Amit Jana.

  • Can we rollback the update query using Transaction?

    Can we rollback the Update query by writing the update query with in the transaction, as i am implementing different update queries, sometimes I am mistakenly updating the table without where criteria, which is messing up the table. Is there anyway where
    we can write the update query within a transaction and rollback that particular update query which I am writing. I do have a backup table, but that wont be useful because we are doing lot of updates in a span of minutes. I researches about Apex Sql logs too,
    but we do not have access to download such tools. So, can anyone give me a good solution for this?

    Sure, if you use transaction like this
    begin transaction
    update 1
    update 2
    rollback transaction
    both updates will be rollbacked.
    If you want to always be sure about rows you're about to change, always first try with SELECT statement and put each individual UPDATE into separate transaction with rollback at the end, e.g.
    begin transaction
       select ... where some condition
       update . where same condition
       select ... where same condition to verify update
    rollback transaction
    If your last select showed correct info, change ROLLBACK into COMMIT and re-run that script again to perform the actual update.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Problems with FlashPlayer Update.

    Problems with FlashPlayer Update.
    after download, install begins, but when the progress bar ends a typical Windows error message displays showing :
    (literal translate from spanish):
    " is not found the enter point of procedure SetDIIDirectoryW into the dinamic Links Library KERNELL32.dll "
    ihave:  windows32, XP +  FlashPlayer Ver: 11.1.102.55 + MozilaFirefox10.0
    flash works ok, but i can't complete a new update since  Version: 11.1.102.55
    please help me, Thanks

    Microsoft Windows XP Professional    Version    5.1.2600  Compilacion 2600
    (looks like old windows98 / 2000 style but it's XP (i choose the old look in display preferences)
    i think it's Service Pack 1  beacause there were problems with SP2 updates with some programs, so this version works Ok with all my software... until now.  i Know there's a SP3 and it is an obsolate OS but i like it and works well in this PC.
    Do you think that it's the problem?  i must install SP3?

  • How to programatically resetAction after rollback?

    Hi,
    how can i programatically execute resetAction after rollback?
            OperationBinding operationBinding = bindingContainer.getOperationBinding("Commit");
            Object result = operationBinding.execute();
            /* in case commit fails, rollback automatically */
            if (!operationBinding.getErrors().isEmpty()) {
                operationBinding = bindingContainer.getOperationBinding("Rollback");
                result = operationBinding.execute();
                /* *** here, i should reset action, how? *** */  
            }

    Hi Frank;
    I am using a parameterized search form (using named bind variables), which also displays the results.
    The user enters values for a three part key.
    I have valueChangeListener on the third inputText, where I perform an executeWithParams.
    If a record is found in the database, and the form is populated, the user is then free to perform edits.
    If a record is not found in the database, we naviage to a creation form.
    If they want to delete the record (only available in the search/edit form), and use a delete commandLink, they are offered a confirmation dialog.
    If they indicate that they want to continue with the delete, we execute the "DeleteTrip" action binding.
    After the action binding completes, I would like to present an empty form for the user to enter another set of keys (with and empty EO and VO).
    Here is my delete commandLink tag:
    <af:commandLink action="dialog:confirmDelete"
    textAndAccessKey="&amp;Delete"
    immediate="true"
    useWindow="true"
    windowHeight="50"
    windowWidth="200"
    partialSubmit="true"
    returnListener="#{backing_Edit.handleDeleteTrip}"
    id="commandLinkDelete">
    <af:resetActionListener/>
    </af:commandLink>
    It seems the resetActionListener fires before executing the code in the returnListener, thus when the DeleteTrip action binding completes, the record just deleted remains in the form onscreen; and to get my desired behavior, the user must click a "Clear" link to execute the clear_action listed below.
    Here are the four pertinent methods in the edit form backing bean:
    public void handleDeleteTrip(ReturnEvent event) {
    if (event.getReturnValue() != null) {
    String ret = event.getReturnValue().toString();
    if (ret.equals("delete")) {
    bindings.getOperationBinding("DeleteTrip").execute();
    commit_action();
    public void commit_action() {
    appMod.getTransaction().commit();
    reInit();
    private void reInit() {
    // The importance of this method is to set all bind variables null
    // and re-execute the TripView query in order to empty the EO
    ADFUtils.setBoundAttributeValue("bindYear", Calendar.getInstance().get(Calendar.YEAR));
    ADFUtils.setBoundAttributeValue("bindManagementAreaCode", null);
    ADFUtils.setBoundAttributeValue("bindTripNo", null);
    bindings.getOperationBinding("ExecuteWithParams").execute();
    appMod.getTransaction().clearEntityCache(null);
    public void clear_action() {
    bindings.getOperationBinding("Rollback").execute();
    reInit();
    Any help toward clearing a form after executing a delete action binding would be greatly appreciated!!
    Jeffrey

  • Problem while executing the transaction code FMBV (Reconstruct)

    We are facing a problem while executing the transaction code FMBV
    (Reconstruct Availability Control in Funds Management) in it when we
    execute this transaction system only updates the expenditure which is
    made before technical upgrade from 4.6c to ECC6 EHP6, against the
    Assigned Budget (KBFC budget type) in the Annual Budget Table (BPJA)
    and
    the expenditure which we made after the upgrade, the program just
    ignore
    it. We can also see the expenditure in the standard FBL3N report.
    Please guide us.
    Thanks and Best Regards,

    Dear Abrar
    In your description, you refer to missing update after an upgrade. First of all, see if table FMIT is consistent, as it is the basis for calculating the assigned values during AVC reconstruction.
    Refer to this note:
    977016 FMIT: Missing totals records in Funds Management  And perform following steps:
    1.- Run program RGZZGLUX
    2.- Run program RFFMRC04 to match totals table with line items. A test run after a successful effective run should not find inconsistencies.
    3.- If RFFMRC04 does not show more inconsistencies, run FMBV as final step.
    Note that this reconstruction must be done without any other budgeting/posting activities at the same time, otherwise you may cause  other inconsistencies.
    Please let me know the results.
    Best regards,
    977016 - FMIT: Missing totals records in Funds Management
    Symptom
    After the upgrade to ERP 2004 or higher you realize that the FMIT totals table is no longer updated in Funds Management. You start the RFFMRC04 report to reconstruct the totals, but the report still displays the missing totals after an update run.
    Other Terms
    FMIT, EA-PS, ECC 5.00, ECC 6.00, ECC 7.00
    Reason and Prerequisites
    This problem occurs due to a generation error.
    Solution
    Start the RGZZGLUX report to generate missing source code in FI-SL. Then start the RFFMRC04 report to reconstruct the totals, now another run of the report should no longer display any errors.

  • How to execute Update Module FM after final commit work for a T-code.

    Hello Folks,
    I have a bit complex issue with my current object.
    We have modified MM41/MM42 transactions and added a subscreen to fulfill the requirement.
    We have designed the subscreen and embedded the same to MM41/MM42 through SPRO configuration.
    Now for update business logic,i am trying to execute one Function module(Update Module) in update Task...so that it will be executed once after the final commit work will be done for MM41/MM42.
    But its not executing.
    To fulfill my requirement i need to execute the FM only after Final Commit work for MM41/MM42.
    Please suggest in this regard.
    Even i can see few BADI's which are triggering through MM01/MM02 but not through MM41/MM42.
    BADI_ARTICLE_REF_RT
    BADI_MATERIAL_CHECK
    BADI_MAT_F_SPEC_SEL
    Code with which i am trying is given below.
    After PAI event of the subscreen---
    1:        MODULE USER_COMMAND_9001.
    2:       MODULE user_command_9001 INPUT.
                        PERFORM sub_save_mara ON COMMIT.
              ENDMODULE.
    3:       FORM sub_save_mara.
                         CALL FUNCTION 'ZMMUPDATE_MARA_APPEND_STRUCT' "IN UPDATE TASK
                                        EXPORTING
                                                 materialno = gv_matnr
                                                 appendmara = ty_zzmara.
             ENDFORM.                    "sub_save_mara
    4:                FUNCTION zmmupdate_mara_append_struct.
                      ""Update Function Module:
                       ""Local Interface:
                      *"  IMPORTING
                   *"     VALUE(MATERIALNO) TYPE  MATNR
                   *"     VALUE(APPENDMARA) TYPE  ZZMARA
    Data Declaration for Local use
      DATA : w_mara TYPE mara.
    Selecting the latest values for the material.
      SELECT SINGLE * FROM mara INTO w_mara WHERE matnr = materialno.
      IF sy-subrc = 0.
      Move the ZZMARA values to structure MARA
        MOVE-CORRESPONDING appendmara TO w_mara.
      Update the values in table MARA.
        MODIFY mara FROM w_mara.
      ENDIF.
    ENDFUNCTION.
    Kindly suggest.Thanks in advance.
    Regards
    Ansumesh

    Hi..
    The code given by me will work fine provided the Final commit should happen.
    Because to execute FM with update task,final commit work should happen which is mandatory and after that it will call the update task.
    In my case final commit work was not happeneing because..SAP standard program was not able to detect wether there is any change in my sub-screen or not as the standard program & my custom program,subscreens are different.
    As it was not able to detect the change,so final commit was not happening and hence update task also.
    To provide the reference of change in my subscreen to standard program ,i set a flag as per the change in the subscreen
    And exported the same to memory.
    Then Implemented one enhacement spot in MATERIAL_CHANGE_CHECK_RETAIL Fm where i have Imported the flag value.
    Based on my custom flag value,i have set one standard flag FLG_AENDERUNG_GES which tells SAP standard program for MM42 wether any change has happened or not.
    The above solved my purpose.
    Regards
    Ansumesh

  • Checkboxes don't update after executing SQL query

    I have a table bound to data from a database.
    in order to fill the data, i execute the RowSet after setting several required parameters (WHERE foo = ?).
    I use
            try {
                getSessionBean1().getModule_has_featureRowSet().setInt(1,userID);
                getSessionBean1().getModule_has_featureRowSet().setInt(2,submoduleID);
                getSessionBean1().getModule_has_featureRowSet().execute();
                module_has_featureDataProvider.refresh();
            } catch (SQLException ex) {
                ex.printStackTrace();
            }This works, but when I want to change to other parameter userID and submoduleID the checkbox (boolean values) do not update after calling the DataProvider to refresh.
    Anyone understands what I would like to know and can help me?
    Thanks.

    I still struggle with this problem.
    Ok, what I do is the following. I have one table (tbl1), where you can select a row. according to the row, another table (tbl2) is filled with data from a dataprovider and information from the row selected in tbl1.
    i do this using
        public void radioButton1_processValueChange(ValueChangeEvent event) {
            // ;) Ugly, I know.             
            int submoduleID = Integer.parseInt((String) RadioButton.getSelected("buttonGroup")) + 1;                   
            try {
                getSessionBean1().getModule_has_featureRowSet().setInt(1,userID);
                getSessionBean1().getModule_has_featureRowSet().setInt(2,submoduleID);
                getSessionBean1().getModule_has_featureRowSet().execute();
                module_has_featureDataProvider.commitChanges();
                module_has_featureDataProvider.refresh();
            } catch (SQLException ex) {
                ex.printStackTrace();
        }This should change the content of tbl2. And it does most of it. It retrieves the correct amount of rows and display a correct string field. The boolean entries, represented by text boxes, are not changed.
    I was checking, if there is something like 'refresh' or 'rerender' or similar in order to refresh the table with the information from the dataprovider. I think hte problem is that the checkboxes are not rerendered correctly after executing DataProvider.refresh().
    Can anyone help me on this?
    thanks!

Maybe you are looking for