Replication environment data inconsistency...

Gurus,
I have multi master replication environment there is one schema SGI on two databases LLU and BER data in LLU is correct and data in BER is incorrect.
I need to drop SGI schema in BER and import export dump from LLU, but I don't want to break replication environment and rebuild it.
I have checked DBMS_RECTIFIER_DIFF given in metalink but somehow could not find concrete example that would help me use it correctly.
Does anyone have any idea about it? Or any other suggestion on how can I achieve my desired goal?
Please advice.

Gurus,
I have multi master replication environment there is
one schema SGI on two databases LLU and BER data in
LLU is correct and data in BER is incorrect.
I need to drop SGI schema in BER and import export
dump from LLU, but I don't want to break replication
environment and rebuild it.
If you drop the schema you will destroy your replication environment anyway. In that case you have more work to do in order to cleanup the replication environment at your other master site.
I don't think you want to do that!
My personal opinion is that you should just remove from the replication environment the master replication objects that belong to the schema you want to refresh. Refresh the data (using import utility) and then create the replication objects again.
I don't say it is easy, but I think it is the right way to go. Don't be lazy. Follow the rules written in the docs and you should be fine.
The high level picture of the steps you have to do is:
- Make sure there are no deferred transactions waiting to be applied. If there are, deal with them first.
- From your master definition site suspend the replication activity (using dbms_repcat.suspend_master_activity)
- From your master definition site, remove the master rep objects you want to refresh. (using dbms_repcat.drop_master_repobject)
- Import the data in SGI BER
- From your master definition site, create the master rep objects again using (DBMS_REPCAT.CREATE_MASTER_REPOBJECT and make sure you use copy_rows => FALSE and use_existing_object => TRUE)
- Resume the master activity (using dbms_repcat.resume_master_activity)
and that is it.
And again, make sure you don't have deferred transactions before you start this.
Read the docs until you fully understand what you have to do.
In order to feel more comfortable, I would suggest you to test this approach first.
I hope my advice will help you to find the right approach.
P.S. Hermant's suggestion is also worth considering (the link he provided). The approach that I mentioned may require more work from your side, but it also gives you more control and flexibility so you would know what is going on in every moment.
Message was edited by:
tekicora

Similar Messages

  • If the production database i down, how to switch to standby database using the replication environment in ASsE

    This question is in Business Continuity Plan (BCP)
    if the production database is down, how to switch to standby database using the replication environment in ASE

    Assuming you're referring to Sybase's Replication Server (repserver) product ...
    Repserver moves data changes from one database to another.
    Repserver can't 'switch' your application to use a different database; something outside of repserver has to do the actual switching.
    If your application happens to be connecting to your ASE via Sybase's OpenSwitch (or similar) product, then OpenSwitch would be responsible for switching your application to use the standby database.  Whether you have OpenSwitch perform the switch automatically, or via a manual command, is up to your BCP requirements.
    If your application connects directly to ASE then you'll have to decide how/when to get your application to switch to the standby database.  In the simplest form this would require shutting down the application, making sure replication is quiesced (ie, all in-flight transactions have been applied to the standby database), modify the interfaces/sql.ini file (used by your application) to point to the standby database, make any customized changes to the standby dataserver/database (eg, unlock application logins, take databases out of 'dbo use only' mode, etc), and startup the application (at this point it should connect to the standby database per the changes to the interfaces/sql.ini file).

  • Character set conversion in advanced replication environment 10g

    we have a replication environment with 5 databases using oracle 10g. one master definition site, 4 master sites. we want to change database character set in replication environment.
    Does somebody has experience about database character set conversion in replication environment.
    Thanks

    842106 wrote:
    Hi All,
    I am currently facing a strange issue while loading a csv into oracle BE table.
    The data is coming as Técnicas but I need to store it as Técnicas . I think there is some character set issue for which data is coming as in distorted manner .
    I am using oracle 10G enterprise edition .
    Any help is greatly appreciated.How do I ask a question on the forums?
    SQL and PL/SQL FAQ
    what do you observe when you inspect the actual content of the CSV file?

  • Data inconsistency: posting with restricted transaction type (FAA_POST047)

    Hi colleagues!
    I have the following error:
    Data inconsistency: posting with restricted transaction type
    Message no. FAA_POST047
    Diagnosis
    You are trying to post in company code 1000 with transaction type 130 in ledger group 0N. According to table TABWA, this transaction type is limited. Nonetheless, according to your entries, you want to post to area 11.
    System Response
    Using limited transaction types is obsolete and would lead to an inconsistent posting in this situation. The system rejects the posting.
    Procedure
    Use a transaction type that is not limited. And, if possible, choose the ledger group and/or depreciation area on the initial screen.
    According to specific accounting we shouldn't post to one of the depr. area, so most of the tr.types are restricted to post to all areas except this one.
    Because of this, posting from MM with acc.assignment 'A' is impossible - I have this error.
    Any ideas how to solve?
    Thanks in advance

    Hi Anton
    This looks like your transaction type -130 is limited to post only in ledger group-0N as per the transaction type configuration. Due to which system is unable to post all the ledgers and hence this lead to inconsistency.
    Please verify the transaction type 130- in configuration T code - OAYA and see if it is restricted by depreciation area (eventually allow to post only ledger group- 0N.
    Tcode - OAYA (Limit Transaction Types to Depreciation Areas)
    please verify and let us know the update. hope this helps
    Best Regards
    Jomon

  • How to fix calendar date inconsistency

    Hello,
    I have a problem with closing material period due to inconsistency with actual calendar date. Last closed period in material master of specific cc is 07.2009.(It is test system with IDES database). How to close remaining periods to 01.2012. I can not do it in mmpv.
    Regards
    Sylvester
    Moderator messaage: I cant see any proof for the calendar date inconsistency that you mentioned in the subject.
    It is the same question about month end closing which was answered many hundred times in this forum.,
    Please search the forum before asking the same questions again. Read the forum rules before posting.
    thread locked.
    Edited by: Jürgen L. on Jan 19, 2012 10:42 PM

    Hi, If it is IDES follow below step, but never try this in Production system,
    First check in OX06 & OBY6, "Fiscal Year Variant" is maintained as K4,
    Then Use T-code OX18, delete all the assignments of your company code & plant,
    Now use T-code OMSY enter the year & period (2012 & 01)
    Noe again Use T-code OX18, and again do the assignments of the company codes & all plants

  • IDOC data inconsistency

    Hi experts,
    i have an issue that there is  data inconsistency in IDOC( delivery address created with respect to PLANT instead of STORAGE LOCATION).
    now i want to rectify the issue by checking the mapping in the program , the IDOC is created by standard procude ( thorough ME21N).
    can anybody tell me how can i find the program/interface name where the logic is written for filed mapping for IDOC
    IDOC type ORDERS05
    Message type ORDERS
    Thanks
    Niru

    Hi ,
    I have put a breakpoint inside the FM IDOC_OUTPUT_ORDERS and try to reprocess the idoc from WE19, but the control not stoped at Break point .
    assume below is validation inside the FM makng the issue.
    IF pekko-werks NE space AND
          pekko-kunnr EQ space AND
          pekko-emlif EQ space AND
          pekko-adrn2 EQ space AND
          pekko-adrnr EQ space.
         CLEAR int_edidd.
         CLEAR e1edka1.
         int_edidd-segnam = 'E1EDKA1'.
         e1edka1-parvw = 'WE'.
    *- if Third party order, send customer number of first S.O. item -----*
         PERFORM fill_kunnr_header.
         e1edka1-lifnr = pekko-werks.
         lv_prog = 'SAPLEINM'.
         PERFORM fill_e1edka1_we_gln IN PROGRAM (lv_prog) IF FOUND.
         PERFORM edka1_fuellen.
    * Call Method PROCESS_IDOC_SEGMENT (BADI MM_EDI_ORDERS_OUT)
         PERFORM badi_process_idoc_segment.
    * Call Customer Function 002 (enhancement MM06E001)
         PERFORM customer_function.
    *   Außenhandelsdaten
    *   Partnerzusatz für IMPINV01 ab Release 4.0A z.B. Zoll-ID-Nummer
         IF control_record_out-idoctp(6) EQ 'IMPINV'.
           PERFORM fill_e1edkaz.
         ENDIF.
       ENDIF.
    *- Manuelle Anlieferungsanschrift, wenn in allen Positionen gleich ----
       IF pekko-adrnr NE space AND
          pekko-kunnr EQ space.
         CLEAR int_edidd.
         CLEAR e1edka1.
         int_edidd-segnam = 'E1EDKA1'.
    can you please tell me how can control stoped at this code?
    regards
    niru

  • Migration CC and FF data from Virsa 4.0 to GRC 10.1 Data Inconsistency

    Hello Guru's
    We have done Migration from VIRSA 4.0 Compliance Calibrator (CC) and Firefighter (FF) data from  to GRCAC 10.1 system.
    After Migration, data inconsistency is coming while validation.
    Followed standard sap migration guide virsa 4.0 to 10.0
    Patch level  - GRC AC 10.1 system
    SAP_BASIS
    740
    0008
    SAPKB74008
    0000
    @6H\QAchieved with Support Package@
    SAP Basis Component
    SAP_ABA
    740
    0008
    SAPKA74008
    0000
    @6H\QAchieved with Support Package@
    Cross-Application Component
    SAP_GWFND
    740
    0008
    SAPK-74008INSAPGWFND
    0000
    @6H\QAchieved with Support Package@
    SAP Gateway Foundation 7.40
    SAP_UI
    740
    0010
    SAPK-74010INSAPUI
    0000
    @6H\QAchieved with Support Package@
    User Interface Technology 7.40
    PI_BASIS
    740
    0008
    SAPK-74008INPIBASIS
    0000
    @6H\QAchieved with Support Package@
    Basis Plug-In
    ST-PI
    740
    0000
    0000
    SAP Solution Tools Plug-In
    SAP_BW
    740
    0008
    SAPKW74008
    0000
    @6H\QAchieved with Support Package@
    SAP Business Warehouse
    GRCFND_A
    V1100
    0006
    SAPK-V1106INGRCFNDA
    0000
    @6H\QAchieved with Support Package@
    GRC Foundation ABAP
    GRCPINW
    V1100_731
    0006
    SAPK-11506INGRCPINW
    0000
    @6H\QAchieved with Support Package@
    SAP GRC NetWeaver Plug-In
    IW_FNDGC
    100
    0002
    SAPK-10002INIWFNDGC
    0000
    @6H\QAchieved with Support Package@
    SAP IW FNDGC 100
    WEBCUIF
    747
    0005
    SAPK-74705INWEBCUIF
    0000
    @6H\QAchieved with Support Package@
    SAP Web UI Framework
    IW_CBS
    200
    0009
    SAPK-20009INIWCBS
    0000
    @6H\QAchieved with Support Package@
    SAP IW CBS 200
    IW_CNT
    200
    0009
    SAPK-20009INIWCNT
    0000
    @6H\QAchieved with Support Package@
    SAP IW CNT 200
    IW_SCS
    200
    0009
    SAPK-20009INIWSCS
    0000
    @6H\QAchieved with Support Package@
    Screen Scraping
    POASBC
    100_731
    0001
    SAPK-10201INPOASBC
    0000
    @6H\QAchieved with Support Package@
    POA Shared Business Components
    Patch level VIRSA 4.0 system
    GRCPINW
    V1100_731
    0008
    SAPK-11508INGRCPINW
    SAP GRC NetWeaver Plug-In
    Kindly let us know after migration, any sap notes need to install.
    Regards,
    karunakar

    Hello Prasant,
    We have migrated VIRSA 4 0 to GRC 10.1 system, after migration we have below issues.
    1. In table GRACSODRISK (not able to see the medium risk, but in NWBC screen (Access Risks) we are seeing the medium risks.
    2. In Function Permission.txt file ( only AND is coming for all, but some OR is avaiable in VIRSA 4 0 system.
    And for gap (it automatically taken AND
    Example:
    AM02
    FB02
    F_BKPF_BED
    ACTVT
    2
    AND
    0
    AM02
    FB02
    F_BKPF_BED
    ACTVT
    3
    AND
    1
    AM02
    FB02
    F_BKPF_BED
    BRGRU
    AND
    1
    AM02
    FB02
    F_BKPF_BEK
    ACTVT
    2
    AND
    0
    AM02
    FB02
    F_BKPF_BEK
    ACTVT
    3
    AND
    1
    AM02
    FB02
    F_BKPF_BEK
    BRGRU
    AND
    1
    kindly suggest.
    Regards,
    Karunakar

  • Comparision between Multimaster replication and data guard

    Hi,
    I have some questions regarding Multimaster Replication and Data Guard. Like
    *1.)* I have a web site having database in oracle 10.2.0 and multimaster replication configured on it. But whenever i need to change the structure of the tables i
    need to stop replication. So my web site is unavailable but my first priority is availability. So will it be useful for me to configure data guard.
    *2.)* I have configured data guard for testing . My Database is Named as Gard and physical standby database is like stan.
    it is working fine.
    suppose my main database server get corrupted i have no option to start main database server. Now i left with only standby server how i can start standby server
    as database main server.
    *3.)* Is there any if main database stop working Standby database start working as main without dba intervention.
    Thanks
    Umesh
    Edited by: Umesh Sharma on Jan 14, 2009 4:17 AM

    Hi Umesh,
    first of all you should be aware that Dataguard and Replication are two completely different things.
    While the database where you replicate to is always up and open in read write mode, a physical standby can either be recovering or open in read only mode.
    1.) I think from what you are telling you probably should consider using dataguard with a logical standby database, but be aware that there will be some limitations regarding datatypes.
    2.) you can do a failover or a switchover, depending on your database version switchback may not be possible
    3.) have a look at dataguard broker, you can use it to automate the failover
    Best regards,
    PP

  • Multiversions in Materialized View Replication Environment

    Dear friends
    In my company we have a matarialized view environment where A materialized view, in snapshot site, contains a complete or partial copy of a target master - master site.
    This environment is in Oracle 8i Enterprise Edition and now we are increasing it. We are shrinking our budget and then i'm research an solution more cheaper, i found Oracle 10G Database Standard Edition One, an solution desinged for small to medium environments. My thought is to use Oracle 10G SE1 for news snapshot sites.
    Can someone talk about the user of differents versions (8i mastersite X 10G snapshotsite) in a Materialized View Replication Environment, is it possible? must i upgrade all my environment replication for 10G or to use multiversions ?
    Thanks !!

    10g to 8i can work, assuming
    - 8i = 8.1.7
    - You are applying at least the 8.1.7.4 patchset to the master (8i) or you are applying the latest patchset to the slave (10g). Realistically, you probably want to do both.
    If you are talking about using the standard edition, I assume that you are only doing basic replication, not multi-master replication. I also assume you are aware of the limitations on hardware that come with Standard Edition 1-- I don't recall if you are limited to machines that have a capacity for 2 or 4 CPU's. Also, be aware that Oracle considers multi-core CPU's as multiple CPU's.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Credit data inconsistency

    Dear Experts !
    Please help me in the below credit management scenario.
    User observed some inconsistent data in transaction -VKM1 with respect to the FD33 screen . I checked the data in RVKRED88 report and found that open order value of the sales order-XXX was much lesser than the credit value of the same sales order in VKM1 transaction.
    Could you please tell me whether the open order value in the report RVKRED88 is correct or that shows in VKM1 is correct and how to rectify this data inconsistency.
    Thanks in advance !
    Sandeep

    Dear Sandeep,
    There are two programmes to correct the Credit data inconsistency
    First use the Program RVKRED77. the you can use the second Program RVKRED88. in SE38 transaction enter the programme then click on execute or press F8
    There system will ask you to maintain the selecction criteria.
    RVKRED77
    Credit account
    Credit control area
    RVKRED88
    Credit account
    Credit control area
    Document number
    Best Regards,
    Mh

  • Exception message 62 - Master Data Inconsistant

    I'm getting the referenced exception message when generating an MRP run with scheduling value of "lead time scheduling and capacity planning".  I've done consistency checks on all master records - routings, work centers, etc - and all have come back clean.  Anyone have any idea why this may be happening?
    Thanks!
    Bob

    Hi,
        62 Scheduling: Master data inconsistent Check master data !
    Remove "In House Processing Time" from the Material Master MRP2
    view. Ensure that the Production Version & Routing are correct. Run
    MPS/MRP manually once corrected.
    Regards
    Sunil

  • Database recovery in a replication environment

    Hi everybody,
    I've configured a replication environment with Oracle 11g (Multimaster synchronous replication). Apparently it works fine, when replication is started any change in a table that belongs in a node is replicated in the rest of the nodes.
    One of the tests I'm making is the following: Try to see what happens if one of the nodes drops. Meanwhile one of the nodes is no avalaible, any modification in an avalaible node is not allowed (as I expected). I'm trying to see if the database service can be avalaible meanwhile a node is missing, although the replications is not running.
    What I've experienced is replication cannot be suspended until the the node was down is restarted.
    Is this the usual behaviour or can I set any parameters to avoid this? In other words, is it possible the database service is running meanwhile one of the nodes is down? The application I'm working on needs this type of replication, buy also needs the service is running always?
    What can I do to make possible the service is running even when a node falls?
    Thanks in advance

    Yes, I've considered an asynchronous replication, with a short period of time (it should be almost synchronous).
    I've tested that, if one of the nodes drops, database service is not available. User intervention is required to stop replication and let the system go on without replication.
    I could be a great idea that, althoug replication is not working, database service is still running and, when replication is restarted, system continue as in the beginning.
    When I test the asynchronous choice I'll answer this post.
    Best wishes,
    Payo

  • Data inconsistency problem TABLES: VBUK/VBUP vs VBAK/VBAP

    Hi,
    I have the fun task of trying to solve a data inconsistency problem caused by a faulty network connection between R/3 and our SQL server.
    To add to the fun my knowledge of the outbound systems is pretty close to zero.
    Apparently our warehouse was booking stock and after booking they process the STO NO in VL10B.
    While posting the outbound in VL02n some of the lines did not generate.
    So they deleted the outbound and tried again.
    After they finished playing around and our connections acted funky, I now have data for the outbound in tables VBUP/VBUK (Outbound status tables), but seemingly nowhere else.
    There is no data in ekpo, lips, vbak or vbap.
    So the question is:
    How on earth do I get rid of these entries safely, or otherwise try to generate the missing data?
    Just changing the statuses to completed did not work as they end up having problems when trying to pick more stock on articles that had entries on the missing outbound.
    Any other ideas?
    What other tables do I need to check for entries?
    Thanks
    Charl
    Message was edited(typos) by:
            Charl Holtzhausen

    Hi,
    With the help of SAP we solved the problem.
    Apart from VBUP/VBUK there was data in table VBBE (stock movement).
    Deleting the entries in these cleared the problem.
    It was important to check that further STOs were not adversely affected, which it seems it was not.
    Regards

  • Data Inconsistency on MI Client

    Hi,
    I am using MI 7.0 SP13 Client. I have deployed MAU3.0 and I am facing major Data Inconsistency Issues.
    On Sync, it gives error - Problems during syncronization.
    On the middleware, in Merep_mon, with my intervention, some of the queues are in finished and some in ignore state and this is the deadlock I have achieved for now.
    I am thinking of following this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/4c/7862a6642eab40ac7abf34e9048c93/frameset.htm
    Following this I want to achieve an initial download of the whole data set.
    This link talks about manually deleting the data files from the client and this is where I have some confusion.
    There are a lot many files in the data folder in root MI folder. Shall I delete everything in it? Or what exactly is to be deleted?
    And what happens if I choose - Refresh Replica Database - as suggested in that link without deleting any data from the client?
    (And will this be a good option, if I uninstall the application and reinstall it again and then Sync for the data - I think it should work but I dont want to follow this path for now)
    Ankur

    Hi Ankur,
    the initial question is: why do you have anything in ignore state?
    As long as you can sync and the sync does not give major exceptions, you can follow the path and delete the local dataset with the button on the settings screen. This will give you a complete new dataset from the middleware.
    If you get an exception with every sync you do, then you can either reinstall the device or delete the files. Well, try to delete the files and play a little with it, you get the feeling about the correct files soon. But as I said: as long as you can sync and just have data inconsistency between backend and lcient - you can reset the client persistence form the settings screen of MI. But again: why do you have this? It must be a major problem in ypur enhancements then, cause normal MAM does not have these issues in normal case!
    Hope this helps.
    Regards,
    Oliver

  • Data inconsistency: Parallel depr. area is not posted

    Dear friends,
    When user posting depreciation
    Depreciation areas are not posted for asset class 2000 in conpany code AO01 its not updated, i am getting an error when posting a fixed asset on above class when using t.code ABZON
    ERROR IS  Data inconsistency: Parallel depr. area is not posted
    may i know what is the reasion?
    Please help me on this issue
    Thanks in advance

    Go to OAYZ, select the required Asset Class and deactivate the depreciation area.
    thanks
    G. Lakshmipathi

Maybe you are looking for