Commit handling with Different sessions on same Database

Hi,
We have a requirement, where-in we have two modules working on the same database but different schemas.
In this case, also the oracle session for both the module is also different.
We want to ensure a two phase commit logic in this scenario, wherein the integrity of the data commit is maintained across sessions.
How can I achieve the same, Because I have heard two phase commit works of Distributed database using DTC(Distributed transaction co-ordinator.
Regards,
Uravesh

urvesh wrote:
Hi,
We have a requirement, where-in we have two modules working on the same database but different schemas.
In this case, also the oracle session for both the module is also different.
We want to ensure a two phase commit logic in this scenario, wherein the integrity of the data commit is maintained across sessions.
How can I achieve the same, Because I have heard two phase commit works of Distributed database using DTC(Distributed transaction co-ordinator.
Why do you think that the integrity of the data would not be preserved with the commit functionality ? What do you think two phase-commit does?
Aman....

Similar Messages

  • MVC Event Handling with different rows of same table view

    Hello friends,
    I have a tableview with some rows.I have some columns in the tableview.First column contains the drop down list box and other columns are output fields.
    I am allready able to populate the columns according to the selection of a value in the drop down listbox of the same row.
    In the layout of view for the selectionmode attribute of tableview i have given 'lineedit'.
    In the do_handle_event i am also able to get the current selected row of the tableview.
    DATA: tv_data TYPE REF TO cl_htmlb_event_tableview.
    selection = tv_data->selectedrowindex.
    Scenario:I have selected the first row then i am selecting a value in the dropdown and able to populate their corresponding value in the corresponding output field of same row.
    So the first row has the selected value in drop down listbox also the corresponding outputfield of same row also has the value.This i am doing by inserting it to the final internal table for the tableview according to currrent selected row .
    Now i am going to select the second row.then i am selecting someother value in the dropdown listbox of the second row and filling the other columns correspondigly.I am able to do this for the secondrow.What i now need to do is i also want to see the first row with slected values correspondingly when the final view comes.ie i need both rows with corresponding values.
    Similarly when selecting third row and other rows so on.
    how to do this?
    Thanks & Regards,
    Renju.

    Hi Renju,
    Try using MULTILINEDIT - this is used when you want to edit multiple rows all at once.
    Cheers

  • Is it possible to differentiate one payroll area with different currency under same company code

    Hi experts ,
    MY client wants to pay in yemen currency for the employees who working in yemen, but it was comes under same company code created for india.we have differentiated yemen under different payroll area wise . so is it possible to  differentiate one payroll area with different currency under same company code.
    thnx,
    vamshi keshavapatnam

    Hi Vamshi,
    I don't think so what you have done is correct. It seems like Global Employment functionality. As I understood you have some EEs which are Indian but working in company branch of Yeman.
    If this is the case you should define a new company code for Yeman branch and use Global Employment functionality. By this you can make decision to pay in home currency or traget country currency.
    Regards,
    Omid

  • Single ERS Invoice for multiple POs with different GS and same IP

    Dear All,
    I have a Requirement as per the below scenario:
    We need to have single invoice created using ERS (MRRL) functionality in the below scenario:
    Two POs created with different Partner function GS (goods supplier) and same IP (Invoice party partner function).
    Ex:
    GS IP PO GR ERS
    vendor1 10001 4500001 500001 Yes ( GR-IV-Yes, GR done- Yes, same payment terms - 001)
    vendor2 10001 4500002 500002 Yes ( GR-IV-Yes, GR done- Yes, same payment terms - 001)
    When I run ERS for last 1 week (GR) and select the option (Doc selection – per IP or other criteria like GRs posted in last one week) , system should create 1 invoice document. Standard SAP posts 2 documents for each GS.
    I have tried using 2 user exits for MRRL, but none of them work for this functionality.
    Thanks,

    Hi,
    Go for  MIRO without MRRL.
    Instead ERS, you can post single  Invoice(MIRO) for multiple POs  for one vendor.
    OR
    Check with Technical consultant and go for development to have single ERS output for multiple ERS invoice documents for single vendor.
    Regards,
    Biju K

  • Receiving messages on 2 iPhones with different numbers but same Apple ID.  Went under Settings Messages and unchecked second phone

    Receiving duplicate messages on iPhones and an iPad, all with different tele#'s but under same Apple ID# ever since upgrade to 7.0.4.  Went under SETTINGS>MESSAGES>SEND & RECEIVE and unchecked all but that particular iPhone tele# and Email address.  Still reverts back to same problem,  Any further suggestions to resolve?

    Visual voicemail is a carrier feature, contact your cell phone provider and see if it is set up for you to use.

  • Two adf components sharing same VO with different params on same screen

    Hello everybody,
    My current problem is that I need to create a screen with multiple graphs sharing the same VO but with different parameters for each one.
    Lets suppose that I want to use EmployeesVO to show 2 graphs on the same jspx page.
    One graph will show all employee salaries for department "Marketing" and another will show all employee salaries for department "IT".
    Remember that I want both on the same screen.
    The read-only VO will look like this:
    SELECT First_Name
    , Salary
    FROM employees
    WHERE department_id = :p_dept
    To do this I did the following:
    For each graph I created one Iterator.
    For each Iterator I created one ExecuteWithParams. (one receiving "Marketing Depto" and anther receiving "IT Depto")
    For each ExecuteWithParams I created one InvokeAction .
    While running the application all graphs show the same information. All of them show only one department (the last InvokeAction in the Executables List).
    The question is: How to keep each graph with their own parameter on the same screen?
    I'm using JDeveloper 11.1.2.1 on Windows 7 x64 SP1.
    Thanks in advance!

    Why dont you add 2 instances of the same Vo in the AM. For each instance set the different VC.

  • MIRO for multiple PO's with different Pymt Terms (Same vendor)

    Hi,
    Is it possible to process many PO's for the same vendor with different payment terms (PO has got diff. pymnt terms) thru MIRO. Vendor has sent invoice clubbing diff. PO's.
    Regards
    Nilesh

    Hi,
    There are different payment terms in financial accounting, sales & Purchasing.When you then enter a business transaction, the application in question will use the key specified in its area of the master record.
    For exmple, in vendor master we have 2 payment terms one is at Company code level and the other one is at purchase organisation level.
    I hope in PO, the payemnt terms will be picked up from the purchasing view, and in invoice payment term will be picked up from the company code level.
    Since Payment term is at header level in invoice, it is not possible to have different payment terms for single invoice.
    Also in terms of finance its not possible to have different payment terms for single vendor.
    Regards,
    Prabu

  • Can I use two different Touches (2G and 4G) with different OSs on same comp

    I have a 2G 32 GB Touch running OS 3.13, which is just fine. I'm expecting a G4 64 GB Touch to arrive this coming week. I understand that OS 4.1 is already loaded on it.
    Will I be able to use both Touches with differing OSs on the same computer? I really have no desire to update the OS on the older Touch as it has worked beautifully for 22 months!

    You can have multiple ipods with different os's. For a few minutes I had my 2G at v4.0.1 and my 4G at v4.1.
    I've never seen itunes automatically update the os on the ipod so you should be ok.

  • Different schema on same database

    i have 2 schemas in the same database, i create a table in one schema and can access the same table from the other schema without grant option. For eg, i create one table 'emp' in one schema 'schema1' like:
    create table emp(no number);
    Now, from the other schema, schema2, i can access this table data using the following select statement :
    select * from schema1.emp;
    without first giving the grant on the table from 'schema1' like this:
    grant select on emp to schema2.
    Please help in solving my doubt as i need it resolved urgently.

    Have you (perhaps mistakenly) granted a user the SELECT ANY TABLE privilege?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Error MDX when executing WBI query with different prompt but same text

    Current version is BO XI 3.1 SP2 FP 2.6
    Connected with SAP BI7
    Identified problem :
    when using same text prompt in different filters, only the first one is correctly answered, the MDX code for following ones are not correctly generated : the engine uses the right filter but applied to the object from the first filter which gives a MDX code error.
    Example :
    In a report :
    - asking a user choice on 'document month' for operational view
    - using the same answer to fill up the 'posting month' in financial view
    Document month (0FISCPER) filter is filter !V000001
    Posting month (FISCPLCD) filter is filter !V000002
    Question text is unique : "Single Year Period ?" and should be sent to both prompts/variable.
    When using the same text prompt, the MDX code generated is :
    SELECT  { [Measures].[4IUX93YJGXQEHGLX0T0GPNA9Y] }  ON COLUMNS , NON EMPTY CROSSJOIN( [0FISCPER].[LEVEL01].MEMBERS, [FISCPLCD].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM [CATS_M01A/ZGL_CATS_UTILISATION] SAP VARIABLES [!V000001] INCLUDING [FISCPLCD].[Z12010006]
    Please notice that in this generated code, the filter !V000001 is applied to the FISCPLCD object, while filter !V000001 is related to document month. A MDX error is generated.
    Any clue to solve this issue ?
    Thank you for your help.
    G.OM.
    Edited by: GERALDINE OMNES on Jan 14, 2011 12:44 PM

    Ok, I've simplified the case.
    Here is the real case :
    Object filter =
    Based on object =
    .[LEVEL01]
    Object filter =
    Based on object =
    .[LEVEL01]
    In WBI query result I take these objects :
    .[LEVEL01]
    .[LEVEL01]
    .[4IUX93YJGXQEHGLX0T0GPNA9Y]
    In query filters, my 2 filters with same text :
    1.
    I run the query.
    Answer to question 'Single Year Period ?' = Period 06 2010
    ==> MDX error
    A database error occured. The database error text is: Echec de l'exécution de la requête MDX SELECT  { .[4IUX93YJGXQEHGLX0T0GPNA9Y] }  ON COLUMNS , NON EMPTY CROSSJOIN( .[LEVEL01].MEMBERS, .[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM SAP VARIABLES INCLUDING .[Z12010006] INCLUDING .[Z12010006] avec l'erreur Invalid MDX command with . (WIS 10901)
    And you can see that the value sent to both filters is the same and come from the first filter .[Z12010006] instead of applying the value to each filter .[Z12010006] for the first one and .[Z12010006] for the second one.
    Please, notice that if I change the order of this 2 filters in the WBI query, the MDX generated become :
    SELECT  { .[4IUX93YJGXQEHGLX0T0GPNA9Y] }  ON COLUMNS , NON EMPTY CROSSJOIN( .[LEVEL01].MEMBERS, .[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM SAP VARIABLES INCLUDING .[Z12010006] INCLUDING .[Z12010006]
    Thanks for your help.
    G.OM.

  • Oracle troubles with multiple schemas in same database

    We have several different users set up with individual schemas in the
    same Oracle database. We run into trouble when more than one user tries
    to use Kodo in their local schema. Things go fine for User A, but when
    the User B tries to run the schematool on their own Oracle schema, they
    get this nonsense:
    javax.jdo.JDOFatalDataStoreException: An error occurred while connecting
    to the data store.
    NestedThrowables:
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=SELECT
    DISTINCT JDO_SCHEMA_METADATAX.CLASSNAMEX FROM JDO_SCHEMA_METADATAX]
    ORA-00942: table or view does not exist
    at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.<init>(SchemaTool.java:99)
    at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1114)
    at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1083)
    at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1073)
    at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1064)
    If the User A drops all the tables from their schema, then things go
    fine for User B ... but then User A will have the same problem when they
    try to run the schematool.
    It is our suspicion that Kodo is actually selecting the metadata all of
    the tables in **everybody's** schemas, and thus erroneously thinking
    that jdo_schema_medatax already exists. It really ought to restrict
    itself to the schema it's actually connected to.
    If our theory is correct, it would explain why Kodo is so incredibly,
    horribly, painfully slow to connect to our Oracle database -- we have
    dozens of schemas in there, many of which have hundreds of tables.
    Is 2.3.0 addressing this problem?
    Paul

    Paul,
    Are you using the 'schema-name' system preference setting for each user?
    Oracle's mechanism for selecting database metadata requires that the
    appropriate schema name be explicitly when more than one schemas are used.
    See the database setup section of our documentation for more information.
    -Patrick
    On 7/3/02 3:50 PM, "Paul Cantrell" <[email protected]> wrote:
    We have several different users set up with individual schemas in the
    same Oracle database. We run into trouble when more than one user tries
    to use Kodo in their local schema. Things go fine for User A, but when
    the User B tries to run the schematool on their own Oracle schema, they
    get this nonsense:
    javax.jdo.JDOFatalDataStoreException: An error occurred while connecting
    to the data store.
    NestedThrowables:
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=SELECT
    DISTINCT JDO_SCHEMA_METADATAX.CLASSNAMEX FROM JDO_SCHEMA_METADATAX]
    ORA-00942: table or view does not exist
    at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.<init>(SchemaTool.java:99)
    at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1114)
    at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1083)
    at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1073)
    at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1064)
    If the User A drops all the tables from their schema, then things go
    fine for User B ... but then User A will have the same problem when they
    try to run the schematool.
    It is our suspicion that Kodo is actually selecting the metadata all of
    the tables in **everybody's** schemas, and thus erroneously thinking
    that jdo_schema_medatax already exists. It really ought to restrict
    itself to the schema it's actually connected to.
    If our theory is correct, it would explain why Kodo is so incredibly,
    horribly, painfully slow to connect to our Oracle database -- we have
    dozens of schemas in there, many of which have hundreds of tables.
    Is 2.3.0 addressing this problem?
    Paul
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Multiple users with different Ipods on same computer

    My household has one general computer that is used by myself and my two teenage daughters. We don't use separate logins because it is used mostly to just go online, check our email, and use Itunes along with updating our Ipods. This works fine for us except that we have different Ipods. My girls have the Ipod Mini's and I have the Ipod (with video screen).
    My question is this: Can one computer (running WinXPProSp2)authorize two different Ipods under the same user name? Also, can two (or three) different Ipods be "authorized" on the same computer?

    Yes, your not really authorizing ipods, you just authorize a PC to play songs you buy from iTUnes. Once its authorized all ipods can play the song that connect to it.
    You can separate the music that is loaded to each iPod (Like your music only added to your ipod and your girls ipods only updating there music to there ipods) By creating your own playlist and setting the ipod to update them. This is covered more here http://docs.info.apple.com/article.html?artnum=300432

  • Homesharing - struggling with different accounts on same computer

    Hi - hope somebody can help with this. Could you talk me through how to set up homesharing on the same computer for 3 different accounts (me, wife and son - the latter with parental controls). I've tried turning on the homesharing function and the "look for homesharing" but am having no joy. would be grateful for any help. Thanks.

    I have been able to share my media using Home Sharing on different accounts on the same computer. All you need to do is make sure you use the same Apple ID for all of the accounts when you set up homesharing and have all of the accounts logged into at the same time. Then you will be able to transfer media back and forth.

  • How to Run sequencially two Key-Commit triggers with different scope

    Hi all
    I have two Key-Commit triggers at form and Block level. Form level trigger is inherited from a library. In block level trigger, I have some additional checks. What I want is, to execute the Block level trigger first and than the form level. I tried working with the override/Before/after property of triggers which does the job of sequencing execution but the Raise Form_Trigger_Failure in the block level trigger doesn't stop the execution of form level trigger. Block level trigger does the checks and display corresponding alerts but than the form level trigger also executes.
    I don't wanna copy the code from Form level trigger to the block level trigger as it is common to whole application and may need some additional coding/ bug fixing later.
    Any help would be appreciated.
    RMA

    Thanks for all the help.
    In Key-Commit trigger I am just setting the Blocks' properties, nothing special, the main checks are in On-Commit trigger. I also understand the work around by using a user defined trigger but, to my knowledge, Oracle doesn't recommend it.
    My form has two datablocks, Parent and a child. The entered quantity in the Master block needs to be verified against the Number of units entered in the child block. If they are not the same, I want the alert and stop execution.
    Now I am using Pre-Insert trigger in the master block but was a little surprised because of the sequencing behavior. My understanding was that RAISE FORM_TRIGGER_FAILURE stops execution of all the code after it even is it is in another trigger/procedure ..but now it appears that I was wrong :-(
    Any suggestions??
    RMA

  • VIs with different inputs and same functionality.

    Hi everyone
    I need to know how to implement a single VI (without using the copies of that VI) which takes different inputs at different instance but the inbuilt functionality being same.
    For example, I need to write data of COM1 to one excel at time instance T1
                          I need to write data of COM2 to another excel at time instance T2. (T1+n)
    According to above example the functionality is same i.e writing to excel file. But inputs are taken from different Port outputs. I tried concept of Polymorphic VIs but i found it id restricted to variation in data types. 
    Plese let me know whether I can use concept of Polymorphic VI in any way to solve this problem? Or completely different solution is there?
    Thanks in advance! 

    Hi divyaa,
    split functionality into several VIs:
    - one VI to communicate with your COM ports (one for each port?)
    - one VI to save data "in Excel"
    Call each subVI when needed (according to your T1/T2 parameters).
    I don't think polymorphic VIs will help you here!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for

  • Error when trying to search a sales order created by other user

    Hi. I'm running SAP HANA One PL 04. I have a problem when I log on with User1 and try to search for sales orders created by another user. I got an error message. I think the user has enough permissions.. Is there anything else I should consider?? Hop

  • What can I do to prevent the control key from not working in the future?

    Background: I bough an macbook pro about 1 year and 3 months ago and after 9 months of usage my control key stopped working for about an hour or two.This happened every time I turned on or awoke my mac from sleep (lid down).I sent it to an authorized

  • Connecting two R3 systems to BW

    <i><b>Current State:</b></i> We currently have two R3 test systems defined as source systems  to our BW test system.   All the infosources, infopackages and process chains are connected to only one of those R3 test systems. <i><b>Desired State</b></i

  • How to open 7.0 migrated Workbooks in 3.5 analyzer

    Hi, We have migrated BEx 3.5 workbooks to 7.0 version. We now want to execute these migrated workbooks in 3.5 analyzer, but we are not able to. Does migration of WBs create a new version of the existing WB or does it overwrite the migrated WB over th

  • I can't see my buddies

    one day i signed on, and my buddy list was blank, like everything was deleted, but i'm positive nobody was on my account. i'm not sure if it really did get deleted, or if something is blocking me from seeing my buddies. this has happened before, and