Data mismatch in Test and Prod environments

Hi,
we have a query in Test and Prod environments.this query is not giving same result both for Test and production. Please have a look and share your thoughts.
Select D1.C3,D1.C21,D2.C3,D2.C21
from
(select
sum(F.X_SALES_DEDUCTION_ALLOC_AMT)as C3,
O.Customer_num as C21
from
ESA_W_ORG_D O,
ESA_W_DAY_D D ,
ESA_W_SALES_INVOICE_LINE_F F
where
O.ROW_WID = F.CUSTOMER_WID
and D.ROW_WID = F.INVOICED_ON_DT_WID
and D.PER_NAME_FSCL_MNTH = '2012 / 12'
group by O.Customer_num)D1,
(select
sum(F.X_SALES_DEDUCTION_ALLOC_AMT)AS c3,
O.Customer_num as C21
from
Sa.W_ORG_D@STPRD O,
Sa.W_DAY_D@STPRD D ,
Sa.W_SALES_INVOICE_LINE_F@STPRD F
where
O.ROW_WID = F.CUSTOMER_WID
and D.ROW_WID = F.INVOICED_ON_DT_WID
and D.PER_NAME_FSCL_MNTH = '2012 / 12'
group by O.Customer_num)D2
where
D1.C21=D2.C21
and D1.C3<>D2.C3;I have done the following steps:
1. created one temporary table and searched for duplicate records because if any duplicates found am planning to delete those records. but didn't find any duplicates. searched for common column values using equi join condition. are there any possibilities in data mismatch apart from this?
2. this query is taking around 45 minutes to retrieve the output. I want to increase the performance of the query. so created Unique on 5 columns. but still taking the same time.
so uing ALL_ROW HINT and ran the query but still it's taking the same time.
so suggest me any thing needs to add to increase the performance?
appreciate your support.
Thanks.

If you can create a temporary database link between the two environments use DBMS_RECTIFIER_DIFF or DBMS_COMPARISON to compare the two tables' contents.
http://www.morganslibrary.org/reference/pkgs/dbms_comparison.html
http://www.morganslibrary.org/reference/pkgs/dbms_rectifier_diff.html

Similar Messages

  • ODI Objects Migration from Dev to Test and Prod Enviornments

    Hi ,
    Can someone please advise the order of the steps that have to be followed for ODI code migration form Development to Test and Prod Environments ?
    Below are the Details ,
    ODI Version : 11.1.1.6.0
    Development Environment : 1 Master Repository (M1) and 1 Work Repository
    Test Environment : 1 Master Repository (M2) and 1 Execution Repository
    Prod Environment : 1 Master Repository ( M2) and 1 Execution Repository
    Test and Prod environments are on the same master Repository.
    Thank you.

    Thanks for your prompt response !!!
    "If they are not in sync, import models, datastores, topology first & then import interfaces/projects"
    Do we import Models, data stores ? Since they are execution repositories we can only import scenarios right.

  • Data mismatch between 10g and 11g.

    Hi
    We recently upgraded OBIEE to 11.1.1.6.0 from 10.1.3.4.0. While testing we found data mismatch between 10g and 11g in-case of few reports which are including a front end calculated column with division included in it, say for example ("- Paycheck"."Earnings" / COUNT(DISTINCT "- Pay"."Check Date")) / 25.
    The data is matching for the below scenarios.
    1) When the column is removed from both 10g and 11g.
    2) When the aggregation rule is set to either "Sum or Count" in both 10g and 11g.
    It would be very helpful and greatly appreciated if any workaround/pointers to solve this issue is provided.
    Thanks

    jfedynic wrote:
    The 10g and 11.1.0.7 Databases are currently set to AL32UTF8.
    In each database there is a VARCHAR2 field used to store data, but not specifically AL32UTF8 data but encrypted data.
    Using the 10g Client to connect to either the 10g database or 11g database it works fine.
    Using the 11.1.0.7 Client to go against either the 10g or 11g database and it produces the error: ORA-29275: partial multibyte character
    What has changed?
    Was it considered a Bug in 10g because it allowed this behavior and now 11g is operating correctly?
    29275, 00000, "partial multibyte character"
    // *Cause:  The requested read operation could not complete because a partial
    //          multibyte character was found at the end of the input.
    // *Action: Ensure that the complete multibyte character is sent from the
    //          remote server and retry the operation. Or read the partial
    //          multibyte character as RAW.It appears to me a bug got fixed.

  • How to set up DEV, TEST and PROD environment?

    We have used BI publisher Enterprise (standalone), Oracle BI Publisher 10.1.3.4.1. Our admin set up DEV, TEST and PROD environment based on the folder. For example, there is DEV folder, TEST folder and PROD folder. Developer is developing reports under DEV folder. Under TEST and PROD folder, there are many sub-folder based on the login user role. Sometimes a report has to be assigned to a multiple sub-folder under PROD. So our admin create symbolic links in the Linux box which BI server is located. That way, if a report is updated, there is no need to update the report in all sub-folder.
    The issue I have is we are not allowed to touch any files under TEST/PROD folder. Only admin will move the report from DEV folder to TEST/PROD folder because those links admin created might be broken. However, as a developer, we still have permission to delete/rename/copy report under those restricted folders. Yesterday one report under PROD has been renamed by a developer. And admin complains because the links he has created not working anymore. Just wonder if admin doesn't allow developers to touch the reports under those folders, is there a way to remove the write permission on those folders? Also do you think this is a good practice to set up DEV, TESDT and PROD environment? Any input will be greatly appreciated.

    We have used BI publisher Enterprise (standalone), Oracle BI Publisher 10.1.3.4.1. Our admin set up DEV, TEST and PROD environment based on the folder. For example, there is DEV folder, TEST folder and PROD folder. Developer is developing reports under DEV folder. Under TEST and PROD folder, there are many sub-folder based on the login user role. Sometimes a report has to be assigned to a multiple sub-folder under PROD. So our admin create symbolic links in the Linux box which BI server is located. That way, if a report is updated, there is no need to update the report in all sub-folder.
    The issue I have is we are not allowed to touch any files under TEST/PROD folder. Only admin will move the report from DEV folder to TEST/PROD folder because those links admin created might be broken. However, as a developer, we still have permission to delete/rename/copy report under those restricted folders. Yesterday one report under PROD has been renamed by a developer. And admin complains because the links he has created not working anymore. Just wonder if admin doesn't allow developers to touch the reports under those folders, is there a way to remove the write permission on those folders? Also do you think this is a good practice to set up DEV, TESDT and PROD environment? Any input will be greatly appreciated.

  • How to migrate siebel BI report to TEST and PROD from DEV without manually?

    Hi,
    i have developed siebel BI reports in DEV environment. Now want to migrate in test and prod. Is there any automated process available or need to manually. Adding reports to views and uploading templates etc.
    Thanks,
    lax

    Hi,
    try this online training: http://www.oracle.com/technology/obe/admin/owb10gr2_gs.htm.
    Regards,
    Detlef

  • How to Setup 3 different environments - Devp. Test and Prod. on same server

    Hi,
    We have the following configuration -
    Server 1 - Database - Oracle 9i Release 2
    Server 2 - Middleware - Oracle 9i AS Release 2
    Front-end - Developer 9i (FOrms 9i, Reports 9i)
    All the servers and PCs have Win 2K.
    We have only one Application Server, on which Forms Services and Business Intelligence have been setup.
    Can we have three environments - Development, Test and Production configured on the same Application Server (Server 2) ?
    What we expect is like this -
    User will specify URL of starting form on his broswer and as per the URL, the application will run form from one of the three environments mentioned above.
    Thanks

    Hi,
    Most of the instructions you have mentioned , already was configured.
    except for the tmp and temp directories.
    And even I changed them from System Properties >> Advanced >>  Environment Variable under User variable for Administrator and System variables , the problem still exist Os User and Group Check .
    I attach the conf_VIS.txt file because I thought it may help.
    http://www.4shared.com/document/1bS6aio5/conf_VIS.html
    Actually I am not sure about the rapid install patch version but I have download the EBS R12 from the following link and I think it contains the recent installer version
    Link >> Oracle E-Business Suite Release 12.1.1 Media Pack for Microsoft Windows (32-bit)
    http://edelivery.oracle.com/EPD/Download/get_form?egroup_aru_number=11250138
    Note If you still can not open the link just suggest a suitable file hosting and I will upload to you. here I used 4shared and hoped it suits you.

  • Data mismatch between TABLE and Std. Extract str. (AFPO & 2LIS_04_P_MATNR)

    Hi,
    I am getting data mismatch in ECC standard table and ECC standard extract structure. Please help me.
    I am using 2LIS_04_P_P_MATNR data source (standard extract structure).
    <b>I have following data in ECC Table (AFPO - Order Item).</b>
    AUFNR (Order Number) --> 4000460
    PGMNG (Total planned quantity)  --> 0
    PSMNG (ORDER QTY) --> 2000
    <b>Extract Structure is showing following data.</b>
    AUFNR (Order Number) --> 4000460
    PGMNG (Total planned quantity)  --> 2000 (It should be zero)
    PSMNG (ORDER QTY) --> 2000
    I have checked with many other order numbers. <b>The extract structure in RSA3 is showing correct values only if PGMNG is non-zero values. If PGMNG is zero, then it is automatically assigning PSMNG value.</b>
    Is this common? I want to display correct values for PGMNG from AFPO Table. Why this mismatch between table data and extract data. I have done  all required steps refreshing data (deleting setup tables, filling set up tables etc.).
    pls suggest. Poinsts will be assigned to every useful answer.
    Thanks in advance.

    Hi Avneet,
    I have a similar problem where in AFPO shows value 1000 in PSMNG field and 1200 in RSA3 for extractor 2LIS_04_P_MATNR.
    I have found that the standard feature of the extractor extracts the data at the time of release of process order. If the process order is changed after the release then the extractor will not picup the chagne.
    Ex: AFPO value 1000 ---BI Value 1000
    Now released in ECC
    AFPO value 1000 ---BI Value 1000
    In ECC value changed to 1500 after the release. BI will not pickup the change.
    Extractor is pulling the data from MCAFPOV table. You can check the values, there it matches with RSA3 values.
    I was just going thru forums for the solution. After i found the solution. I am just updating it.
    Hope it helps you.
    Thaks
    Srikanth

  • Data Mismatch between ODS and Infocube

    Hi,
    I have got data mismatch between from ODS to Infocube. In ODS for one Sender Cost Centre, there is only one Company Code. In Infocube it is showing many.For ODS datasource is 0HR_PT_1. In Updaterules of ODS, Company Code was assigned to Company Code. But in Infocube should  I assign CompCode to Comp Code or any other Characteristic as Master Data Attr of. Plz suggest us.
    It is very urgent.

    post ur  BW related querures in BW forum

  • Dunning report difference in dev,testing and prod server in sap

    Hi all..
    we are facing a problem while executing the tcode f150 in dev,tsting and production server.
    while giving the same run on and identification,the different parameters are coming and the status is geting changed.
    in ker,the process is getting compelted,in testing the process is getting sceduled,complete but getting the status as"process completed but job deleted".
    and in production,the status like testing server is coming but some tabs(from the too bar where delete,etc lies)are not getting to see,its not showing up.
    please tell me if we can check it through some tcodes,or eliminate the eorr.
    we are not able to locate the cause behind.thanks in adv.

    Hi chandu,
    In my previous Organisation we got exactly the same landscape for BW as you described.BCS(BAYER COPSCIENCE LTD) operates a BW System Landscape with one centralized  Global Development System and three regional Quality Assurance and Production Systems located in Europe, Asia Pacific and Americas. This Landscape is to ensure consistent data models to be available in all regional systems as well as to minimize development efforts and make use of respective synergies.
    This is perfectly working  for BCS ,and I think, this is the most approriate way of handling of resources.
    Regards
    CSM Reddy

  • Error while generating export datasource in Test and Prod system

    Hi experts,
    I tried to generate export datasorce on a cube in teh testing system so that i can use this as a datasource for another cube. I did this so that i can transport all teh relevnt objects from D to T. But Iam gettin teh following erro msg
    <b>System setting does not allow changes to be made to object ISTD 80CRM_PRI.</b>
    while Prod system produces teh follwoing error msg
    <b>Changes to Repository or cross-client Customizing are not permitted</b>
    <b>Choose 'Display object' or 'Cancel'.</b>
    After i have done this and when i go to the context menu of teh infocube i can see maintain export datasource option.
    Also I couldn't see the infosource generated in Infosources ( FYI I have already done display generated objects under settings)
    Can anyone tell me how to proceed further.
    Thanks,
    DV

    Hi DV,
    Generally export datasource are not included in the request from the test server. It gets generated automatically when (ODS,Cube) based on which the datasource s transported to production / quality .
    I think solution should be try not to include export datasource, infosource ,transfer rules to request from dev server.
    Hope that helps.
    Regards
    Mr Kapadia

  • OBIA data mismatch in EBS and OLAP

    hi all,
    iam facing a situation in which in the date in OLAP end is coming different and the data in EBS end is coming different.So is it in the informatica mappings the error is coming or there is some other reason.
    Please help.

    If you can create a temporary database link between the two environments use DBMS_RECTIFIER_DIFF or DBMS_COMPARISON to compare the two tables' contents.
    http://www.morganslibrary.org/reference/pkgs/dbms_comparison.html
    http://www.morganslibrary.org/reference/pkgs/dbms_rectifier_diff.html

  • Export Import to Maintain Test and Production Environments

    We have developed an application using Locally built Database Providers in Oracle Portal 9.0.2.6 which is installed to 2 schemas, has 5 different providers, and over 100 Portal major components (Forms, Reports, and Calendars) and over 200 minor components (LOV's and Links). We have used export/import transport sets with some luck, but it is a struggle becuase the import procedures are not very robust. Many things (such as missing LOV's, corrupt components, preexisting versions, etc, etc.) can cause an import to fail. And the cleanup necessary to finally achieve a successful import can be very time-consuming.
    Having a robust import mechanism is very important to our strategy for keeping installed (our own and clients') portal instances up-to-date with our latest release. Some of the enhancements that would make it much easier to develop and maintain Portal applications include:
    Within the Portal:
    1. Ability to copy an entire provider within the same portal (rather than one component at a time).
    2. Ability to change the schema to which a Provider is associated.
    3. When copying a component from one provider to another, the dependent items (i.e. LOVs and Links) should be copied to new second provider as well. (i.e. rather rebuilding each LOV in each provider and then editing each form to point to the new LOVs)
    Transport Sets:
    4. Should allow for changing provider names and provider schema, and global component name changes, and resetting unqiue id's on import (to create copy rather than overwrite).
    5. Should allow the option to ignore errors and import all components which pass pre-check (rather than failing all components if all items do not pass pre-check).
    How are other Portal Developers dealing with installing and then rolling out new sets of Locally built Database Providers from Development environments to Production? Are there any whitepapers on the best practices for replicating/installing a portal application to a new portal instance and then keeping it updated?
    Oracle, are any of my wish-list items above on the future enhancement lists? Or have others figured out workarounds?
    Thanks,
    Trenton

    There are a couple of references which can be found on Portalstudio.oracle.com that are of some use:
    1. A FAQ for Portal 9.0.2.6 Export/Import http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/DEPLOY_PERFORM/9026_EXPORT_IMPORT_FAQ_0308.HTM
    2. Migration Instructions by Larry Boussard (BRUSARDL)
    3. Migrating Oracle Portal from Dev Systems to Production Systems bt Dheeraj Kataria.
    These are all useful documents for a successful first-time Export-Import. However, the limitations and lack of robustness I listed in my first post, make the process so time-consuming and error fraught as to not be a practical development strategy.

  • PPDS production order dates mismatch between APO and R3

    Hi Friends,
    We are facing one problem regarding production order date mish match between R3 and APO systems specific to a product.
    The product is planned in PPDS and the order automatically transfer to R3 through online CIF.
    PPM has got two operations 0010 and 0020 and activity relationships are like this:
    P(0010) - P(0020) Start - Start relation ship
    S(0010) - P(0010) End - Start relationship.
    In PPDS dates are shown as :
    on operation 0010 the start/end  dates are shown as  08.15.09 to 08.22.09
    on operation 0020 the start/end  dates are shown as 08.15.09 to 08.22.09
    Overall order start date is  08.15.09
    Overall order finish date is 08.22.09
    and in R3 dates are shown as:
    on operation 0010 the start/end  date are shown as  08.15.09 to 08.22.09
    on operation 0020 the start/end dates are shown as 08.22.09 to 08.29.09
    Overall order start date is  08.15.09
    Overall order finish date is 08.29.09
    The order is off one week (APO vs R3) with start and finish dates.  
    if we change DS Board settings to ignore internal relationships manually then the dates are matching exactly in APO and R3.
    We want the production order dates to be matched without manual intervention.
    Could some one please provide some hints on what is happening here and how to correct it.
    Thanks.
    Krish

    Hi Friends,
    Thanks a lot for your valuable replies in this regard.
    Actually this problem is in production environment and it took some time to test the problem with the master data modifications
    you suggested.
    As DB and Siddhrath mentioned, the problem was with routing definition. There is no parallel sequence maintained in the routing but there is start-start relation maintained in APO PPM.
    We corrected the routing definition and checked the order dates. Now the dates  are matching in R3 and APO.
    I am awarding DB and Siddharth each five points in this regard.
    Once again thank you all for your time and valuable replies.
    -Regards
    Krish.

  • Data mismatching between BW and R/3

    Hi BW Experts,
    We uploaded Profit Center Accounting Data (It is a Part of CONTROLLING) on 10-04-2008.
    And we run the delta daily, it is running fine....
    Yesterday we checked the data for one GL Account in both R/3 and BW Systems, but data is not matching.
    There are 4 line items (4 Different Amounts) in R/3 side, but we got only 3 line items (3 Amounts) in BW side.
    One amount (line item) was missed.
    How can i get the missing value in BW side.
    We are not using ODS...
    It is very urgent.
    PLease can anyone tell me the solution.
    Regards
    Anjali

    You should do the following checks:-
    1. RSA3 - Extractor Checker
    2. RSA7 - Delta Queue Monitoring - to check what is entering the delta queue
    (hopefully these would be ok, if there are not much customisations etc..)
    3. PSA - Check if there are any selection conditions stopping data from coming to PSA, If you find all data here perfect, then there has to be some issue with the staging etc.
    4. If you are on Bi7.0, switch on the temp. storage and then execute your DTP, so that you can check the processing by record.. also check the DTP filters - which might be stopping some data to be processed.
    5. Transformation (transfer rules/update rules) - Check for some routines - start routines, end routines which may stop some data to be processed.
    6. Last but not the least, you should also check if there is some aggregation that happens in the cube which stops you from seeing the data distinctly.
    Hope this helps.
    Cheers,
    Sumit

  • Data mismatch between dashboard and bw report

    Hi expert,
    Data is mismatchin between dashboard and BW report of .I am using SAP BW connection ,
    Dashboard screen shot
    BW Query output
    What is the issue can you please suggest...

    Hi Ganapathy,
    Please check the Prompt filter and Variables which you are passing to get the output in Dashboard and BW.
    It seems that some filters are missing in dashboard.
    Thanks
    Arvind Shukla

Maybe you are looking for

  • File Adpater: Variable Substitution

    Hi experts, I have a few questions regarding the variable substitution in the File-Adapter. I want to have it for my filename. For the variable substitution I can only take elements from the target structure, is that right? I know that I can take att

  • Brush Preview issue with Intuos 4 and CS4

    Hi sorry if this has been addressed before but I couldn't find it anywhere. When using Illustrator I can't get my brush to preview in real time as I draw. It has a little 'x' next to it and I had this problem before i think but i can't remember what

  • UDF or FMS Query Question

    Hi, I have a UDF in Item Master which I call it Part Number. I don't want to do an auto FMS for this UDF in marketing document row when I select an item. However, I want to type in the Part Number (just like how we are able to type in the item code)

  • SSI with Servlet... tag question

    I've been trying to get the <SERVLET NAME=... tag working with WL5.1. After           finding that the wall is indeed harder than my head after beating on it for           a while, I need to cry for help. Can anyone spot what step I've missed? I     

  • Why can't I access itunes store?

    i can't access the itunes store on my pc using windows 7. it works on my home computer but my pc allows me to download shows