Copying data from another cube

Dears:
I have the following scripts
//ESS_LOCALE English_UnitedStates.Latin1@Binary
SET CACHE ALL;
SET CACHE HIGH;                         
SET LOCKBLOCK HIGH;
SET UPDATECALC OFF;
SET CREATEBLOCKONEQ ON;
SET CREATENONMISSINGBLK ON;
SET FRMLBOTTOMUP ON;
FIX("N/A Cliente")
FIX(@CHILDREN(I5370),@CHILDREN(I5356))
FIX("N/A Jefe Grupo")
FIX("N/A Ejecutivo")
FIX(&año_actual)
FIX(Mensual)
FIX(Nominal)
FIX(Ppto)
     FIX("Spread")
     FIX(PRODUCTOS, @IDESCENDANTS(ACTIVOS), @IDESCENDANTS(PASIVOS), @IDESCENDANTS(INGRESOS))
          Ajustada (
               BaseProy = @XREF("_Tckcube_", Moneda, &mes_base, &año_base, Real, Final, Acumulado);
     ENDFIX; /*Productos*/
     ENDFIX; /*Accounts Spread*/
ENDFIX; /*Versión*/
ENDFIX; /*Nominal*/
ENDFIX; /*Mensual*/
ENDFIX; /*Periodo*/
ENDFIX; /*JEFE DE GRUPO*/
ENDFIX; /*EJECUTIVOS*/
ENDFIX; /*ENTITIES*/
ENDFIX; /*CLIENTES*/
but it works well if I have created the block in the cube destination
What I do for that data be copied without having to create blocks?
What instructions can help me?
Thank very much

Okay, thank you very much for your answers
Anyway already found a solution: I was allocating even xref member of a dense dimension (BaseProy), the change I made was to assign the xref a member of a sparse dimension (Ajustada) and add instructions SET CREATENONMISSINGBLK
and works without problem.
This is the code improved:
//ESS_LOCALE English_UnitedStates.Latin1@Binary
SET CACHE ALL;
SET CACHE HIGH;                         
SET LOCKBLOCK HIGH;
SET UPDATECALC OFF;
SET CREATEBLOCKONEQ ON;
FIX("N/A Cliente")
FIX(@CHILDREN(I5370),@CHILDREN(I5356))
FIX("N/A Jefe Grupo")
FIX("N/A Ejecutivo")
FIX(&año_actual)
FIX(Mensual)
FIX(Nominal)
FIX(Ppto)
     FIX("Spread")
     FIX(PRODUCTOS, @IDESCENDANTS(ACTIVOS), @IDESCENDANTS(PASIVOS), @IDESCENDANTS(INGRESOS))     
SET CREATENONMISSINGBLK ON;     
     BaseProy = #Missing;
          BaseProy(
               IF (@ISMBR("Nominal"))     
                    Ajustada     = @XREF("_Tckcube_", Moneda, &mes_base, &año_base, Real, Final, Acumulado);
               ENDIF
     SET CREATENONMISSINGBLK OFF;
     ENDFIX; /*Productos*/
     ENDFIX; /*Accounts Spread*/
ENDFIX; /*Versión*/
ENDFIX; /*Nominal*/
ENDFIX; /*Mensual*/
ENDFIX; /*Periodo*/
ENDFIX; /*JEFE DE GRUPO*/
ENDFIX; /*EJECUTIVOS*/
ENDFIX; /*ENTITIES*/
ENDFIX; /*CLIENTES*/

Similar Messages

  • How to copy data from one cube to other?

    Hi experts
    I have 2 system defined cubes..
    Now in 1st cube there is data till 2007  which is coming from 2LIS_04_P_MATNR.
    I want to copy this data in 2nd cube..
    Please suggest me.. how can I do it?
    Regards
    Swati

    swathi..
    create a export datasource option for exisintg the cube...
    Then replicate the same exported datasource which you craetd.
    Then do the trasnformation one to one from the exisitng cube(i mean which the datamart crated by u)
    Now load the infopackage from the old cube to new cube...
    we implemented the same in many of our data targets in the current project

  • Reading data from another cube

    Hi All,
    I have a cube, lets say with 6 fields. I am getting the data for the 1st 3 fields directly from R/3. I have the data for the remaining fields in some other cube. Now, I have to get the data for the remaining 3 fields from 2nd cube based on the 1st 3 fields.
    I know that this is possible but I am not sure how to do this. Can someone let me know the steps to do this.
    Best Regards,
    James.

    James
    u can follow the method suggested by dinesh with the help of ABAPer.
    There is also few another way. Let me tell you how.
    First way :
    declare source cube as a export datasource.
    create update rule for target cube from source cube and update only required fields.
    cons: this method will unnecessarily consume more database.
    remedy: u can use multiprovider for reporting which will pull data from all possible required cubes.
    Second way:
    u can use one infosource to fed several cubes at the same time. With this u can update only required fields into another/target cube.
      This procedure will increase loading time as infosource is feeding to several data targets.

  • 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. 

  • Move data from one cube to another cube

    Hi,
    I am on BW 3.5 and I have moved the data from one cube to another cube and found that the number of records in the original cube does not match to the newly created cube. for eg. if the original cube contains 8,549 records then the back up cube contains 7,379 records.
    Please help me on what I need to look on and if in case the records are getting aggregated then how do I check the aggregating record.
    Regards,
    Tyson

    Dear tyson m ,
    check with any update rules in ur transfer.If so check in it.
    Just go through these methods for making transfer from one cube to another cube fully without missing data.
    Update rules method
    if it's updated from ods, you can create update rules for cube2 and update from ods
    or you can try datamart scenario
    cube1 right click 'generate export datasource'
    create update rules for cube2, assign with cube1
    rsa1->source system->bw myself, right click 'replicate datasource'
    rsa1-> infosource -> search 8cube1 name
    (if not get, try right click root note 'infosource'->insert lost node(s)
    from that infosource, you will find assigned with datasource, right click and 'create infopackage', schedule and run.
    Copy from
    While creating the new cube give the cube name in the "Copy from" section. It would copy all the characteristics and Key figures. It would even copy the dimensions and Navigational attributes
    Another option is:
    The steps for copying the contents of one cube to another:
    1. Go to Manage -> Recontruct of the new cube.
    2. Select the "selection button"(red , yellow, blue diamond button).
    3.In the selection screen you can give the technical name of the old cube, requests ids you want to load, from & to date.
    4.Execute and the new cube would be loaded.
    Its all that easy!!!!!!
    Refer this link:
    Copying the structure of an Infocube
    Reward if helpful,
    Regards
    Bala

  • What are the diffrent ways to copy data from one application to another?

    Hi,
    Can you guys tell me what are the different ways to copy data from one application to another application??
    I know we can do it through script logic using DESTINATION_APP.
    Is there any other way to copy data from one application to another application?
    Please help me
    Thanks,
    Charly

    You can also call a custom DTSX package in SSIS via the datamanager.
    there are at least 5 ways of transfering data in BPC between apps.
    1. Through the front end (excel etc) via evdre/evsnds
    2. Through Script logic using *Dest App
    3. Using BPC's standard export dtsx package via DM
    4. Using SSIS using BPC's custom SSIS tasks
    5. Through Script logic using stored procs.
    i am sure people will come up with more.
    remember if you use ssis and move data into any table but the wb, you need to process the cube afterwards.

  • Partitioning two Years Of Data From One Cube Yo Another

    Hi Experts,
    Can any one please help me on the following issue.
    I got the requirement where I need to copy the data from one cube to another having unequal number of dimensions.
    I have achieved this using Transparent partitioning, But I could be able to copy only one year data.
    In cube1 I have the months like Jan, Feb...Dec and in cube2 I have the structure like Jan-11..Dec-11, Jan-12...Dec-12.
    While creating the partition how can I map the Jan with Jan-11 and Jan-12.
    Thanks In Advance,
    Ram

    You can map manually. it is possible.

  • IP Exit Planning function copy data from cca to pca planning cubes

    Hello All,
    I have a requirement where I have to copy the characteristics and keyfigures of CCA plan cube data to pca plan cube data.The infoobjects in CCA aggregation level are are {0amount,0costcenter,0costelement,version,0calmonth,0infoprovider} which needs to be copied to corresponding infoobjects in PCA level  {0amount,0profitcenter,0account,0version,0calmonth,0infoprovider}.
    The CCA and PCA aggregation level are built on the top of the multiprovider.
    I can do it using the fox coding but 0costelement cannot be mapped to 0account as these two are different fields.Since I have to copy the values of 0costelement to 0account , I was wondering how can I do it using the exit function.
    As I have never used the exit function before, I was wondering if somebody can help me out with this.
    By the way, I have read the forums and figured out to create a class in se24 and use interface
    IF_RSPFLA_SRVTYPE_IMP_EXE and since I am generating some records , will be using the method IF_RSPLFA_SRVTYPE_IMP_EXEC~INIT_EXECUTE.
         By the way , I read in the forums where there are methods/function modules which can copy data from one aggregation level to another aggregation level.Anyways, can you tell how can I loop thru the records of CCA aggregation level and copy the records to the PCA aggregation level.
    Edited by: nazeer on Feb 22, 2009 12:04 PM

    This thread might help you.
    https://forums.sdn.sap.com/click.jspa?searchID=22634973&messageID=5317176

  • Copying data from one table to another, but not duplicate

    Good afternoon!
    I am new to Oracle SQL, I have a difficulty.
    I have a script that copies or add another table with data from another table.
    If the table already has 01 "Registry 01" when you make a copy of the data in table 02, can not duplicate the "Registry 01" again.
    As the table already exists since the beginning of the year before last and duplicate information, I can not apply the UNIQUE constraint because of the error. I have to make this change from now.
    How to perform this validation so that no duplicate data?
    DECLARE
    w_cont NUMBER;
    CURSOR c_simpro IS
    SELECT sc.cd_simpro,
    sc.ds_produto,
    sp.qt_embalagem,
    MAX(sp.dt_vigencia)
    FROM simpro_cadastro sc,
    simpro_preco sp
    WHERE sc.cd_simpro = sp.cd_simpro
    GROUP BY sc.cd_simpro,
    sc.ds_produto,
    sp.qt_embalagem;
    BEGIN
    FOR r_simpro IN c_simpro LOOP
    w_cont := 0;
    SELECT COUNT(1)
    INTO w_cont
    FROM pls_material pm
    WHERE pm.cd_material_ops = r_simpro.cd_simpro;
    IF w_cont = 0 THEN
    INSERT INTO pls_material(nr_sequencia,
    dt_atualizacao,
    nm_usuario,
    dt_atualizacao_nrec,
    nm_usuario_nrec,
    ie_tipo_despesa,
    cd_estabelecimento,
    nr_seq_estrut_mat,
    cd_simpro,
    ds_material,
    ie_situacao,
    ds_material_sem_acento,
    dt_inclusao,
    cd_material_ops_orig,
    cd_unidade_medida,
    cd_material_ops,
    qt_conversao_simpro)
    VALUES(pls_material_seq.nextval,
    SYSDATE,
    'ES-SIMPRO',
    SYSDATE,
    'ES-SIMPRO',
    3,
    1,
    3,
    r_simpro.cd_simpro,
    r_simpro.ds_PRODUTO,
    'A',
    r_simpro.ds_PRODUTO,
    SYSDATE,
    r_simpro.cd_simpro,
    'un',
    TRIM(to_char(r_simpro.cd_simpro,'0000099999')),
    r_simpro.qt_embalagem);
    COMMIT;
    END IF;
    IF w_cont > 0 THEN
    UPDATE pls_material p
    SET p.qt_conversao_simpro = r_simpro.qt_embalagem,
    p.dt_atualizacao = SYSDATE
    WHERE p.cd_simpro = r_simpro.cd_simpro;
    COMMIT;
    END IF;
    END LOOP;
    END;
    Edited by: 983464 on 22/01/2013 10:30

    Hi,
    in addition to what Marwin has already said, I suggest you to post CREATE TABLE and INSERT statements (as mentioned in the FAQ).
    The error you are getting from MERGE command is because you need a way to uniquely identify within the table. So it's is important to know also if your table has a primary key/unique index so the keys could to be used in the MERGE command.
    Additionally when you put some code or output please enclose it between two lines starting with {noformat}{noformat}
    i.e.:
    {noformat}{noformat}
    SELECT ...
    {noformat}{noformat}
    Regards.
    Al                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 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.

  • Copy data from one table to another

    Hello everyone,
    I have a student table with fields sno, sname. I created another table student1 with same fields sno, sname and with one new field class.
    Now i want to copy data from sno, sname of student table to sno, sname of student1 table when the class field in styudent1 has no data i.e., its null.
    Could any one let me know how to do this?
    Thanks,
    Prathima

    i want to copy data from sno, sname of student table to sno, sname
    of student1 table when the class field in styudent1 has no dataSo what is the join condition? What column in STUDENT1 tells us what row in STUDENT to copy?
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • 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

  • ABAP Function Module Example to move data from one Cube into Another

    Hi experts,
    Can any please help out in this ..?
    A Simple ABAP Function Module Example to move data from one Cube into Another Cube
    (How do i send the data from one client to another client using Function moduel).
    Thanks
    -Upen.
    Moderator message: too vague, help not possible, please describe problems in all technical detail when posting again, BI related? ("cube"), also search for information before asking.
    Edited by: Thomas Zloch on Oct 29, 2010 1:19 PM

    This is the start routine to duplicate records in two currencies.
    DATA: datew   TYPE /bi0/oidateto,
          datew2  TYPE rsgeneral-chavl,
          fweek   TYPE rsgeneral-chavl,
          prodhier TYPE /bi0/oiprod_hier,
          market  TYPE /bic/oima_seg,
          segment TYPE /bic/oizsegment.
    DATA: BEGIN OF S_DATA_PACK OCCURS 0.
            INCLUDE STRUCTURE /BIC/CS8ZSDREV.
    DATA: END OF S_DATA_PACK.
    S_DATA_PACK[] = DATA_PACKAGE[].
      REFRESH DATA_PACKAGE.
      LOOP AT S_DATA_PACK.
        move-corresponding s_data_pack to DATA_PACKAGE.
        if DATA_PACKAGE-loc_currcy = 'EUR'.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
          DATA_PACKAGE-CURRENCY = 'USD'.
          APPEND DATA_PACKAGE.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalloc.
          DATA_PACKAGE-CURRENCY = 'EUR'.
          APPEND DATA_PACKAGE.
        else.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
          DATA_PACKAGE-CURRENCY = 'USD'.
          APPEND DATA_PACKAGE.
        endif.
      ENDLOOP.
    This is to load Quantity field
    RESULT = COMM_STRUCTURE-BILL_QTY.
    This is to load Value field
    RESULT = COMM_STRUCTURE-NETVAL_INV.
    UNIT = COMM_STRUCTURE-currency.

  • Copy data from one SAP system to another based on conversion rules

    Hi All,
    Please provide your input on how can we copy data from one SAP system to another based on conversion rules.
    Conversion rule :
    vkrog in 110  vkorrg in 120
    1234            4567   
    <<text removed>>
    Thanks
    Edited by: Matt on Feb 16, 2009 4:35 PM

    Please read the Rules of Engagement here: Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!!
    Please note that offering points is against the rules.
    matt

  • Copy Query from one cube to another

    Hi ,
    Where can i do copy query from one to another cube
    Thanks
    Gururaj

    Hi,
    For copying queries from one cube to the another use Tcode :RSZC.
    If you have RKF and CKF in the queries,
    then only  those RKF's and CKF's which are used in the query will be copied(Only those which you use in the structure).
    One more important all the keyfigures will be copied with Technical name as _1 at the end.
    i.e: if you have a KF called AVERAGE with Techname as <b>OSD_AVG</b> then this will be copied as <b>OSD_AVG_1</b>.Meaning you cannot define your own Tech names.
    Thanks,
    Uma Srinivasa Rao.

Maybe you are looking for

  • Photoshop Extended CS 4: 32 bit & 64 bit has stopped working with an error 131:4

    Dell XPS 720 Quod Processor 8GB Memory Running Window 7 Both Photoshop Extended CS 4: 32 bit & 64 bit has stopped working with an error 131:4. which stated to reboot to solve the problem. After several attempts at rebooting the computer, I received t

  • Oracle 11g Client and XML DB

    We have moved our applications in a mix environment (DB on Linux and App. Server on Windows) on Oracle 11g. On the past we have tested the applications and they were working, now seems nothing is ok, it is like the 10g instant client on Windows is un

  • Problem creating cache group for a table with data type varchar2(1800 CHAR)

    Hi, I am using TimesTen 7.0 with Oracle 10.2.0.4 server. While creating Cache Group for one of my table I'm getting the following error. 5121: Non-standard type mapping for column TICKET.DESCRIPTION, cache operations are restricted 5168: Restricted c

  • Portal session not being terminated

    When we upgraded from EP 6.0 to NW 2004, users started recieving the Netweaver Login Screen when they logged out and logged back in, in the same browser. We think this error occurs because NW 2004 implements Web Services Remote Portal functionality.

  • Weblogic Policy Agent

    Hi All, I am using policy agnet in front of the app that is running on weblogic. I installed the policy agent created the agent profile and other necessary steps. Also, copied the following line in my startWebLogic.cmd file call "%DOMAIN_HOME%\bin\se