Remove double records during data upload from one InfoCube to another

Dear Experts
We have transactional financial data available in an InfoCube including cummulated values by period . Some companys have 12 reporting periods (0FISCPER3) and some companys have 16 periods (but all 16 periods are not always filled) . The data must be prepared for a consolidation system which expects only 12 periods. Therefore I bulit up a routine with the following logik:
If period > 12, result = 12, else result = source field.
But as the data target is (must be) an InfoCube the new values with reporting period 12 are not overwritten, but summarised instead. This means the original records with period 12 and the new records - see example:
Records before transformation:
Period   Amount
12          100
13           120
Records after transformation in the InfoCube:
Period   Amount
12          100
12           120
This would lead to the following aggregation:
Period   Amount
12          240
But as the values per period are cummulated, the consolidation system only needs the last period. So there should be only  one record left in the InfoCube:
Period   Amount
12           120
Is it possible to delete dublicate records or do you have any other idea to to keep only the record with the last period (e.g. period 13) and to assign the value 12?
Thanks a lot in advance for your help!
Regards
Marco

Hi,
You have two options here, you can put DSO in between the Datasource and infocube, and load the delta using the change log.
Second is use delete the overlapping request from the infocube, it will delete the previuos requests and load the new request.
Check the below article:
[Automatic Deletion of Similar or Identical Requests from InfoCube after Update|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0431c48-5ba4-2c10-eab6-fc91a5fc2719]
Hope this helps...
Rgs,
Ravikanth

Similar Messages

  • Delta upload from one InfoCube to another InfoCube

    Hello, Everybody,
    I have such situation:
    Data is loaded into Infocube A using web service. Into InfoCube A loaded data: item_1, item_2, amount, date.
    Field date in this case is used for handling data versions. I need to use the newest date data for my planning layouts (BW-BPS).
    Is it possible to have another InfoCube B and load into that Cube B only delta data from InfoCube A ? If yes, how could I do it?
    Thanks in advance!
    Best Regards,
    Arunas Stonys

    Hi Arunas,
    If your web service load is creating a "request number" in the infocube, you can create a variable on 0REQUID pick up the latest value. This could be used to filter your BPS data.
    You cannot identify delta from a cube as only addition of Key figure are supported. Delta are created by overwrite ODSs.
    Thanks,
    Jerome.

  • Foreign Currency Valuation during Data Migration from one server to another

    Dear Gurus,
    Our client wants to upload old data history of foreign currency valuation to be uploaded in the new server.
    Is it possible? & how?
    I have checked the table name is "BWPOS" but there is no data available while the data is available in transaction F.05
    An early help is required.
    Regards,
    Atul Vashist

    I have forwarded the required document at above mentioned ID. Let me know if you require further information.

  • File Uploading from one system to another system

    Hi to all
    I acn any one give a sample code for uploading from one system to another system using java code.
    please very urgent
    Thanks in advance
    With Regards
    Jitendra

    I am very sorry for that
    What i want is to transfer a file from my system to
    another system using Http connectionDoes the other system support http uploads?
    http://forum.java.sun.com/thread.jspa?forumID=31&threadID=451245

  • Customer master data updation from one system to another system

    HI  Experts,
    I have an issue with customer master data updation from one system to another system. And here only one field is not updating properly from one system to another system. and we found this is through idoc , but we don't find field in any segment.
    and the field is called ADDR1_DATA-HOME_CITY.
    and this will displayed as different city in address column.
    but as per the notes given in help , it is by program , form through only passing. but not able to trace and as per my analysis ADRC table , ADRNR  had this field HOME CITY.
    And this is for some customers updating wrong one from one system to another system , and for some customers field itself not updating in address column.
    please can you suggest any one. here are screenshot for your reference.

    that is not enough, it was enough in times before 40b release, but this was in the  last century
    Please read OSS note 384462 - Master data and addresses
    it explains what you have to do for ALE

  • Copy one query from one infocube to another infocube

    Hi BW Experts,
    Hope all of them are doing good.How can we copy one query from one infocube to another infocube.
    I have infocube1 having one query ,I  NEED to copy that query to  infocube2? How?
    Could you please help me out?
    Thanks

    Use transaction RSZC in BW (BTW you're addressing BW experts in a BO forum better post in the Bex section of the BW forum)

  • QM master Data copy from one client to another client

    Hi QM guru...
    Kindly suggest me how i will copy all  qm master data  from one client to another client
    QM master Data like....Catlogs. MIC inspection method. sampling...etc
    Kindly suggest me how i will copy all master data
    Thanx
    Regards
    Akil

    Dear Akil,
    I think that LSMW can be of help in this case.
    Otherwise, please check with your ABAPer whether any BDC is there for mass uploading of master data.
    Regards,
    Kaushik

  • Purchase Order Data transfer from one client to another client

    Suppose i have created some purchase orders in one client( development server) and that are accurate according to our need .
    Now instead of creating same purchase orders again in production server is a useless task.
    SO i want to upload these purchase order directly from SAP development client to production client.
    How to execute this task.
    Please help me  out.
    I think it needs ALE concept .
    I know the ALE concept but i never uploaded the transaction data through ALE only i have uploaded the MASTER DATA.
    For eg i have transfered the material from one server to another server but never transfered the purchase order.
    CAN anybody help me out with simple example then it will greatful to me.
    Thanks a lot

    hi u can use BAPI to call that PO FROM ONE CLIENT TO ANOTHER CLIENT.
    FOR that, use, data: wa_destination type gsval.
      CASE sy-sysid.
        WHEN 'DVH'.
          CONCATENATE 'DVC' 'CLNT' '021' INTO wa_destination.
        WHEN 'QAH'.
          CONCATENATE 'QAC' 'CLNT' '129' INTO wa_destination.
        WHEN 'SUH'.
          CONCATENATE 'SUC' 'CLNT' '222' INTO wa_destination.
        WHEN 'PRH'.
          CONCATENATE 'PRC' 'CLNT' '222' INTO wa_destination.
      ENDCASE.
    call function  BAPI_PO_CREATE DEATINATION WA_DESTINATION
    COMMIT
    REWARD POINTS IF THIS IS USEFUL

  • Copy Version-Budget data copied from one version to another-How to view Data in Copied Version.

    Dear All,
    Budget Data is copied from one Version to another Version using Tools>copy Version option. How can you view Data copied to new Version, when you receive a message Version is successfully copied.
    I think we can do that by selecting appropriate version in the version dimension while accessing the Forms or in Smart View.
    Can you please let me know how to do this or different options available with this process.
    Thanks in Advance for your valuable time...

    A form to check the data with the correct POV, a Smart View query, excel addin retrieve, financial report, export data, report script, take your pick.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Importing records into a table from one server to another server

    I have two servers running Oracle Portal, these two servers are not connected at all. I need to export the records from one table on server one into a table (defined exactly the same) on server two.
    How do I go about this? I know that I can query the rows and extract the information into HTML, Excel or ASCII on server one… can I use one of these query outputs to somehow import into the table on server two?
    Is there another method to accomplish this operation that I've overlooked?
    Thanks in advance.

    Export and Import are standard Oracle Database Utilities
    with 9i version you can use simple export-import
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#SUTIL001
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch02.htm#1656
    or use with 10g a faster type of export-import
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#i1007466
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#i1007653

  • How to load data from one Infocube to another request by request using DTP

    Hi All,
    I have a scenario where we are maintaining backup Infocube B for Infocube A.  User loads data from a flat file many times a day in different requests.  We need to maintain backup of the Infocube A on weekly basis.  i.e data to be refreshed with delta update from cube A to cube B.  There are some situations where user deletes some of the requests in Infocube A randomly after use.  Will this change effect in back up cube B when performed data refresh from cube A to cube B.  i.e. this functionality is similar to reconstruct in BW 3.5.  Now we are running on BI 7.0 SP 9.
    Can anyone answer this ASAP.
    Many Thanks,
    Ravi

    You cannot load request by request, " Get Data By Request " DTP loads request by request on " First In First Out " basis. You can run some Pseudo/Fake DTP's if you dont want to load data from a particular request.
    If the user deletes a request from Cube A, it wont be loaded to Cube B but if it is already loaded in Cube B and later the user deletes the request from Cube A you have to delete the request frm Cube B. Inorder to monitor request by request run DTP with   " Get Data By Request set.

  • Copy data pages from one workspace to another in JDev 10.1.2

    Hi:
    I have a workspace-1 that has a model and viewcontroller projects. No, I created another wrokspace-2. I created the same model. When I tried to copy the data pages from workspace-1 to workspace-2, it didn't allow me. Can't this be done? Have I to create the datapage every time from the, Component pallette and Data controls.

    Hi,
    In JDeveloper 10.1.2 there is no refactoring support for this. You can always copy the files on the filesystem and add them to the second workspace
    Frank

  • Copy query from one infocube to another infocube

    Hi expert
    We have a one infocube (ZSD_C03) that is a copy from another one (0SD_C03), so we want to make a copy one query form 0SD_C03 to ZSD_C03, any idea to do that.
    Thank a lots

    If the two cubes have exact same definition query can be copied by tcode RSZC . Give the source and target cube name and select query radio button , it would give all queries on source cube . You need to give  name for query  , restricted KF , calculated KF on target cube . Make sure Calculated  KF and Restricted KF are copied .

  • Issue while creating service PR during data upload from xl

    Hi Sap gurus,
    I have an issue while uploading the data from exl sheet for purchase requisition.
    Here I am using the following bapi and code is follows.
      Call function 'BAPI_REQUISITION_CREATE'
    EXPORTING
       SKIP_ITEMS_WITH_ERROR =
        Importing
          number = prn
        tables
          requisition_items = i_item
          requisition_account_assignment = i_accnt_assngmnt
       REQUISITION_ITEM_TEXT =
       REQUISITION_LIMITS =
       REQUISITION_CONTRACT_LIMITS =
        requisition_services =  i_item_service
        requisition_srv_accass_values = i_item_servval
          return = return1.
       REQUISITION_SERVICES_TEXT =.
    Purchase requisition is being created however it is not updating service details though I am using the item category as ‘D’ which is nothing but service.
    In bapi updated service details.  Please can you help me to come out of this issue?
    Also inform me what is difference between line number and package number in service line item details.
    I am passing the item number to both fields like line number and package number.
    Or is it configuration issue please let me know.

    Hi Experts,
    If I use mapping as shown below then I am getting error "Business Partner C6220 does not exit" and Bp are not created.
    1 C6220 <b>PERS_NUMBER</b>
    2 Mr PERS_TITLE_KEY
    3 A PERS_FIRSTNAME
    4 D PERS_INITIAL
    5 Kale PERS_LASTNAME
    6 [email protected] PERS_E_MAIL
    7 A1 Road PERS_STREET
    8 Pune PERS_CITY
    9 IN PERS_COUNTRYISO
    10 411001 PERS_POSTL_COD1
    11 13 PERS_REGION
    12 PERS_LANGU_CORR
    Can someone suggest solution?
    Thanks and regards
    Ambar

  • Error while data shifting from one table to another table

    i have two tables.
    in one table i dont have constraints.in anothe rtable i have constraints.
    my requiremnt is i have to shift data from unconstrained table to constrained table
    while shifting data any constaint violation is there system hasto raise error by specifying the error
    in below example it should be ename,esal values not null.
    i tried with save exception but it gives only error.i want error by mentiong that column names also ie ename,esal is not null
    if ename value only null then it should be give ename is null
    create table tablea (eno number(10), ename varchar2(20) not null, esal number(5) not null)
    create table tabl (eno number(10), ename varchar2(20) , esal number(5) )
    DECLARE
    TYPE tabl_tab IS TABLE OF tabl%rowTYPE;
    tab tabl_tab;
    -- create an exception handler for ORA-24381
    ERRORS NUMBER;
    dml_errors EXCEPTION;
    PRAGMA EXCEPTION_INIT (dml_errors, -24381);
    BEGIN
    SELECT *
    BULK COLLECT INTO tab
    FROM tabl
    WHERE rownum<=2;
    -- add '_SR' to the job_id of the most senior employees
    FORALL i IN tab.FIRST .. tab.LAST SAVE EXCEPTIONS
    insert into tablea values tab(i);
    EXCEPTION
    WHEN dml_errors
    THEN
    rollback ; --roll backs all the good records updation
    -- Now we figure out what failed and why.
    ERRORS := SQL%BULK_EXCEPTIONS.COUNT;
    DBMS_OUTPUT.put_line ('Number of statements that failed: ' || ERRORS);
    FOR i IN 1 .. ERRORS
    LOOP
    DBMS_OUTPUT.put_line ( 'Error #'
    || i
    || ' occurred during '
    || 'iteration #'
    || SQL%BULK_EXCEPTIONS (i).ERROR_INDEX
    DBMS_OUTPUT.put_line ( 'Error message is '
    || SQLERRM
    (-SQL%BULK_EXCEPTIONS (i).ERROR_CODE)
    END LOOP;
    END;
    how to implement that.

    it should give error as ename column is not null

Maybe you are looking for

  • My podcast downloads fine from OS but not from IOS...

    Hi everyone, This podcast downloads from the iTunes on OS fine but won't download straight from iOS. Anyone know why? Nick

  • Leopard SSH problems

    I get a lag when I try to SSH to our server. I've been searching around and there were a bunch of SSH/DNS problems early in Leopard's lifetime. How have they not fixed this? I'm running 10.5.8. I found this thread on this forum. This is the response

  • Customer Account Statement sent by Email

    Is there a procedure to send Account Statement by Email, at the moment, we can only Print.

  • Very Large String

    I have a String that is suppose to hold info of about 200 MB, but when the string grows my program crashes giving a OutOfMemory Exception. Is there some JVM configuration that will help me solve this problem? Or will shifting to Java5.0 help solve th

  • Java API of javafx?

    Hi, Is there some kind of Java API of javafx? I don't want to learn javafx's scripting language, and although I understand Sun's decision to give a scripting interface, I don't want to learn it b/c it will make me violently vomit. Unfortunately javaf