Problem with XA Transactions in BPEL?

Hi,
I have a problem in using XA Transactions... I have a Sync BPEL Process which insert values into six tables... So i am using six database adapters for inserting the values into the data base...
While inserting the values into the database if any db adapter fails the all the transactions done have to be rolled back...
So for this i have created XA Datasource and i have to put all the adapters in a single scope...
I have also added the property transaction="participate" both at partnerlink level and global level also...
and i have also added the GetActiveUnitOfWork="ture" in jca:operations in the wsdl of all the adapters...
But the problem is the values are not getting inserted in the last table in a success case... But if one of the adapter fails then all the transactions done are rolled back...
The problem is only with the success case and that too only with the last db adapter... the values are not inserted but the instance is created... I feel that the values are inserted but they are being committed
Can any one suggest me a solution for this problem???

Hi,
I have a problem in using XA Transactions... I have a Sync BPEL Process which insert values into six tables... So i am using six database adapters for inserting the values into the data base...
While inserting the values into the database if any db adapter fails the all the transactions done have to be rolled back...
So for this i have created XA Datasource and i have to put all the adapters in a single scope...
I have also added the property transaction="participate" both at partnerlink level and global level also...
and i have also added the GetActiveUnitOfWork="ture" in jca:operations in the wsdl of all the adapters...
But the problem is the values are not getting inserted in the last table in a success case... But if one of the adapter fails then all the transactions done are rolled back...
The problem is only with the success case and that too only with the last db adapter... the values are not inserted but the instance is created... I feel that the values are inserted but they are being committed
Can any one suggest me a solution for this problem???

Similar Messages

  • I have a problem with the transaction CBIH82

    Hi experts,
    I have a problem with the transaction CBIH82, when I try to assign a team in the tab "EventLocation", the transaction sends me the message "Equipment not available at the functional location".
    I previously reviewed the equipment is assigned to the transaction IL03.
    No authorization errors, I checked with the transaction SU53.
    Any idea to solve this problem?
    I appreciate it.

    Hello,
    I happened to again see this post where question is yet to be answered.
    As per SAP standard design, only those equipment would be allowed which are directly installed on the functional location. What this means is that those equipment which are not directly assigned to the functional location (might be assigned to another superior equipment which in turn is assigned to the functional location) can't be saved.
    Now, I am not sure why SAP has kept it like this when the same is allowed in notification.
    Can somebody clarify the business relevance of this standard behavior??
    Regards,
    Pavan

  • Problem with "Call Transaction" which calls a view cluster

    Hi Colleagues ,
    I have a rare issue with the call transaction , here is the use case for it :
    1> I call a transaction(calls a screen X) in a report ,
    2> I have a button in the screen , which calls another transaction(calls a screen X2) .
    3> On the screen X2 i have another button which calls transaction (calls the view cluster ).
    problem :
    i'm not able to see the navigation pane in the view cluster on the left. its missing .
    but when the view cluster is called direclty , i'm able to see the navigation pane in the view cluster ..
    My initial doubt was , is this the problem with nesting of 'Call Transaction' calls ????
    please answer the thread , i have to fix this ASAP.
    regards,
    Dilip

    problem solved.

  • Problem with Call Transaction opt-RACOMMIT = 'X'.

    Hello Experts
    I am having a problem with call transction. I am calling a Z transaction in function module. Within the Z transaction I am furhter calling some function modules and doing commit work and then some more processing  after the comit work inside  So to make sure the code after comit work is fired I am using opt-RACOMMIT = 'X' in call transaction. Whenever I set this parameter opt-RACOMMIT = 'X' call transaction fails and gives error saying No batch Input data for screen XXXX. However the Z tcode processed succesfully.
    By changing the Mode to E i found that it remians at the last screen of call transction after executing the Z transaction and never comes back 
    But if I donot use RACOMMIT = 'X'  everything is fine. Please let me know if anyone came across such problem. Any help will be apreciated.
    Thanks,
    kamal

    Hello,
    as you said, if there is more than commit statement in your ztransaction, then you should put RACOMMIT to 'X'.
    I think the problem is in your bdcdata: change it to be sure to get back to the 1st screen of your ztransaction. Then, at this point (1st screen) hit "back" button.
    Cordialement,
    Chaouki

  • ECR/ECO problem with automated transactions

    Hi Friends,
    I have problem with automated close of ECR.
    Description:
    I have change number with one object - Inspection Plan.
    In CC32 when "Incorrect Change" is set and I click "Erro Corrected" - nothink happen
    (it should show popup with information that transaction cc06 was automated started)
    After that when i choose "Release Change" - also nothing happen.
    (it should shop popup and set status - "Close ECO")
    Everything works ok on sandbox system but on Dev/Test/Prod it doesn't work.
    Anybody now where could be a problem?
    Thank you for any advice.

    Hi
    Pls check this Link
    SAP-ECM and PPPI Integration-Solution
    Thanks in advance

  • Problems with 2 transaction data getting intermixed !!!

    Hi,
    i am using weblogic in my project both as a webserver and as the application server.
    But i am facing problems with requests being sent to the server. Basically i have
    a form in my jsp which, if submitted by multiple clients at the same instant in
    time, the server gets confused and mixes up the data in the requests !! the form
    is submitted to another jsp which in turn calls a SLSB which in turn calls various
    entity Beans to fulfill the request.
    Now if 2 or more clients hit the submit button together, the server is mixing
    the data from the requestsand i get corrupted output as a result.
    That if i submit values (a,b,c) from one client machine and values (x,y,z) from
    another machine, the server puts one of the transactions properly and in the other
    it picks up the data from the other request and takes something like (x,y,c) !!
    Is this a bug in Weblogic 6.1 or am doing something wrong ??
    Any help would be appreciated. Anyone faced something similar ?
    Raja

    Hi.
    Please open a case with support if you haven't already done so.
    Regards,
    Michael
    Raja wrote:
    Hi,
    i am using weblogic in my project both as a webserver and as the application server.
    But i am facing problems with requests being sent to the server. Basically i have
    a form in my jsp which, if submitted by multiple clients at the same instant in
    time, the server gets confused and mixes up the data in the requests !! the form
    is submitted to another jsp which in turn calls a SLSB which in turn calls various
    entity Beans to fulfill the request.
    Now if 2 or more clients hit the submit button together, the server is mixing
    the data from the requestsand i get corrupted output as a result.
    That if i submit values (a,b,c) from one client machine and values (x,y,z) from
    another machine, the server puts one of the transactions properly and in the other
    it picks up the data from the other request and takes something like (x,y,c) !!
    Is this a bug in Weblogic 6.1 or am doing something wrong ??
    Any help would be appreciated. Anyone faced something similar ?
    Raja--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • LT04 problems with call transaction

    Hello,
    I am using RF and creating screens for users to putaway material  in a raw material warehouse based on a material document number from the GRN which is linked to a TR (transfer requirement).  I am, however, having problems with the TO creation where the material is QM relevant.
    I have used function module L_TO_CREATE_TR which works for non-QM relevant items but most of our items are QM relevant.  I am trying to process these by creating a TO using LT04 as a call transaction.
    However, before I can put in a bin , the screen that appears in order to enter the bin  has an error message before anything has been input -  'No destination storage bin to be found in storage type 001 "(L3 009).
    Anyone have any suggestions how I can get around this as I cannot create the TO in the background using LT04 because of this error.
    Regards
    Larissa Maryniuk

    As mentioned in my original question, I cannot use the LTOCREATE_FROM_TR FM for items set  with stock category Q as these are QM relevant.  If you try and create a TO from a TR using L_TO_CREATE_TR you get an error of 2 which is item is QM relevant.  I cannot see how I can use  WS_LM_TRANSFER_ORDER_CREATE as you cannot put in the TR number anywhere. Other than these 2 cannot see how I can create a TO from a TR without using LT04. 
    If I use LT04 and set as backrground I get the message specified. The way to get around the error using LT04 is only available if T04 is set as Foreground on the front screen instead of background.
    Anyone have any suggestions?
    Edited by: Larissa Maryniuk on Jan 25, 2010 11:41 AM

  • Problem with CIC0 transaction OK codes

    Hi Experts,
    We are using CIC0 transaction in CRM 3.1 system. As you know there is a button "Reset all fields" ( the one with a crooked arrow sign ) which is used to reset all the fields before entering the next business partner. This button is not working consistently. In my system, I am getting an OK CODE of "%_GC 117 1" when I click this button. But, when the actual user ( who is in a geographically different location ) clicks this button, he gets an OK CODE of "CSEARCH_DELETE". As a reslut I am not able to provide some functionality the user asked for. I checked the SAP GUI version, Patch Level, OS Version, and IE version and settings. There is no difference in these between my PC and user's PC. What could be the problem ? Is it due to some problem with BSP ? Please advise.
    Regards,
    Sameej T.K.

    OK CODE? Hmmmm... are you sure that BSP even in sight of transaction CICO, the one with the crooked behaviour? No ideas. This does not sound like BSP.
    But if you feel like experimenting, check whether it is language dependent (EN vs DE). This is just wild shot over my shoulder as I exit stage right.

  • Problem with SAP Transaction iView after Patch 34 install

    Hi All,
    We're running EP6SP2 on AIX/Oracle and have currently upgraded from PL5 to PL34.
    The problem we are now having is as follows:
    We have an SAP Transaction iView that is using the 'Auto' method for the 'Technique to start SAPGUI for Windows' and the 'WinGui' as the 'SAP GUI Type'.
    Now when we click on the iView we are getting the IE popup that asks us if we want to Save, Open, or Cancel the file open for tx.ssd
    Prior to the patch upgrade we did not have this issue.
    Any help would be appreciated.
    Thanks,
    Robin.

    Hi Praveen,
    Thanks for the quick response. 
    I have seen those notes already and unfortunately they don't solve this specific problem.  These will solve the problem for the SSD method (.sap file) of starting the SAPGUI for Windows but not for the SSF method (.ssf file).
    The main issue is that before the install of the Patch we did not get the popup, everything worked fine.  It doesn't make sense why we would have to change our IE settings now to get it to work properly.  It should work the same as before the patch.
    Plus, I don't want to have to do an SMS push to all the PC's here to fix a problem with a Patch upgrade.
    I have tried to add the .ssd and .sap types to the Mime section for the http service in the Admin tool but this hasn't fixed the problem either.
    Also, I found that in Patch 31 SAP has made a change to the way the SAP GUI for windows starts.  After some searching I found that in the file WinGuiRenderLayer.properties under
    the 'com.sap.appintegrator.sap/property/Transaction/' folder I see that it has some entries in it that look like they relate to the above mentioned fix for Patch 31. The lines in particular are:
    - # postfix for roundtrip URL - should help IE to detect the mime-type
    - SSF_URL_Postfix = /tx.sap
    - SSD_URL_Postfix = /tx.ssd
    These lines were not in this file prior to implementing the patch and I believe that this may be causing the problem. 
    Any other suggestions would be appreciated.
    Thanks,
    Robin

  • Problem with a transaction fbwe

    Hello,
    I created a consignment of goods to present to the bank with the transaction fbwe. I find that if we create a new execution of effects with the same values, re-select the effects previously treated.
    Someone knows, is it exists some way to customazing the system why not to choose effects that have been remitted before, and which are still outstanding account?
    Thanks for your help.
    Regards
    XeviG.

    Hi,
    Check the entries in V_T045DTA (tcode SM30 - view). Check Note 177154 - Manually changing table T045DTA too.
    I hope this helps you
    REgards
    Eduardo
    Edited by: Eduardo Hinojosa on May 21, 2010 2:14 PM

  • Problem with call transaction and a query

    Hi,
    Whe have a query that has its own Z tcode, we are working with this "EXIT_SAPLCORF_103"  within the tcode CO11N. Inside the include "ZXCOFU13" we call the query Tcode and it is displayed on screen but with no data.
    The table "itbdcdata" record well the data of the inputs in the query recording so you can see with the WERKS and the number of reserve (3994) in the recording.
    Why the call transaction display the query screen with no data...? and how can i pass the inputs to the query screen so it be executed.
    Thanks on advance.
    David Fúnez
    Tegucigalpa, Honduras.
    This is the recording:
    AQZZZ_USER_GRMA=Z_QUERY_PP_003     1000X                                                                                BDC_CURSOR     SP$00002-LOW
                                                                BDC_OKCODE     =CRET
                                                                S_WERKS-LOW     1202
                                                                SP$00002-LOW           3994
                                                                %ALV     X
    this is the code in the INCLUDE
    *&  Include           ZXCOFU13
    DATA: itbdcdata TYPE bdcdata    OCCURS 0 WITH HEADER LINE,
          optoption TYPE ctu_params.
    REFRESH itbdcdata.
    CLEAR   itbdcdata.
    itbdcdata-program  = 'AQZZZ_USER_GRMA=Z_QUERY_PP_003'.
    itbdcdata-dynpro   = '1000'.
    itbdcdata-dynbegin = 'X'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'BDC_CURSOR'.
    itbdcdata-fval = 'SP$00002-LOW'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'BDC_OKCODE'.
    itbdcdata-fval = '=CRET'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'S_WERKS-LOW'.
    itbdcdata-fval = '1202'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'SP$00002-LOW'.
    itbdcdata-fval = caufvd_imp-rsnum.
    APPEND itbdcdata.
    itbdcdata-fnam = '%ALV'.
    itbdcdata-fval = 'X'.
    APPEND itbdcdata.
    CLEAR optoption.
    optoption-dismode = 'A'. "A is visible
    optoption-updmode = 'S'.
    CALL TRANSACTION 'ZRESV' USING itbdcdata OPTIONS FROM optoption.

    problem solved.

  • Problem with CALL Transaction syntax

    Hi All,
    I have created  a report in which Im displaying Sales order, planned order n production order details.
    In the output if the user double clicks, anyone of the sales order/planned order/production order no, it has to take to concern transaction.
    Sales order and planned order are perfectly working.
    problem is with production order, it is not displaying, the exact order no.
    my code:
    WHEN '&IC1'.
          IF rs_selfield-fieldname = 'VBELN'.
         READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex
            SET PARAMETER ID 'AUN' FIELD wa_final_so-vbeln.
            CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
          ELSEIF rs_selfield-fieldname = 'PLNUM'.
         READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'PAF' FIELD wa_final_so-plnum.
            CALL TRANSACTION 'MD13' AND SKIP FIRST SCREEN.
          ELSEIF rs_selfield-fieldname = 'AUFNR'.
         READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'ANR' FIELD wa_final_so-aufnr.
            CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.
    In debugging I checked, after call transaction, the system executing the following code, here CAUFVD-AUFNR is initial.
    So, it has been picking some different no.
          Starten Batchrezept über Einsatzplanung - DO-THANH
      MODULE GET_PARAMETER OUTPUT.
        IF CAUFVD-AUFNR IS INITIAL.
          GET PARAMETER ID 'BR1' FIELD *CAUFVD-AUFNR.
          IF NOT *CAUFVD-AUFNR IS INITIAL.
            CAUFVD-AUFNR = *CAUFVD-AUFNR.
          ENDIF.
        ENDIF.
      ENDMODULE.                             " GET_PARAMETER  OUTPUT
    Pls help me how to resolve the above problem.
    Valuable suggesstion will be highly appreciated.
    regards,
    Priya

    Hi,
    Note that the code as different Parameter id
    you are setting the parameter 'ANR'
    SET PARAMETER ID 'ANR' FIELD wa_final_so-aufnr.
    Where as in that method it is reading the parameter id 'BR1'
    GET PARAMETER ID 'BR1' FIELD *CAUFVD-AUFNR.
    so try by setting  the 'BR1' in set parameter.
      ELSEIF rs_selfield-fieldname = 'AUFNR'.
         READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'BR1' FIELD wa_final_so-aufnr.
            CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.
    Regards,
    Kiruba.

  • I have problem with cn22 transaction while uploading

    dear Experts
    i  have problem while uploading the data into the CN22 transaction
    i t is updating frontend  mode 'A' but not updating with backend  when  'N'
    please tell me the solution.
    perform bdc_dynpro      using 'SAPLCOKO' '2000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'CAUFVD-AUFNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=LIST'.
    perform bdc_field       using 'CAUFVD-AUFNR'
                                  wa_data-aufnr.
    perform bdc_dynpro      using 'SAPLCOVG' '2000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=EINF'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'AFVGD-VORNR(01)'.
    perform bdc_field       using 'RC27X-FLG_SEL(01)'
                                   FLG_SEL_01_002.
    perform bdc_dynpro      using 'SAPLCOVG' '2000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'AFVGD-ARBPL(01)'.
    perform bdc_field       using 'AFVGD-VORNR(01)'
                                   wa_data-vornr.
    perform bdc_field       using 'AFVGD-LTXA1(01)'
                                  wa_data-ltxa1.
    perform bdc_field       using 'AFVGD-DAUNO(01)'
                                  wa_data-dauno.
    perform bdc_field       using 'AFVGD-ARBPL(01)'
                                  wa_data-arbpl.
    perform bdc_dynpro      using 'SAPLCOVG' '2000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VSNETEXT-NPLNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BU'.
    *perform bdc_transaction using 'CN22'.
    call transaction 'CN22' using it_bdcdata
    OPTIONS FROM wa_CTU_PARAMS
    messages into mess_tab.

    Hi,
    First check the messages in intenal table mess_tab in debugging mode with mode N.
    Recording looks ok.
    Regards
    Praveen

  • Problem with Flashback transaction query in 10g

    Hello,
    I'm having a problem when working with FLASHBACK_TRANSACTION_QUERY.
    When I make a simple update of table PARTIES with some trigger (one transaction with XID=000300310027ACAA), expected result can be found in FLASBACK_TRANSACTION_QUERY:
    select xid, start_scn, commit_scn, logon_user, undo_change#, operation, table_name, table_owner, undo_sql from flashback_transaction_query f
    where xid = hextoraw('000300310027ACAA');
    XID               START_SCN     COMMIT_SCN     LOGON_USER     UNDO_CHANGE#     OPERATION     TABLE_NAME          TABLE_OWNER     UNDO_SQL
    000300310027ACAA     170337630398     170337630411     SYSTEM     1               UPDATE     PARTY_HIST_LOGS     ODS_OWNER          update ...
    000300310027ACAA     170337630398     170337630411     SYSTEM     2               UPDATE     PARTIES          ODS_OWNER          update ...
    000300310027ACAA     170337630398     170337630411     SYSTEM     3               BEGIN          null               null               null     
    But after a while (cca 1 minute) all rows representing DML operations changes to one row with operation=UNKNOWN. And in the same time TABLE_OWNER, UNDO_SQL, ROW_ID is lost.
    select xid, start_scn, commit_scn, logon_user, undo_change#, operation, table_name, table_owner, undo_sql from flashback_transaction_query f
    where xid = hextoraw('000300310027ACAA');
    XID     START_SCN     COMMIT_SCN     LOGON_USER     UNDO_CHANGE#     OPERATION     TABLE_NAME     TABLE_OWNER     UNDO_SQL
    000300310027ACAA     170337630398     0     SYS     1     UNKNOWN     PARTIES     null          null               null
    000300310027ACAA     170337630398     0     SYS     2     BEGIN          null          null          null               null
    Do you have any explanations, why this happens?
    Thanks a lot Filip
    Here are some DB parameters:
    Oracle 10g - 10.2.0.3.0 - 64bit Production
    noarchive log mode
    minimal supplemental logging enabled
    UNDO_MANAGEMENT=AUTO
    UNDO_RETENTION=57600
    v$undostat.tuned_undoretention=345600
    RETENTION GUARANTEE=YES

    SELECT
    o1.GRP_CODE
    , o1.GRP_DESC
    , o1.GRP_GROUP
    , o1.GRP_KATEG
    , o2.actual_amount
    , o2.budg_amount
    , o2.branch
    FROM
    vw_budget_codes o1 LEFT OUTER JOIN dw_fbudget_star o2 ON (o1.grp_code = o2.grp_code)
    WHERE
    o2.branch= '5455345'
    Message was edited by:
    TanteKaethe
    Message was edited by:
    TanteKaethe

  • Problem with the Transaction "BBPCF02" in Good Confirm (ITS)

    Hi,
    My search is not fetching any data in the ITS for Goods Confirm.
    If, I enter the existing PO number also, it is not giving any search results.
    The ITS screen is calling the Transaction "BBPCF02" for Goods Confirm for my user id.
    I have executed the Transaction "BBPCF02" in the EBP, same problem I have faced(no data fetching).
    But, I have  executed the Transaction "BBPCF03".  It is getting the data for my search....
    I have checked both Transactions and found, they are having same program name and screen number....
    What could be the problem...?
    Thanks for your inputs on this issue....
    Best Regards,
    Thiru

    Hi
    <u>Either the User role is having missing authorization, or there is some other problem.</u>
    <b>Please have  a look to following links, which deal with the same issue.</b>
    <u>Worklist for confirm goods using BBPCF02
    How to set BBPCF02 to "Goods/Services delivered to me"
    Confirm Goods / Services Centrally - BBPCF03
    BBPCF02 confirm good receipt. - TImeout
    Display and Process Confirmations Centrally  Status Dropdown List
    Partner not found - confirm goods / cervices centrally EBp4.0
    BUS2203 for Confirmations
    Worklist for confirm goods using BBPCF02
    Confirmation
    User has some open GReceipt items to confirm and can't find them in the Cnf
    Unable to find PO to do confirmation!!!
    <b>This will definitely help.</b>
    Regards
    - Atul

Maybe you are looking for