Database Management Copy Data - Replace Option

Can anyone provide info on how this works? we are using 9.2.1
When using database management to copy data, when using the replace option, even if we only pick a few accounts to copy, it is erasing all data in the Target scenario. Does the replace option clear all data by default before copying in the selected data?
we tried to use the Merge option but apparently that doesn't always work for some reason-could be user error. not sure.
Thanks
Wags

Hey Wags- this is expected functionality of the Replace method. It clears all custom/account data for the load entity/year/period combo prior to do the load. For example, if there is P&L data in entity A in Jan 2010 and you load $500 to it in a Sales account, all the rest of the P&L data will be cleared and you'll just have $500 in the Sales account.
Here's stuff from the guide:
Several options are available for loading data into an application. You can merge, replace, or
accumulate the data into the application. You select one of these options for each load process.
Note:
You cannot load calculated data into an application.
Merge
Select this option to overwrite the data in the application with the data from the file.
For each unique point of view that exists in the data file and in the application, the value in the
data file overwrites the data in the application.
Note:
If you have multiple values in the file for the same point of view, the system loads only the value
for the last entry.
If you select the Accumulate Within File option in conjunction with the Merge option, the system
adds all values for the same point of view in the data file, and overwrites the data in the application
with the total.
For each unique point of view that is in the data file but does not have a value in the application,
the value from the data file is loaded into the application.
Replace
For each unique combination of scenario, year, period, entity, and value in the data file, the
system first clears all corresponding values from the application, then loads the value from the
data file.
Note:
If you have multiple values in the file for the same unique combination of dimensions, the system
loads only the value for the last entry.
If you select the Accumulate Within File option in conjunction with the Replace option, the
system clears the value from the application, adds all values for the same point of view in the
data file, and loads the total.
You can achieve the same result as using the Replace option with the Accumulate Within File
option by using the Database Management module. You can organize the data in the file into
groups based on Scenario, Year, Entity, Value, and Period.
Use the Clear Data tab in the Database Management module to clear each unique combination
of these dimensions, selecting all accounts including system accounts. Enter the data manually
in a data grid, or load or copy the data into the application using the Merge or Accumulate load
options. When you perform the Clear operation for a period in a subcube, data, cell text, and
line item detail are cleared, but cell attachments are not cleared.
Note:
You may need to create several small files to load a data file using the Replace mode, especially
if the data is very large or if the file contains ownership data. An error message is displayed if the
file is too large when you try to load it.
Replace by Security
This option enables you to perform a data load in Replace mode even if you do not have access
to all accounts. When you perform the Clear operation for a period in a subcube, only the cells
to which you have access are cleared. Data, cell text, and line item detail are cleared, but cell
attachments are not cleared.
Accumulate
For each unique point of view that exists in the data file and in the application, the value from
the load file is added to the value in the application.
Note:
Data for system accounts is not accumulated.
Accumulate Within File
You can use the Accumulate Within File option in conjunction with the Merge and Replace
options. This option accumulates the data in the file first and loads the totals into the application
based on the load option selected.
File Contains Ownership Data
If the file contains ownership data, you must indicate this by selecting File Contains Ownership
Data. If you do not select this option and the data file contains ownership or shares information,
an error occurs when you load the file.

Similar Messages

  • How to copy data from one BB to another via Desktop Manager

    I've got two BBs (8900 and 9300), both actively in use and with different data (contacts, memos, etc.) on them.
    I need to copy my tasks, memos and contacts from 8900 to 9300. I tried "switch phones" option, but it substitutes data, while I need to syncronize it, so that data from 8900 is added to what is currently is on the 9300. 
    Is it possible to do it via Desktop Manager? It seems there was somewhere an option "copy data from another BB", but I can't find it in the latest Desktop Manager version.

    You would need to use Desktop Mangaer to sync BB1 with a local PIM program (such as Outlook or Lotus Notes) to get the information off BB1. Then use Desktop Manager to sync BB2 with the same PIM program. 

  • Copying data to another database after little transformation

    Hi,
    Is there any better pattern for
    copying data from one database to another database after some little transformation(can be simple SQL join).
    I see couple of options like..
    1. Using materialized views
    2. Writing a simple procedure to do copy and transformation.
    3. Using a pure ETL tool.
    Is there any other simple and secure way of doing this ?
    Thanks in advance,
    Vijay.
    Message was edited by:
    user487780

    Hi Justin,
    A couple of questions
    1) Are you copying from an Oracle database to another
    Oracle database? Or are there non-Oracle databases
    involved?I am copying from Oracle to Oracle.
    2) Are there just two databases? Or more?Only two.
    3) Are you copying all the data from one database to
    another? Or are you copying just a subset of data?I just need to copy a subset(can get using SQL join) of data
    4) How frequently does the data need to be copied?exactly 500 times, but at different intervals..
    How soon after the data changes in the source system
    m does in need to be changed in the destination
    system?the copying process has to be triggered based on some data in source database.
    5) Is the data flowing in only one direction?Yes
    6) Is there some drawback to the three options you've
    outlined that you're trying to avoid? If one of
    these options meets all your requirements, I'd assume
    that you wouldn't bother posting a question. That
    implies to me that there is some unstated requirement
    that you're trying to meet...I just want to know, whether there is any standard(typical) way to do this.
    Thanks,
    Vijay.
    >
    Justin

  • I need to copy data from a table in one database (db1) to another table in

    Hi
    I need to copy data from a table in one database (db1) to another table in another database (db2).
    I am not sure if the table exists in db2,,,if it doesnot it needs to be created as well data also needs to be inserted...
    How am I supposed to this using sql statements..?
    I shall be happy if it is explained SQL also...
    Thanking in advance

    How many rows does the table contains? There are manyway you can achieve this.
    1. export and import.
    2. create a dblink between two databases and use create table as select, if structure doesnot exists in other database, if structure exists, use, insert into table select command.
    example:
    create a dblink in db2 database for db1 database.
    create table table1 as select * from table1@db1 -- when there is no structure present
    -- you need to add constraints manually, if any exists.
    insert into table1 select * from table1@db1 -- when there is structure present.
    If the table contains large volume of data, I would suggest you to use export and import.
    Jaffar

  • Copying data from a table in the Database to an internal table.

    Hello,
    How do I copy data that is a table that is in the database and and then load the data to an internal table in the ABAP/4 Aditor.
    Please help.

    hi,,
    do this way ...
    tables : mara.
    parameters : p_matnr like mara-matnr,
    start-of-selection.
    select <fields>  from mara into table it_mara
         where matnr = p_matnr.
      if sy-subrc = 0.
    endif.

  • Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?

    Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?
    We are not licensed for the Oracle Advanced Security Option and I have been tasked to use Oracle Network Data Encryption in order to encryption network traffic between Oracle instances that reside on remote servers. From what I have read and my prior understanding this is not possible without ASO. Can someone confirm or disprove my research, thanks.

    Hi, Srini Chavali-Oracle
    As for http://www.oracle.com/technetwork/database/options/advanced-security/advanced-security-ds-12c-1898873.pdf?ssSourceSiteId… ASO is mentioned as TDE and Redacting Sensitive Data to Display. Network encryption is excluded.
    As for Network Encryption - Oracle FAQ (of course this is not Oracle official) "Since June 2013, Net Encryption is now licensed with Oracle Enterprise Edition and doesn't require Oracle Advanced Security Option." Could you clarify this? Thanks.

  • Copy data from mysql to oracle database help?

    Im an sql newb and trying to understand how I can automatically copy data from one dtabase to another systems database on the same server.
    We have two differnt applications, but both share customer information, but one is on a win server, while the other is on oracle.
    Each time a customer contacts us via online chat (win server, mysql), we want to copy their entire chat transcript into our CRM's (oracle) customer account. So the folks that use the CRM can see the past chat histories. I hope this makes sense.
    Where can i look to get started on this?
    Thanks

    You could look at Heterogeneous Services (see the forum here Heterogeneous Connectivity but if you want to push data from mysql to oracle you might be better looking at it from the mssql side. I don't know what they offer.
    It might be simpler to do it at the client end. ie cut and paste from the online chat application into a new utility which inserts into the oracle database.
    Incidentally, this forum is specifically for the SQLDeveloper tool. You might get more general help in the "database - general" or "sql and pl/sql" forums

  • Copying data between databases

    Hi Gurus,
    Is there any way to copy data from one DB to another DB, other than COPY command ?
    My reqt is this. I want to copy data from one DB to another one periodically (weekly basis). I'm trying to create a USER JOB for this and call a PL/SQL proc in the JOB. As COPY is a SQL/PLUS command, I think I can't use it in a DB procedure. Any help is appreciated. Thanks a lot.

    Hi,
    Thanks for the reply. It works now.
    It was my fault while creating the database link. The SQL*NET version was NET8 and I created the DB link with 'USING t:XXX:XXXX'. So the link was using SQL*NET old version and I was getting ora-6401 (Invalid Driver Designation). Now I recreated the link private DB link) and it works fine.
    Thanks for your help.

  • "Manage User Data" option is not available in browser.

    HI Experts,
    I am trying to create a user for my organization using one documentation available with me in SRM from web browser.
    It says that we have to select "Manage Business Data" in the launch pad, but my problem is that,This option is not available in the web browser when i login.
    Kindly let me know the roles requires for the same.
    Also any settings need to be done in SICF to run it successfully.
    Thanks In Advance.

    The wordings in the Document is "Manage User Data" and not "Manage Employee Data",
    I know that its completely on roles thats why i have given that user almost all the roles which i am aware.
    Here is the list of it.
    SAP_BBP_STAL_ADMINISTRATOR
    SAP_BBP_STAL_EMPLOYEE
    SAP_BBP_STAL_MANAGER
    SAP_BBP_STAL_OPERAT_PURCHASER
    SAP_BBP_STAL_PURCHASER
    SAP_BBP_STAL_STRAT_PURCHASER
    SAP_EC_BBP_EMPLOYEE
    SAP_EC_BBP_MANAGER
    SAP_EC_BBP_RECIPIENT
    SAP_EC_BBP_SECRETARY
    In fact there are many other roles which is given but this option is not visible.

  • Copy data from one Table to another Table

    How can I copy data from one Oracle Table to another Oracle Table on a different server? Question 2: How can I clear all of the data in one Table with a single SQL script?
    Thanks...

    Question 1:
    I assume you have the privileges. If you don't, ask the DBA to give them to you. Then
    1. Login to database_source (It could be either the source or the target. Let's assume it's the source.)
    2. Create a database link to database_target: CREATE DATABASE LINK link_to_database_target CONNECT TO myuserid IDENTIFIED BY mypassword USING 'database_target'; Note the single quotes.
    3. Copy the table data: INSERT INTO targetowner.mytable@link_to_database_target SELECT * FROM sourceowner.mytable; COMMIT;
    Question 2:
    You have two options, but you may not have privileges for both.
    Option 1:
    DELETE FROM tableowner.tablename; COMMIT;
    Advantage: Since this is a DML (Data Manipulation Language) statement, you have to commit the transaction. Also, the data will be gone but the table size is NOT changed, so it's ready for accepting replacement data. DML statements can simply be executed not only from SQL scripts, but from PL/SQL scripts as well.
    Disadvantage: Slow, because all record deletion is logged, so you can recover from it by issuing a ROLLBACK; instead of the COMMIT; above. The table size is NOT changed, so if you are short of disk space or tablespace space, you have not resolved the issue.
    Option 2:
    TRUNCATE TABLE tableowner.tablename;
    Advantage: Since this is a DDL (Data Definition Language) command, you do NOT have to commit the transaction. (DDL commands automatically commit both before and after their execution.) The table size will be changed back to the initial extent size which is the minimum size a table can have and can only be set when the table is created. If it needs to be changed, the table has to be dropped and recreated with a different initial extent size. The statement execution of this command is not logged, therefore it's much faster then the DELETE.
    Disadvantage: No rollback. Being a DDL, this command cannot be executed straight from PL/SQL. If you need to issue this within PL/SQL, you will have to use dynamic SQL.

  • How to create a .mdf SQL Server database from a Data-Tier Application file that has data?

    This is a noob question, though I do use SQL Server databases all the time with Entity Framework when I code in C# using Visual Studio 2013.  The development environment is found below at [A].  I am trying to make a clone of a SQL Server 2008 R2
    database (.mdf)  that exists online.  I can read, connect and work with this database in Visual Studio 2013, but I wish to make a local copy of the database, as an .MDF file.  Somewhere in my notes I have a way of creating a local copy from
    an online database when using Visual Studio but I forgot how (it seems, reviewing my notes, that it deals with ADO.NET which is deprecated in Visual Studio 2013 these days, or so it seems).  So I'm looking for another way.  What I did was create
    (or export) a "Data-Tier Application File" from the online SQL Server database, with data, and it seems to have worked in that this Data-Tier Application file exists on my hard drive and seems to have data in it ("SQL Server Replication Snapshot"
    is the format it seems).  It contains skeleton code to create a database, but when I tried to execute it with SQL Server 2014 Management Studio, I got a bunch of errors.
    So my question is:
    1) Can I somehow create a .MDF SQL Server Database from an Data-Tier Application file that has data?  What tool do I use?  I saw this link, http://social.technet.microsoft.com/wiki/contents/articles/2639.how-to-use-data-tier-application-import-and-export-with-a-windows-azure-sql-database.aspx 
    and it relates to Azure, but is there a tool for C#Visual Studio 2013, standalone?
    2) If there's an easy way to create a .mdf SQL Server Database file from an online file, within SQL Server Management Studio?  I don't think so, since it would require Administrator permissions on the online server, which I don't have. I have permission
    to read, update, delete the online database file, but strangely not to download it (the service I use has a tool for backup, but not for download).
    3) same question as 2), but for Visual Studio 2013?  I don't think so, since I notice none of the templates even mentions ADO.NET anymore, but instead they go with Entity Framework.  Using EF I can of course do anything I want with the online database
    (CRUD), but it remains online.  Maybe there's a switch to make a local copy?  I guess I could write a short program to suck all the data out of the online database and put it into a new, duplicate database having the same tables, that I create on
    my localhost, but my question here is if there's an easier way than this, maybe a tool or command I can run from inside Visual Studio?
    Any advice on any of the above questions is appreciated.
    Thank you,
    Paul
    [A] Microsoft Visual Studio Professional 2013
    Version 12.0.21005.1 REL
    Microsoft .NET Framework
    Version 4.5.51641
    Microsoft Web Developer Tools 2013   2.0.40926.0
    SQL Server Data Tools   12.0.30919.1
    Microsoft SQL Server Data Tools
    Windows Azure Mobile Services Tools   1.0
    Windows Azure Mobile Services Tools

    Thanks but these links are too general to help.
    "2. what do you mean by online file?" - I mean the SQL Server database file is on a remote web server that I rent from, but I am not the administrator of.  I can access my database using SQL Server Authentication, but nothing more.
    Paul
    What do you mean by too general? It explains on how you can use data tier application to create and deploy databases
    May be this will help you to understand better
    http://www.databasejournal.com/features/mssql/article.php/3911041/Creating-Data-Tier-Applications--in-SQL-Server-2008-R2.htm
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to access Data Guard option in Oracle 10g OEM

    Hi All,
    I have Oracle 10g ENTERPRISE EDITION on Unix envoirement. I want to setup logical standby Database through Data Guard technology. But when I brows through OEM I do not find Link for DATA GUARD????
    1) How to access Data Guard option from oracle 10g OEM.
    2) Does It come with Enterprise Edition OR I have to install it separately.
    Regards,
    Darshan

    I am managing almost everything through EM Grid Control. It is easy to setup and configure.
    Anyways, if you have read the documentation on
    Oracle® Data Guard Concepts and Administration and setup your environment accordingly then you should not have any problems. Atleast I can assure you that your production database will not be affected by it.
    Just make sure that you follow each step and read thoroughly. If you have spare machines then you can test and record your configuration before performing it on your production db. This link will provide you with the information on DataGuard.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/concepts.htm
    If you think that way then you will never be able to do any new stuff since you will always fear that something might go wrong. Go ahead pal, try it on test machines and you will know that it is not that difficult.
    There are real experts who help people like us in this forum and I know that they are doing a pretty good job.
    All the best.
    Rgds
    Adnan

  • Problem while copying datas using Copy Express

    Hai Experts,
    Greetings.
    We were trying to copy Master and Configuration datas from test database to Live database using Copy express. The datas from Item Master, BP Master copied Correctly, but, in CoA (we are using Segmented Accounts) the G/L Account --> the Code column shows the System refernce no. (ie., _SYS00000002679) and the Name of the G/L Account is copied correctly.
    Is there any solution to solve this problem.
    Thanks and Regards
    Raja

    On your test company, there's segmented accounting setup. Is the segmented accounting setup on the Live company (or have you managed to use copy express to copy over the segments and other settings)?
    If you've done that, then maybe you could export to XML your Copy Express worksheet and upload it somewhere so we can have a look?

  • What is the best way to copy data....

    Hello friends,
    What could you think is the best way to copy this data ? :
    - I have two identical databases (Oracle 9i)
    - I want to migrate the data of 90 tables (all tables begin with the same string, i.e. 'TAB') from Database1 to database2.
    - There are integrity constraints, referentials, etc.
    I'd like to generate a script to automate/accelerate the process.
    So, I'm thinking on the following:
    - Disable all the constraints in Database2.
    - Connect to Database 1 and generate a script with the 'inserts' using TOAD (or another similar application)
    - In a Database 2 session, execute the script...
    Of course if I use TOAD I can't generate an unique script to do this process in one step so...
    Any better idea? (Using export/import, ... or some script you have...)
    Thanks.
    Jose.

    Use exp and imp. It works... seriously! And you don't need to drop the user/schema. But don't take my word, run an example...
    On Database 1
    First let's create a couple of tables with referential integrity to each other to make sure exp/imp can handle it...
    SQL> create table t1 (t1_id number constraint pk_t1 primary key, t2_id number);
    Table created.
    SQL> create table t2 (t2_id number constraint pk_t2 primary key, t1_id number);
    Table created.
    SQL> alter table t1 add constraint fk_t1_t2 foreign key (t2_id) references t2 (t2_id);
    Table altered.
    SQL> alter table t2 add constraint fk_t2_t1 foreign key (t1_id) references t1 (t1_id);
    Table altered.
    SQL> insert into t1 (t1_id, t2_id) values (1, null);
    1 row created.
    SQL> insert into t2 (t2_id, t1_id) values (2, 1);
    1 row created.
    SQL> update t1 set t2_id = 2 where t2_id is null;
    1 row updated.
    SQL> commit;
    Commit complete.
    SQL> select * from t1;
         T1_ID      T2_ID
             1          2
    SQL> select * from t2;
         T2_ID      T1_ID
             2          1
    SQL> select table_name, constraint_name, constraint_type, r_constraint_name from user_constraints
      2  where table_name in ('T1','T2');
    TABLE_NAME                     CONSTRAINT_NAME                C R_CONSTRAINT_NAME
    T1                             PK_T1                          P
    T1                             FK_T1_T2                       R PK_T2
    T2                             PK_T2                          P
    T2                             FK_T2_T1                       R PK_T1
    SQL>
    Now let's export those tables. You can build a parfile manually or even spool it from a sql script with the names of all tables you need to export...
    $ cat parfile.txt
    tables=(\
    t1,\
    t2
    $ exp rc/pwd parfile=parfile.txt file=db1.dmp log=db1.log
    Export: Release 10.1.0.3.0 - Production on Mon Jan 9 20:49:17 2006
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in UTF8 character set and UTF8 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table                             T1          1 rows exported
    . . exporting table                             T2          1 rows exported
    Export terminated successfully without warnings.
    On Database 2
    Copy your .dmp file to Database 2
    Import
    $ imp rc/pwd full=y file=db1.dmp log=db1_imp.log
    Import: Release 10.1.0.3.0 - Production on Mon Jan 9 20:51:15 2006
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.01.00 via conventional path
    import done in UTF8 character set and UTF8 NCHAR character set
    . importing RC's objects into RC
    . . importing table                           "T1"          1 rows imported
    . . importing table                           "T2"          1 rows imported
    About to enable constraints...
    Import terminated successfully without warnings.
    All data is there...
    SQL> select * from t1;
         T1_ID      T2_ID
             1          2
    SQL> select * from t2;
         T2_ID      T1_ID
             2          1 All constraints are there...
    SQL> select table_name, constraint_name, constraint_type, r_constraint_name from user_constraints
      2  where table_name in ('T1','T2');
    TABLE_NAME                     CONSTRAINT_NAME                C R_CONSTRAINT_NAME
    T1                             PK_T1                          P
    T1                             FK_T1_T2                       R PK_T2
    T2                             PK_T2                          P
    T2                             FK_T2_T1                       R PK_T1It does work!

  • Copying data between Applications

    Hello all,
    Is there a recommended approach to copying data between applications within the same application set? I have a cube that's the mirror image of another cube, excluding the difference in dimension names. I want to pass data from one cube to another cube. I am hoping this is something that can be done through DM using one of the standard packages provided by SAP.
    Thanks,
    Rob

    Hi Rob,
    Apart from using Data Manager option to copy data between applications, please also explore "Destination_App" statement in your script logic as you mentioned both the applications are mirror images of each other. Please check for sap help or SP02 doc addendum for more insight into destination app logic. There is also BADI option to take aggregated data from one application to another. There is a how-to-guide available for this.
    Please check which one of these options suit better for your requirement.
    Cheers,
    Santosh

Maybe you are looking for

  • Unable to get Data Connection on Treo Pro after Flying (Sprint)

    I got my Treo Pro a few weeks ago and have really had no issues. It has been a great phone, but I just ran into an issue I cannot explain. I had to fly from Mpls to Miami and put my phone in "airplane mode" when the flight started. When I landed I to

  • Is there something wrong with my iPhone 5?

    Since i've had my iPhone 5 it's been working perfectly until about a month ago. Chargers won't last longer than a week. Some have been from Apple, some have been cheep ones. Recently, some won't even last more than 2 days. My phone can be on charge f

  • GetUserRoles in viewobject throws null pointer exception

    Hello, I've set up security for our jsf-adf-bc4j application. I now want to get the user role in our viewobject. I use the following code : SessionImpl session = (SessionImpl) this.getDBTransaction().getSession(); String[] roles = session.getUserRole

  • How to reset users and groups in Server.app?

    Recently after change settings in the Server.app (like turn off/on open directory, delete/add certificates), I got a strange problem: In the users and groups list, it display all local users and groups (looks like system users and groups, about 100 u

  • Error Message: Disk too slow or System Overload

    hey guys during playback i keep receiving an error message reading: Disk too slow or System Overload. I was wondering if anyone knew the cause of this? Thanks for any info