Regarding Load data from one cube to other cube in BW 3.X

Hello Experts,
Here is my scenario. I have one cube say c1  from which i need to transfer data into the cube say c2 which has material code <> blank and sales quantity is 0  . We  are using BW 3.x.
Now how do i do that.
Kindly Help Urgently.

you have to write the below code in the start routine of your update rule.
DELETE DATA_PACKAGE WHERE MATERIAL IS INITIAL AND SALES_QUANTITY NE 0.
This code will delete the records where material is blank and sales quantity not equal to zero.
So at the end of the start routine, you will get only those records with material not blank and sales quanity equal to 0.
--- Thanks...

Similar Messages

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

  • Less number of Records while loading data from one cube to another

    Hi,
    We are in the process of doing major changes in the existing InfoCube.
    Before making any changes, we had planned to make a copy of the cube with data.
    For this we did the following steps :
    1. Created the new cube from the original cube.
    2. Generated Datasource on the Orignal cube.
    3. Made a update rule on the new cube by selecting the Orinal cube.
    4. Made a InfoPack on Infosouce which got created with 8<original cube>.
    5. Uploaded the data into the new cube.
    We have uploaded the data successfully from the original cube to the new cube.
    However, New cube shows less number of records as compared to the original cube.
    But the query is showing the same figures from both the cubes.
    Can anyone please advise what could be the reason for this less number of records and how the figures are showing same when we run the query from both the cubes.
    Please help.
    Thanks
    Ramesh Ganji

    Hi Ramesh,
    this is possible coz when u have loaded yr original cube, it may be loaded on daily/weekly basis. so in the cube there are many requests. Also if in the same request, if there are two records with same dimension keys ther are automatically added aggregating them.
    if req 1 has following records
    cust mat amt
    1      1     100
    1      1       50
    it will add
    1      1     150
    and if the records are seperated by different req, then both will b added individually.
    therefore when u r loading yr new cube from original cube, all records that has same dimension key gets aggregated coz they are loaded into single request. so it showing less no of records as added.
    hope this helps.
    Regards,
    Purvang
    Assigning Point is to say Thanks in SDN *

  • Loading data from one cube to another cube.

    Hi,
    Trying to copy the data from cube A to cube B...however after creating export data source(8A) on cube A, unable to find the infosource 8A.
    Do someone have any idea..... or I'm missing some steps?
    Help is highly appreciable.
    Regards,
    Jim

    Hi Amit,
    goto transaction sbiw in your BW system. Open 'Business Content DataSources' and select 'activate application component hierarchy'. After that you can additionally choose 'activate business content datasources'. Then goto rsa1->source systems. Right click on your source system (BW itself) and replicate the datasources. After that you should be able to see the application component DM in rsa1->infoSources. In application DM you should see all 8... infoSources and dataSources. If not, you should choose 'Settings->Display generated objects' from the top menu as already suggested.
    regards
    Siggi

  • Dtp error when loading data from one cube to another cube?

    hi,experts
      it seems strange that when I tick the some characteristics as navigational attributes in the cube , the error occurs during the execution of the DTP:error while updating to target Z* (Cube name ).
    once i turn the flag off , no error appear. could anyone give me a clue ?
    thanks in advance!

    Hi,
    When u make changes in the cube u need to make necessary changes in Transformation and activate the DTP.The checking of Navigational attributes in cube will appear in u r transformation as new fields where u need to create a mapping for them and then activate, also activate your DTP and then load the data. This should resolve your issue.
    Regards

  • Error when trying to load data from one cube to another

    Hi Friends
    I am getting an error when using extractor checker for datamart data source. The cube in question is compressed. this is what i get when i view the logs.
    SQL Error: 575-
    SQL0575N  View or materialized query table "SAPBWP./BIC/VZTCOOMC02F" cannot be used because.
    Please help
    Thanking you in anticipation
    Samuel

    Rememberme -
         No, the SAP_FACTVIEWS_RECREATE program cannot and will not uncompress the data. A fact view exists for every infocube which combines the E and F fact tables. You can see this view using SE11 -> View -> /bic/vxxxxf (where xxxxx is your infocube tech name). When you run this program this view is dropped and recreated thus eliminating any incosistencies that lead to the error posted in this thread.
    Hope this helps!

  • Dump while loading data from 1 cube to other cube

    Hi,
    We created a direct mapping between 2 cubes ( no start/end routines, formula exist in the mapping). Strange part is while I am loading data from one cube to other cube all data packages executing successfully only last data package giving dump with ITAB_DUPLICATE_KEY. This is in our QA system. But it is working/loading correctly in DEV.
    Please help. Thanks in advance for your support.
    Regards,
    Sai

    Hi Sai,
    Please refer to below blog for ITAB Duplicate Key error.
    ITAB_DUPLICATE_KEY Dump error during Master Data loading
    This can occur when a BW client has many different source systems, unused objects still remains, creating a duplicate entry in RSISOSMAP table.
    Regards
    Shabnam

  • 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

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

  • Load data from one Application to another in BPC NW 7.5

    Hi
    I have a requirement to load data from One application to another application.
    eg. HR Plannning to CostCenter Planning.
    I am aware of a method to load data using transformation file mapping source and target dimensions and run DM package and this works fine.
    However, the challenge is if i try to automate this process then i will have to hardcode the application tech name and save as variant to use that in process chain. Now, if i hardcode the tech name of the application then it might happen that during full optimization the tech name might change and the automation load will fail.
    so how to handle this situation? any standard practices available?
    appreciate your inputs/thoughts.
    Regards.

    Hi,
    Exactly. The main problem is that there is no statement to transfer the data. Please take a look at the below link from help.sap:
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/f4/33f0bbc46c4a53860f1410f20ffb8b/content.htm
    Since the structure of both the applications is same, you dont require add_dim or rename_dim, etc. However, you definitely need the when statement.
    If you want to transfer all the records, then you can have something like
    *WHEN ACCOUNT
    *IS *
        *REC(EXPRESSION = %VALUE%)
    *ENDWHEN
    Hope this helps.

  • How to move BCS data from one box to other

    Hello Expert,
    Dose any one know how to move BCS data from one box to other box ?
    Thanks & Regards,

    1) The best is to do the test. In my case, my customer was just doing this transfer (in full) to perform tests on the BEX reportings. Actually, they never raised any issue regarding document number when they did additional postings in test system... I would also say that during the transfer, the number counter in Qual gets not synchronized with the one in Prod. So, I think the system will just take the next number available in Qual. Should not be an issue.
    2)  As explained in answer 1), in my case, the purpose was not to perform data migration from one system to the other one. Thus, my customer never performed a subsequent consolidation in the target system. But, basically, the transfer copies all data : posting levels 00 to 30, for all periods you have selected + Additional financial data and sequence of activities. Thus, for me, everyhting is available in the target system, including COI documents. In other words, the "picture" regarding the data should be exactly the same between both system. The only thing you need to pay attention to is the customizing : it must be the same in Qual and Prod (example : date of acquisition and divestiture, structure of the group, etc...).
    Another very important thing, is that your export data source must not be enriched due to the BCS Delta load scenario. If it is the case, the system will write the consolidation logic (i-e the consolidation group + reporting mode) when transferring the data from the source Real Time Infocube to the Target Real time infocube, which will lead to inconsistent data in the target system.

  • How load data from One Infoobject to Another Infoobject?

    Hi GuRUS
    Any body has succeded in loading data from One Infoobject to Another Infoobject?
    Pls Let me kNow
    Regards
    Durai

    Hi Durai,
    Create export datasource on the info-object and then load the data to the other info-object.
    Check this link also:
    Re: How load data from Infoobject to another Infoobject?
    Bye
    Dinesh

  • To load data from a cube in SCM(APO) system to a cube in BI system.

    Experts,
         Please let me know whether it is possible to load data from a cube in SCM(APO) system to a cube in BI system.If so explain the steps to perform.
    Thanks,
    Meera

    Hi,
    Think in this way,
    To load the data fro any source we need datasource Ok. You can genare Export data source for Cube in APO,  then use that datasource for BW extraction, try like this. I think it will work, in my case I'm directly loading data from APO to BW using the DataSource sthat are genaraed on Planning Area.
    Why you need to take data from APO cube?. Is there any condition for that?. If it is not mandatory, you can use the dame datasource and load the data to BW, if they have any conditions while loading the data from APO to APO cube, they you try check wherther it is possible in BW or not. If possible then you use DataSource and do the same calculation in BW directly.
    Thanks
    Reddy

  • Automatically trigger the event to load data from Planning cube to Standard Cube

    Hello,
    We have a below set up in our system..
    1. A Planning BEx query using which user makes certain entries and writes back data to the planning cube.
    2. An actual reporting cube which gets data from the planning cube above.
    Now, what we want to do is to automate the data load from Planning cube to Reporting cube.
    This involves 2 things..
    1. Change the setting " Change real time load behaviour " of the planing cube to Planning.
    2. Trigger the DTP which loads data from Planning cube to reporting cube.
    We want to automate the above two steps...
    I have tried few things to achieve the same..
    1. Created an event in SM64,
    2. In the Planning cube "Manage" Screen,  clicked on "Subsequent Processing" and provided the event details. ( Not sure if its the correct place to provide the event detail ).
    3. Wrote a ABAP program which changes the setting of the planning cube (  " Change real time load behaviour " to Loading )
    4. Created a process chain, where we have used the event as a start variant, used the ABAP program as a next step, DTP run as the last step..
    This i hoped, would trigger the event as soon as a new request comes and sits in planning cube, which in turn would trigger the process chain which would load the data from Planning cube to reporting cube..
    This is not working. I dont think the event is triggering, and even if does i am not sure whether it will start the process chain automatically. Any ideas please ?

    hi,
    try to do the transformation directly in the input cube by using CR of type exit, more details :
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/43/1c3d0f31b70701e10000000a422035/content.htm
    hope it helps.

  • Load data from an infocube into other infocube

    Hi guys....i try to load data from an infocube to other infocube.....i generated the infosource for export without problems i can visulize the datasource in my BW System assigned well...but how i can run the extraction from one infocube into the other?
    I view that in ODSs there's an option to run load of data into datatargets but in the infocube i can´t find this option......
    is there anything else to do?
    Regards

    The Infosurce and Datasource was linked automatically i can see this in Source System Myself but i can´t see it  in Infosources Tab and i can´t create a Infopackage....that´s my problem

Maybe you are looking for

  • After Effects CC (2014) is unable to start: 1956 GPUManager 2 Sniffer Result Code: 3

    I´ve just installed the Test Version of After Effects CC (2014) and when i´m starting it there is an error message: "After Effects Error: Crash during processing. Last protocolled report: <1956> <GPUManager> <2> Sniffer Result Code: 3". Now I´m only

  • Removing Java 2 SDK, SE v1.4.0

    I downloaded the SE v 1.4.0 SDK quite some time ago when I believed I would start learning Java and never got started. Now that I'm in the process of trying to learn, I am wondering if I should remove this sdk before downloading and installing the J2

  • Permissions problems and how to remove bad *.kext extensions

    I'm having major problems after installing 10.7.3 combo. My permissions have changed and I can't boot from my internal drive. I've repaired permissions with disk utility and Disk Warrior, reset disk permissions in all drives and they won't boot prope

  • Mail outage

    on 17th March apparently there was a problem for some   mail addresses : as shown on apple support system status under icloud: Mail -  2:00 PM - 3:15 PM  - 0.05% of users were affected Users may have experienced delays sending and receiving messages

  • How could I install photoshop elements 9?

    I have downloaded photoshop elements 9 and I would like to have the program on another computer. I don't have to have the most recent version because I downloaded version 9, and I'm fine with the older version. I really do not want to pay $100 for an