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.

Similar Messages

  • Any standard function module to read data from a cube

    Hi,
    I want to read data from a cube say XYZ, into an internal table. Is there any standard function module to do this? If so can anyone plz tell me what change should i make in the function module for my requirement.
    Regards
    BW Fresher.

    Hi R,
    Try function module 'RSDRI_INFOPROV_READ'
    ABAP Report RSDRI_INFOPROV_READ_DEMO contains an example of how the function module can be used.
    Udo

  • Reading data from another database

    Hi Folks!
    I need to read some data from another non-sap system database to validate something in R/3. Does this is possible. If it is possible how could this be achieved?
    Thanks in advance for your help.
    Regards,
    Gilberto Li

    There are a couple of ways to do this. One, you can create an executable on the other non-sap system that you can call from SAP as a system command. So let us say you write a unix script that takes a value as input and returns a flag as output. Within the script you will check that value against this non-sap database. In SAP, you will create a system command in SM69 and then execute it in your program via function module SXPG_COMMAND_EXECUTE.
    Alternatively, you can use the RFC route but you need to setup RFC connection between the two systems.
    You can also bring this validation table into SAP as a one time or periodically updated table and then do the validations within SAP.

  • Reading data from another clients network connection

    I would like anyone who know to direct me to some resources for how one could write code that can read data from a port without "binding" to it. In other words, I have an application running on windows talking to a server. I want to monitor that conversation with a separate java application. This is a simple sort of a firewall.
    Is there a java api available, or a part of a package that can do this? So far, I have only seen information on binding to a port, which prevents the client from running at the same time as my java application.
    Thanks very much in advance.

    The simplest way to implement this is to create a proxy. The client connects to your proxy and your proxy connects and forward all data. Montioring this is then trivial.
    You could snoop the network, but I don't know and easy way to this in Java. Perhaps google has something.

  • Read Data from "virtual" Cube with different ConsUnit Hier. Version

    Dear all,
    I got a odd request.
    I need to load data from the virutal Reporting-Bapi Cube for a certain Data Version.
    This Version has been attached to a new consUnit Hierachy a few weeks ago.
    Now we get a request to read data in the past for units which are not present in the current hierarchy anymore.
    I know that this is a general issue... but does anyone got a workaround for this?
    Thanks in advance,
    regards
    Oliver

    Dear All,
    Restamtent functionality did not help at this issue.
    What we did a Copy of the Version and attached the "old" hierachy.
    This was the only solution.
    Regards
    Oliver

  • Syntax error in reading data from another DSO

    Hi all,
    I have written a end routine to read business area from another dso the code is as follows.
    DATA:lw_c_wa type tys_TG_1-BUS_AREA.
        LOOP AT RESULT_PACKAGE ASSIGNING -BUS_AREA  = lw_c_wa-bus_area.
          refresh lw_c_wa.
               ENDIF.
        endloop.
    but i am getting the following error:
    E:"FROM ...", "CONNECTION ...", "BYPASSING BUFFER", "PACKAGE SIZE ...",
    or "UP TO ... ROWS" expected after "LW_C_WA".
    i am not able to debug this.
    Pls any input on this.
    Regards,
    suyash

    Try to debug using DTP. (Goto DTP ---> Execute Tab ---> Choose processing mode as "Serially in Dialog Process (For Debugging).
    Or goto transformation -
    > Extras --> Display generated code ---> put a break point here and execute the DTP. Then you can debug the code.

  • Read data from transactional cube in version SEM 6.40

    Hi,
    In an exit function of the transaction BPS0, I want to read transaction datas in a transactional cube. In version BW 2.1C - SEM 3.0A, I used the function RSDPL_CUBE_DATA_READ. Now the system is in version BW 3.5 - SEM 6.40 and the function just read datas which are in request's status 'OK' (watch transaction RSA1, 'manage' on the cube). If the request as status 'indifferent; not yet finished', the function don't read its data.
    How can't I read all the transaction datas in a transactional cube.

    Dear All,
    Restamtent functionality did not help at this issue.
    What we did a Copy of the Version and attached the "old" hierachy.
    This was the only solution.
    Regards
    Oliver

  • Using import script to read data from another location

    Hi,
    I need to find a way to import, in one location, the data of all other locations (with some additional transformations) using an integration script.
    I think I should be able to read from the recordset returned by farsTable, but I need to know how to find the table name that contains the data from my other locations.
    Thanks in advance,
    Julien

    First you will need to read the tpovlocation table to get the location key and segment key for each location to be read. You can then either read the relevent tdataseg(index) table where the index is the segment key from the location table, or alternatively you could try to access the data from the View (which i think is Vdata) in which case you you will not need the segment key.

  • 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*/

  • Reading aggregated data from a cube/multiprovider

    Hi BI people
    My project is currently looking for a functionmodule that reads aggregated data from a cube/multiprovider.
    I already have a functionmodule that reads data from a cube and returns it in a flat format. I have debugged this, but have not found any flags that can enable the OLAP functionality needed to perform the aggregation. The functionmodule is "RSDRI_INFOPROV_READ_RFC".
    The situation is that I need to apply the aggregation logic of a profit center hierrarchy to the data I read from RSDRI_INFOPROV_READ_RFC, this means manually replicating the the OLAP engine functionality (keyfigure aggregation exception, ect.) and this is not an option with the available time/budget.
    Please have a look at the example below:
    Say that I have a profit center hierarchy as displayed below (with postable nodes).
    PC1 - $10
         |---- PC2  - $30
         |---- PC3  - $20
    The data I'm getting back from the functionmodule RSDRI_INFOPROV_READ_RFC looks like this:
    PC1 $10
    PC2 $30
    PC3 $20
    But I need the data aggregated. An aggregation utilizing the hierarchy above will make the data look like this:
    PC1 $60
    PC2 $30
    PC3 $20
    Instead of building an aggregation program, it would be usefull if it was possible to extract aggregated data.
    Any comments appreciated.
    Regards
    Martin

    Thx Olivier,
    The problem is that I need a functionmodule that can apply the OLAP aggregation for a hierarchy to the data outpu from RSDRI_INFOPROV_READ_RFC.
    ... or the best alternative would be if there were a fm/class that could provide me with the hierarchy aggregation of the data.
    /Martin

  • Adobe offline form with capablity to read data from a local data base.

    Hi ,
            We have customer requirement for a offline Adobe form which will be used by Sales rep, this form when saved to the local hard disk is required to read data from another local data base available in the laptop  and prefill a few fields in the form . 
    Is this requirement technically feasible using Adobe forms?
    Thanks
    Srikanth S

    Well may be it's possible because if you go to the Data View in ALD and create a new Data Connection --> OLEDB database --> Build --> It gives you various options for connecting to different DBs but frankly speaking I have never tried it.
    Check the ALD help for more information on the topic.
    Using LiveCycle Designer > Working with Data Sources > Connecting to a data source > To create a data connection to an OLE database
    Chintan

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

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

  • Loading Data from one Cube into another Cube

    Hi Guys,
    I am trying to load data from one cube A to another cube B. Cube A has data around 200,000 records. I generate export datasource on Cube A. Replicated the datasource and created InfoSource and activated it.
    I created update rules for Cube B selecting Source as Cube A. I do have a start routine to duplicate records in Cube A. Now when I schedule load,
    It stops at Processing Datapacket and says no data. Is there something wrong with the update routine or is there any other way to load form cube to cube in a simpler way?
    Thanks in advance

    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.

  • 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

Maybe you are looking for

  • Itunes will not open in my windows 8 laptop

    Itunes will not open on my windows 8 computer..can someone please help?

  • SOAP with login

    Hi, before I can use a webservice in a file to SOAP scenario I have to call an other  web service where I will get for a request message (database, user, pwd) a response message (session-id). This session-id and the file I need to call the original 

  • External HD  wake up

    I have 5 HD external and i don't understand why, when I start Safari, or any application located on the internal disk of my mac , all the external DD are wake up for a long time and sleep again. In system Preferences, i click Energy Saver. Leopard ha

  • XE with Oracle Warehouse Builder.

    I love this new database for application development. Has anyone tried installing the OWB design repository to XE. I changed some parameters in mine that eliminated some errors but still could not get a successful install. I appreciate any comments.

  • CSS works on local host but not when ftp to server

    I am completely stumped. I have a site I built on a development platform in XAMPP. The jQuery lightbox css styling works great. I FTP the files to the server and the css styles are no longer being applied. I hope someone can help me. The link to the