DATA Transformation Vs Update Rules ?

Hi guys,
      I have a scenerio , where I need to have data from 2 DSOs in to one combined DSO. Lets Says the 2 DSOs as DSO A and DSO B. and the Third as DSO C.
    I want to get DSO C Structure as exactly as DSO A. and DSO B structure is only few fiew fields from DSO A (Key Fields are same). I have loaded the data in to DSO A and DSO B using Transformation and DTP . Now How to load DSO C data I mean combined data of DSO A and B.
1.If I create update Rules to DSO C using DSO A and DSO B. Iam not getting any data in to DSO C. (Do I need to make any settings in DSOs to update the data of A and B in to C ?).
2.If I create 2 transformations between DSO A -C  and DSO B-C. I am sure I need to create DTPs to get the corresponding data. When I do that Iam getting 2 separate sets of data for DSO C. But I need data as one set from DSO A & B in to C.
Please help me ASAP and let me know if you need more information on it.
Thanks in advance

Hello Harish,
I just got confusedwith the requirement. When u r loading from 2 sources (here it is DSO A and DSO B), then obviously u will get 2 rows whne u manage your DSO C.
But, in case u r referring to data, then there should be some commonality between A, B and C, thenonly it will not come as seperate rows in your report.
Can u send the details of DSO A, B and C ?
-- Plz assign points if helpful --
Regards,
Mainak

Similar Messages

  • Can routine replace "master data attribute of" update rule for performance?

    Hi all,
    We are working on CRM-BW data modeling, We have to look up agent master data for agent level and position for each transaction data. So now we are using "Master data attribute of" update rule. Can we use routine instead of "Master data Attribute of" ? Will it improve the loading performance? Since we have to load 1 lack transaction records , where as we have 20,000 agent details in agent master data.My understanding is, for each record in data package the system has to go to master data table and bring the agent details & store in cubes. Say one agent created 10 transactions, then this option "master data attribute of" will read the agent master data 10 times even though we are going to pull same details for all 10 transactions from master data. if we use routine, we can pull the agent details& storing in internal table removing all duplicates and in update routine we can read the internal table.
    Will this way improve performance?
    let me know if you need further info?
    Thanks in advance.
    Arun Thangaraj

    Hi,
    your thinking is absolutely right!
    I don't recommend to use the standard attribute derivation since it will perform a SELECT to the database for EACH record.
    Better implement a sorted table in your start routine; fill it with SELECT <fields> FROM <master_data_table> FOR ALL ENTRIES OF datapak WHERE OBJVERS = 'A' etc...
    In your routine perform a READ itab ... BINARY SEARCH.... I believe that you won't be able to go faster...
    hope this helps...
    Olivier.

  • Master Data lookup in Update Rule problem

    Hi all,
    I am currently having a problem loading data to an InfoCube using flat files.
    The architecture is as follows:
    1) The source of the data is a flat file
    2) The data is loaded thru an Update Rule and is of type Full-Update
    3) The Update Rules determines the Profit Center using the Master Data of the WBS-Element
    4) The data is written in an InfoCube
    This solution however does not always work as planned. In the following situation a problem occurs:
    1) The flat file contains WBS-element RD.00753.02.01, which has a Profit Center attribute value 8060
    2) When I load the flat file, the PC value 8060 is written into the row in the InfoCube, which is correct
    3) Then I change the master data of the WBS-element by setting the Profit Center attribute value to 8068
    4) I run the Attribute Change Run
    5) Then i load a flat file again, which also contains WBS-element RD.00753.02.01
    6) The master data attribute value should now write the value 8068 into the InfoCube. HOWEVER, this is when the evil occurs. BW does not write a PC value of 8068, but it write the value 8060. This is wrong.
    Why does BW not take the newest version of the Master Data to performe the attribute value look-up? Or why doesn't BW write the correct Profit Center into the cube?
    Thanks,
    Onno

    Hi Ricardo,
    The debug via PSA simulation of the update indicates that the CORRECT Profit Center value is to be written into the InfoCube.
    However, if I check the contents of the cube (after the load has finished) using the request-id the WRONG Profit Center value is shown. This indicates that the correct Master Data is used, however the update of the Cube is wrong. Why does this happen. the load is of type full-update, so should add a new row in the cube using the value in the data from the UR.
    Onno

  • Master data Attribute of ( Update rule)

    Hi SDN,
    I Just want to know the procedure to create update method of Master data Attribute of . coild any one tell me step by step
    Regards
    sujan

    3.     Creation of data targets
    •     In left panel select info provider
    •     Select created info area and right click to select Insert Characteristics as info provider
    •     Select required info object ( Ex : Employee ID)
    •     Under that info object select attributes
    •     Right click on attributes and select create transformation.
    •     In source of transformation , select object type( data  source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    •     Activate created transformation
    •     Create Data transfer process (DTP) by right clicking the master data attributes
    •     In extraction tab specify extraction mode ( full)
    •     In update tab specify error handling ( request green)
    •     Activate DTP and in execute tab click execute button to load data in data targets.
    cheers
    John

  • Inverte - Date function in Update Rules

    Hi All,
    We are writing a code for converting the data into a date field using INVERTE-DATE function.
    The field GDATU in the Table TCURR needs to be converted.
    GDATU - Date As of Which the Exchange Rate Is Effective. This is not in proper format, hence we used the below code to converte in to a proper one.
    TABLES: TCURR.
    DATA: tcurr_tab TYPE TABLE OF tcurr.
    data: date_normal type sy-datum.
    FIELD-SYMBOLS
    <tcurr_wa> TYPE tcurr.
    SELECT gdatu FROM tcurr INTO corresponding fields of
    TABLE tcurr_tab.
    SORT tcurr_tab BY gdatu.
    LOOP AT tcurr_tab ASSIGNING <tcurr_wa>.
    break-point.
    CONVERT INVERTED-DATE <tcurr_wa>-gdatu
    INTO DATE date_normal.  "move that to normal date field
    write:/ date_normal.    "take a normal date field
    ENDLOOP.
    when I check for this code... it gives us the below error message
    E:Variants with INVERTED-DATE are no longer supported in the OO context.
    Use TRANSLATE ... USING '1928374664738291' instead
    Can anyone suggest me what could be done to solve this issue.
    Thanks,
    Maddy

    Hi Maddy,
    If you do F1 help for 'Inverted-Date' you will get the reason as:
    Cannot Convert Dates
    The statements CONVERT DATE and CONVERT INVERTED DATE are not allowed.
    An error message occurs in ABAP Objects if the following syntax is used:
    CONVERT DATE f1 INTO INVERTED-DATE f2.
    CONVERT INVERTED-DATE f2 INTO DATE f1.
    Correct syntax:
    CONSTANTS comp_nine(20) TYPE c VALUE '09182736455463728190'.
    f2 = f1.
    TRANSLATE f2 USING comp_nine.
    f1 = f2.
    TRANSLATE f1 USING comp_nine.
    Reason:
    Date conversions are used mainly to influence the sort sequence in in internal tables. This function can be replaced by the additions ASCENDING or DESCENDING of the statement SORT. If required, you can easily program the nines complement yourself using TRANSLATE.
    Regards,
    Saba

  • Loading time-dependent master data using update rules/transformations

    Hi
    I am trying to load time-dependent master data to an infoobject. It seems that I get an error message on duplicate records if I use a transformation or update rule. Does this only work with direct update ?

    In the DTP you have the option to ignore duplicate records....
    Just select that and then load data...

  • Error in Transformation generated by Update rule 0SD_O01 to 0SD_C03

    Hello Friends..
    I created Update rules from 0SD_O01 to 0SD_C03, and then, generated a transformation to do loads.
    But when I do this the following error is happening in my routines
    E:The data object "COMM_STRUCTURE" does not have a component called "RATE_TYPE".
    Could you help me to solve this?
    Thanks and best Regards

    Hi,
    Follow the steps:
    1. Right click on the Cube 0SD_C03 and goto Additional functions->Create update rules.
    This option will create update rules from Cube.
    2. Enter the DSO name 0SD_O01, in the DSO option box.
    This will create your update rules.
    If you want to schedule a load from DSO to cube go to tcode RSA12 and search for your DSO 8SD_O01 and create Info Package.
    Tip: You can use either Transformations or update rules to update to data targets in 3.5 or 7.0 as well.
    If still in doubt just reply.
    Cheers,
    Satisfied!! Please reward.

  • Need help in assigning date to a field in Update Rule.

    Dear all,
    I am stuck with a small problem but could´t find a solution. I need to fill a date field (Last Movement date)  in the update rules. Currently it is being filled correctly. I need to just enhance the code in ELSE part, that is if i don´t find a relevant date in a look up ODS, i need to assign a future date i.e 99991231.(31.12.9999). When i write the same thing in the ELSE, RESULT = 99991231, the date is not filled. it is showing blank.
    Any help would be appreciated.
    Regards,
    Srini

    Hi,
    If you are assigning the value directly, mark it in single quotes.
    For example: Result = '99991231'.
    This will work.
    Regards,
    Yogesh.

  • Data not loading /updating into cube 0lc_c03

    Dear Friends,
    I extracted data for three data sources i.e. 2lis_03_bx,
    2lis_03_bf,2lis_03_um i got data in BW PSA with out any
    error but that data is not updating in cube 0lc_c03
    i have done settings at r/3 at t.code mcnb,SBIW and I had make NDI flag active at t.code FIBF. do i need to right.
    at SBIW I have done like this settings: Inventory controlling
    1,Determine Industry sector I have selected Standard (core).
    2,Transaction key maintenance for SAP BW I have selected application MM and operat all i.e. 0,1,2,3,4,5,6........all of MM and saved
    3,Then stock initialization.
    and deleted setup table data for inventory controlling
    and after assigning keys I again loaded setuptable.
    I am geting data in r/3 rsa3 and in BW PSA with out errors for all three data sources but not geting in cube
    but at data source 2lis_03_um update rules there are few key figures with out green light i.e. 'x' but update rules are active please guide me do ineed to write
    any update rule level routines please guide me.
    please guide me how to get data into cube.
    Thanks in Advances
    rafeeq ahmed
    <b></b>

    Hi rafeeq,
    Are you using business content update rules or custom.
    check each rule seperately. do a simulation on the data load, if you feel the update rules are correct.
    Check if your validity table is maintained.
    hope it helps.
    kris

  • Update Rule - Logic to lookup

    The daily Inventory Cube stores the values (populate via a routine in the Update Rules) of some key figures
    I want to use those key figure values in another ODS.  Can I carry out a lookup in the UR for these values if so how? Thanks

    hi Niten,
    take a look sample codes
    Is it possible to read a third ODS in update rules between two ODS?
    Restriction of data selection in update rule start routine.
    Start Routine in Update Rules to populate additional fields from ODS
    hope this helps.

  • 0PS_C02 update rules are not getting activated when i install 4rm BI conten

    Hi All,
    In BI Dev. sys for PS module-  Project System - Dates 0PS_C02 cube-  update rules are not getting activated when i install from the business content and its giving the error  " IC=0PS_C02 IS=0PS_DAT_PRJ error when checking the update rules                Message no. RSAU461" .
    I deleted the inactive update rules(6 nos) and installed again from BI Content, then the same issue raising.
    Can anyone help me out as i stuck up with this to move to go-live.
    Thanks,
    Sakali

    Hi Vassu,
    here are some of the reasons for getting error in update rules activation.
    1. Check the formula or routines that are used in Update rules and check is there any syntax errors.
    2. check whether the mappings are correct or not.
    3. check the info objects which ur used for mapping are in active or not..
    (or) if the info object may be deleted which ur using for mappings.
    Thanks
    Sai Chand.

  • ABAP program running time-BW update Rules

    Hi All,
    I have an ABAP program that is in one of the update rules from source ODS to destination ODS. Source ODS has 20million records. When we are loading the records to destination ODS , Is there any way I can find howmuch time will take to process 1 record and also when it is running how do I know howmany records it has processed or howmany yet to process ? I have tried with SM50 but not able to find much useful information?
    Please help me and if you have any documents please send it to [email protected]
    Regards
    Vennela

    Hi Vennela,
    just choose one request and click on monitor -> details. Click on processing -> Data Package 1 -> Update Rules. If you put the cursor on the first node, you'll see a date and time field on the screen (below). If you click on the last node you'll see how long it took to process the records.
    Another possibility would be to run it in simulation mode and check the response time. To do so, you'll have to click on 'Response Time' in the SAP GUI field below at the right side of your screen (normally it shows the system name and mandant).
    Hope that helps!
    Regards
    Nicola

  • No changes in Update rules even after changes in Communicatin struct

    Hello All,
    I have made changes to a transfer structure i.e. I added a field in the Communication structure and mapped in the transfer structure. I was expecting the update rule to be deactivated after this. But the Update rule is activated. Because of this I am not able to accomodate my new infoObject in the update rule. What might be the problem?
    Regards,
    KP

    Hi KK PP,
                     Update rules are only pertained to Data targets,These helps to map the object to the Infosource using a rule.If you change the transfet structure or communication structure it will not effect update rules.If you add some object to your data target then update rules will be changed.
    Regards
    Karthik

  • Error when transporting a transformation (Update rule) BI 7.0

    Error when transporting a transformation (Update rule) BI 7.0
    Hi all,
    I’m trying to transport the transformation between the infocube 0FIGL_C10 and the ODS 0FIGL_010 from BI Dev into BI QAS. I kept getting a return code 12.
    Transport message:
       Program terminated (job: RDDEXECL, no.: 18141700)
       See job log
       Execution of programs after import (XPRA)
       End date and time: 20070620181432
    I go to the log and I got the following message:
    Job started
    Step 001 started (program RDDEXECL, variant, user ID DDIC)
    All DB buffers of application server vrxsapq1 were synchronized
    ABAP/4 processor: ASSERTION_FAILED
    Job cancelled
    I’m using BI 7.0
    I don’t know what it is. Can someone tell what should I do or what I’m missing?
    Thanks a lot
    Regards
    Vic

    Hi Victor,
    check this thread may it solves your problem
    Re: Error during the creation of transport request
    one more thread
    /message/2785863#2785863 [original link is broken]
    cheers
    Sunil
    Message was edited by:
            Sunil John

  • Need to create a transformation based on Update Rules Logic

    Hi,
    I have an existing complex Update Rule. I need to manually create a Transformation based on this Update Rule logic. The Start Routine of the Update Rule comprises of:
    1) All data declarations in the Global Area
    2) The local coding area consists of various select statements from various r/3 tables used later for mapping. It also calculates and stores values in the Data Package final internal table for few infoobjects that are not present in the Source object but and are used to populated data in the target.
    3) then we have the various one to one individual Infoobject mappings/constants and many individual infoobject routines that pick result from the comm_structure
    I am not very clear as to where each of the above coding logic should be put in the transformation coding area...... I can see four main coding areas in the transformation....global area, 2nd Global Area, Method Start_Routine and Method Inverse_Start_Routine........... I think the global data declarations(point 1 above) should be put in the Global declaration area of the start routine. The local area of the update rule logic (point 2 above) that contains select statements should be put in 2nd Global part or should it be put in Method Start_routine????? Point 3 above for individual filed mappings will be done through Rule groups. Also can anyone let me know what is the methos inverse_start_routine used for?????
    Thanks.

    Hi,
    Point 1 you mentioned should be put under2nd Global declaration part of start routine.
    Point 2 should be put under Method Start_routine.
    Point 3 as you only mentioned can be done by individual field rule mappings.
    Method inverse_start_routine
          This subroutine needs to be implemented only for direct access
          (for better performance) and for the Report/Report Interface
          (drill through)
    Not very clear though about Inverse routine. But definetly not being used for the case you mentioned.
    Hope it helps.

Maybe you are looking for