Copy Update rules with routines

Hi,
How can i copy the update rules (with routine) for a cube from the  predefined update rules of some cube.
Like its giving error when i am creating update rule, with using the Template functionality in that.
Please give step by step explanantions....

Hi,
Try this.
Copying/Transferring Update Rules from a Template
http://help.sap.com/saphelp_nw04/helpdata/en/02/70f837329cb402e10000009b38f889/frameset.htm
Hope this helps.
Thanks,
JituK

Similar Messages

  • Is there a possibility to copy update rules?

    Hi All,
    I have to load data from a number cubes into an ODS.
    All of the cubes have exactly the same structure.
    I created export data sources for all cubes and an uodate rule for one of these cubes  with a start routine and a lot of routines for info objects.
    When I try to use this cube as a template for update rules
    of the other cubes, I get an error.
    The entered InfoCube is not suitable as a template for copying the update rules
    I there another way to copy update rules? I can't believe,
    that I have to create the same rouitnes for each source.
    Thanks in advance
    Joe

    Hi,
    thanks for reply, but that is exactly what I did,. My problem is that.
    I'm trying to create update rules for the same target from different
    sources (export data sources with the same strucuture) and facing the mentioned error.
    Regards
    Joe

  • Copy Update Rules

    Hi Gurus,
    We installed some Business content cubes along with the corresponding update rules. We want to do Z-copy of the cube. How do we copy update rule of a Business Content Cube (eg 0PUR_C01) to a Z-copy of the same cube (eg ZPUR_C01)?
    Please let me know
    Thanks

    We have a standard ODS which gets updated thru update rules from an Infosource. However, the next level Data Target (which is a Standard infocube) gets updated from the ODS. While doing the Z-copy of ODS I did have the original ODS as in the 'template' field in the 'create update rule' initial screen and I got the update rules copied in same way as it is with the original ODS. However, I am not sure what exactly I need to do for copying the update rules from the Z-ODS to Z-cube. What needs to be filled in the "template" field?

  • How to determine InfoCube name within the update rule start routine?

    We are attempting to delete all the records where all key figure values are zeroes. We have about 15% of such records and we really don't need them.
    We have yearly InfoCubes. We copy the InfoCube and update rules at the end of every year. So, we don't want to hard code any field names within the update rules.
    If I could determine the target InfoCube name within the update rule start routine, I can find out all the key figures dynamically. But, I don't see a way of finding out the InfoCube name.
    If you would share any ideas, I would really appreciate.
    Thanks.
    Sudhi Karkada.

    Hi Sudhi,
    I dont know if this is what you are looking for.
    if you want to delete a record from being inserted when all the Key figure values are ZERO then you can use a Update Routine for some characteristic in the below way
    If looking for the InfoCube:
    if COMM_STRUCTURE-KF1 = 0 and COMM_STRUCTURE-KF2 AND....
      RETURNCODE = 4.
    else
      RESULT = COMM_STRUCTURE-ChanracteristicObject.
    endif.
    If it is to an ODS / InfoCube in the start routine.
      DELETE DATAPACKAGE where KF1=0 and kf2=0 and .....
    Hope it helps.
    Regards,
    Praveen.
    ENDLOOP.
    Message was edited by: Praveen

  • Error when copying update rules!!!

    Hello All,
             I am trying install 0SD_C03 from business content, however I am getting following error. Cube got installed properly.
    Error when copying update rules
    Patch levels are
    SAP_BW  - 0014
    BI_CONT - 0005
    Please help me in solving this error.
    Regards,
      PNK

    Hi,
           The error message show as below. There is no longtext
    Error when copying update rules
    Message no. RSAU457
    But, when I installed FI-AP cubes, update rules are installed without any error. Is there any settings differs from FI to logistics datasources?
    Regards,
    PNK

  • Calculations in Update rules/Start routine/End Routine

    Hi Friends,
    I have loaded data to a DSO and i have three fields in to it. Lets say Filed1, Filed2 and Field3. Field1 and Field2 are being populated through an update rule in transformation. Aggregation type for these two fields are "Summation".
    Now, after the transformation executed, the Field1 and Field2 are filled with values. I want to calculate the value of Field3 as follows:
    Field3 = Field1 - Field2
    Can anyone tell me where can i do this calculation? I know we can do this in End routine and in Query  but i want to know if there is any other place i can do this calculation in transformation? In try to do this calculation in the update rule for Field3 in transformation, i dont see Field1 and Field2 as these are not source fields. I can not write formula also because we can write formula only on source fields not the data target fields.
    Your help will be appreciated in terms of points.
    Thanks,
    manmit

    Hi,
    in the start routine in the global section define the two fields:
    data: g_amount1 type /bic/oi<your keyfigure name>,
    g_amount2 type /bic/oi<your keyfigure name>.
    in the routines to your 2 keyfigures store the result in that fields too.
    routine for field1.
    g_amount1 = result.
    routine for field2.
    g_amount2 = result.
    and in the routine to field3
    result = g_amount1 - g_amount2." or whatever calculation/derivation has to be done.
    kind regards
    Siggi
    Message was edited by:
            Siegfried Szameitat

  • No update in update rule by routine

    Hi,
    Is it possible to set to no update in update rules using a routine?
    I am updating to ODS in the update rules if value is 'X' for an char want no update - so that it will retain the value in the target ODS for that char for the key combination. The value 'X' is being derived in the start routine.
    Thanks
    Unni

    Hi Unni,
    I've tried in the past to, but it didn't work ... since you are updating an ODS a workaround (not so good I know) is to replace the value of the field sent by the Comm Structure with the result of a SELECT SINGLE pointed on the active table of the ODS.
    I mean
    IF FLAG = 'X'
      SELECT SINGLE FIELD_XXX INTO RESULT
        FROM /BIC/A<YOUR_ODS>00
       WHERE KEY1 = COMM_STRUCTURE-KEY1
         AND KEY2 = COMM_STRUCTURE-KEY2
    ENDIF.
    I know it's not a pretty solution from a performance point of view ...
    Let me know if you find a better solution
    Hope it helps
    GFV

  • Error while copying Update rules from One Cube to other

    I am getting the following error message while I was trying to copy an existing update rule from an existing InfoCube to a New InfoCube. Has anyone experienced this before? Please let me know how to resolve this.
    Formula 3ZKQ....... (Object version M) could not be read.
    The new and original cubes are custom cubes.
    Thanks!

    Hi Vinod,
    Check the update rules for the original cube. Are they active? It appears that they contain a formula...check this too.
    Hope this helps...

  • Copy Update Rule from Business Content

    Hi All,
    Currently I have activated some standard BI Content E.g. InfoCube 0FIAR_C03, DSO 0FIAR_O03, InfoSource 0FI_AR_4 and all the corresponding update rules.
    Now I have copied both InfoCube and DSO into another customized version E.g. ZAR_C03 and ZAR_O03. I managed to copy the same update rule from InfoSource 0FI_AR_4 to ZAR_O03 using the template but I don't have the option of copying the same update rule from ZAR_O03 to ZAR_C03 using the same update rule of 0FIAR_O03 to 0FIAR_C03.
    I know I have the choice to manually re-create all the details but is there any other workaround?
    Please read through carefully my question. I have seen some forum asking to load data from 0FIAR_O03 to then ZAR_O03 then so forth.
    Purpose of doing the above method is because I want to remain the business content as what it is and just to copy it to Z version for customization.
    Thanks
    David Yee

    Hi All,
    Is there any other second opinion related to this issue before I close the question?
    Thanks
    David Yee

  • To copy update rule.

    Hello Experts,
    We have standard Cube, now we want to make copy of that cube..........so we made copy of the cube......everything is fine.........now we wanted to copy the same update rules for the for this new cube..
    i know by doing migration it is possible...........i.e 3.5 to 7.0
    but my question is can we copy the update rule?????????.............i.e 3.5 to 3.5
    All answers are g8ly appriciated........
    Regards,
    SD

    Hello Manasi,
    I have made copy of old cube only...............so anyhow the structure of new cube will be same as old one.........
    Also the source should be same for update rules..?????? - i did not get it.
    The dataflow of old cube is like,
    Infosource -> DSO -> DSO -> Cube.
    Regards,
    SD

  • Unable to map Update Rule with u201CMaster data attribu201D option

    Hi,
    Does anybody know the reason why sometimes, in update rules to an ODS, I cannot map an InfoObject with the option u201CMaster data attribu201D?
    I have the characteristic in the ODS, and for another update rule, to the same ODS, I am able to map this field correctly, but for a specific rule, the u201CMaster data attribu201D field appears in blank when I press F4.
    Strange this behaviouru2026
    Can anybody help me with this issue?
    Thanks,
    Best Regards,
    Joana

    Hi  Shanthi,
    I didn't insert the InfoObject as an InfoProvider.
    The problem is that I have two update rules for the same ODS object. For one I can map the characteristic correctly, and for the other, when I press F4 in the "Master Data Attrib", no characteristics appear.
    Thanks,
    Joana

  • Problem: Exchange rate in Update rules with DELTA mode

    Hi experts,
    During the loading since the ODS13BIL towards the CUBE, I use in the update rule the function
    "CONVERT_TO_LOCAL_CURRENCY" to convert a currency. 
    The loading mode is DELTA.
    If I modify an invoice in the system source (R/3) for example:  "change on" (0CH_ON), during the loading delta since the ODS towards the cube, the exchange rate is reversed (sign), which implies that the values of the ratios during the conversion with the function module " CONVERT_TO_LOCAL_CURRENCY" are false. 
    How could I resolve this problem?
    Example:
    1-First load:
    R/3:    
    Key figure 1       :100
    Exchange Rate      :-1,2
    Document currency  :USD
    Local currency        :EUR
    Change on          :00.00.0000
    ODS13BIL:
    Key figure 1       :100
    Exchange Rate      :-1,2
    Document currency  :USD
    Local currency        :EUR
    Change on          :#
    CUBE:
    Key figure 1  :100/1,2
    Currency      :EUR     
    2-Seconde load:
    R/3:    
    Key figure 1       :100
    Exchange Rate      :-1,2
    Document currency  :USD
    Local currency        :EUR
    Change on          :06/01/2006
    ODS13BIL:
    Key figure 1       :100
    Exchange Rate      :-1,2
    Document currency  :USD
    Local currency        :EUR
    Change on          :06/01/2006
    CUBE:
    Key figure 1   :100/1,2
    Currency       :EUR
    and
    Key figure 1   :-100*1,2      <-- False
    Currency       :EUR
    Thank you for your precious help.

    Hello,
    Thank you for your answer but that still not works: Give erroneous data is corrected but the data which are not erroneous become erroneous.
    I think that if I manage to return the field "Exchange misses" (0EXCHG_RATE) nonmodifiable by the DELTA mode, I cross that will resolve the problem. 
    With what is used following fields in the definition of the ODS, and it is what impacts it on the existing data:  "Non cumulative value" et "Cumulative value"
    thanks a lot.

  • Mistake in update rules with 0FISCPER

    Hi:
    I'm having a mistake during de loading of an Infocube. The monitor ends in red cause a message of the update rules (Invalid value '0400401'). This cube is updated by an ODS and the characteristic 0CALDAY. I've checked the dates in the ODS but they're normal.
    Any clue where is the mistake.
    Points for helpfull answer

    Hi Herr,
    If you are updating FISCPER from CALDAY, you can use the Time distribution in the update rule itself.
    Correct it and it should work.
    Regards.

  • Update rule/transfer routine

    i have create the update rule and transfer rule in infosource.now  what woudlbe the next step to check in dso or infocube data.
    pelase explain

    Hi
    What exactly is your question?
    Did you create an Infopackage?

  • Identify ODS change log request from Cube update rules init routine

    Hello all.
    I need to use a logic in the Start routine of a cube, whcih change log request are move from an ODS when doing a delta.
    Anyone knows if this is possible???
    Thnaks and best regards,
    Alofnso.

    Hello Oscar.
    Basically my requirement is to do a selective deletion of the cube, before I load the new data, but the selective deletion has to be done according to some fields of the data that is going to be load to the cube.
    That´s why I need this.
    Best Regards,
    Alfonso.

Maybe you are looking for

  • Different result exporting big justify text to pdf

    Hi I know that this have been asked before, but I haven´t seen a real solution to this problem for the crystal report version available to the customer (Upgrading to the newest Crystal Version its not possible in short term). This is my problem: I ha

  • Overwriting Conditions data during Material Replication from R/3 to SRM.

    Hi,       When creating a new info record and then running the material replication program everything looks OK. However, if for the same material you create a new info record or change the existing info record and then run the material replication,

  • Where are Cost Codes attached to a Project Number in Financials?

    Where are Cost Codes attached to a Project Number in Financials? Don't know where to start looking in the documentation.. I need to know where I can add GL Cost Codes to a particular Project number for our testing of i-Expenses. anybody know? many th

  • Add-on Used By Multiple Users Simultaneously

    I'm trying to implement an add-on that can be used by multiple users in SBO simultaneously.  After installation, the code I have created works great for one user, and is set to start automatically on user login for all users.  However, when I leave o

  • Best way to extend g and n networks with ethernet and AEBSn

    Can anyone suggest the best way to extend both b/g and n wireless networks using a dual band AEBS, an AEBSn and AXs b/g? I have two areas of the house served by cat5. Right now I have a wired AX set "Join wireless network" and an AEBS n wired and set