ODS Objects in update rules

Hello,
I'm using an ODS object lookup in multiple update rotines, Is there a way to list all the update rules that uses the ODS object.
for (e.g)
I'm looking up ODS 51 in the update routines for ODS 53 and ODS 56 and also in other update rules, I want to see a list of  all update rules that uses ODS 51.
Please let me know if there is a way to do this.
Thanks
Krish

Hello Krish,
You can find this information by looking at a combination to tables:
Lookup your ODS (tablename) in the program editor line of table RSAABAP. Then using the ABAP code id lookup the update rule id in table RSUPDROUT. For more information check out this link:
/thread/229531 [original link is broken]
Regards,
Mahwish

Similar Messages

  • Access to unmapped field of ODS in the update rule of CUBE

    Hi Gurus,
    I have 8 fields in ODS out of which only 5 are mapped to the characteristics in the CUBE. I have to write a start routine in the update rules of the cube. But, I need to access one field, which is in ODS but not mapped to characteristic in the cube.
    So, is it possible to use that field in the logic of start routine. Or do I have to create a new characteristic in the CUBE for that 6th field also.
    Thanks,
    Regards,
    aarthi
    [email protected]

    Hi
    You certaily should insert your infobject field in the cube to populate it. After This you can choose if populate it by direct mapping or by routine.(start routine or transfer routine)
    A classic example of start routine to populate infobject from master data
    tables : /bi0/pcostcenter.
    data : lt_data_package like DATA_PACKAGE occurs 0 with header line,
    lt_costcenter like /bi0/pcostcenter occurs 0 with header line.
    select * from /bi0/pcostcenter into table lt_costcenter.
    lt_data_package[] = DATA_PACKAGE[].
    loop at lt_data_package.
    read table lt_costcenter with key costcenter = comm_structure-costcenter.
    if sy-subrc = 0.
    lt_data_package-/bic/zpcaccgh = lt_costcenter-/bic/zpcaccgh.
    modify lt_data_package.
    endif.
    endloop.
    DATA_PACKAGE[] = lt_data_package[].

  • Update Rules changes from 1 ODS to another disappear upon activation

    Dear Experts,
    We have encountered a situation whereby we have an update rule from ODS feeding a field update to another ODS. 
    This update rule change works correctly as I have debugged it and you can see the resultant changed in the new (40) table.  But upon activating this change, the field change disappears.
    Can anyone provide an explaination and how I can go about fixing this ?
    Thanks
    Craig

    Hi,
    If the data source support deltas and we load the data into ODS then the update type for the keyfig. Amount and the quanty always Choose as "Addition" .So you change the update type for that KF as Addition .
    Thanks & regards,
    venkata sharma.

  • How do I tell if a particular update rule is used

    I have inherited a sales reporting application in BW 3.5. It has update rules from 2LIS_13_VDITM to 4 level 1 ODS. There are update rules from those 4 level 1 ODS to Level 2 ODS and cubes. So far so good. However there are also update rules from 2LIS_13_VDITM to the L2 ODS and to the cubes direct.
    My belief is that these update rules are never used. This is based on the production infopackage settings which do NOT have these objects ticked as data targets. However i would like to know for sure that these update rules have never been used.
    Question: Is there a way to tell this eg.
    a) is there a table linking infosource to destination with a date last used,
    b) or a table linking infopackage to destinations showing when a particular destination was last changed,
    c) or some other mechanism?

    Hi,
    Chk the L2 ODS which have update rules from 2LIS_13_VDITM if it has data loaded in it in production.
    If its loaded means it is used.
    You can also chk whether the InfoPackage which loads this data is used in any process chain, and then chk if that chain is scheduled in production.
    Regards,
    Mansi

  • Update Rule Routine not deleted properly

    Hi all
    I have deleted a routine from an update rule, removed the key figure from the infoprovider and reactivated both the ODS and the update rule.
    The update rule therefore no longer contains the datafield.
    Unfortunately the the code for the routine still exists in the system (RSAABAP and other tables) and references in this routine to other fields are preventing me carrying out other actions, so I need to properly remove the routine from the system.
    I cannot go back to the old generated code for the update rules as there is no version management.  I have tried putting the field back on the ODS and recreating the routine, but the system generates a new key for the routine so it looks as though I have lost the link completely.
    Any suggestions?  Is there a way of deleting an object type R3TR ROUT consistently without doing it through the Update rules change screen?
    Regards
    Hayley

    Hi,
    Let me give the solution, we are also having the same issues..
    thanks in advance
    sree

  • Message no. RSO296 - unable to activate update rules

    Object CRD4VK18Q4S6OQ2Y6IYRRL7WV (Update Rules) could not be collected for object  ()
    Message no. RSO296
    Diagnosis
    You have collected objects in the BW Metadata Repository. Associated objects for the object  of type  have also been collected. Object CRD4VK18Q4S6OQ2Y6IYRRL7WV of type Update Rules was among these objects. This object
    CRD4VK18Q4S6OQ2Y6IYRRL7WV of type Update Rules, is not, however, available in the Metadata Repository.
    System response
    Object CRD4VK18Q4S6OQ2Y6IYRRL7WV of type Update Rules is ignored in further collections. The links for object  of type  are incomplete. This may result in not being able to activate this object.
    Procedure
    If this error occurs while you are installing Business Content, a delivery error may have occurred. Inform SAP. In all other cases, check, for example, that the object has not been deleted by another user during the collection.
    Need help to activate update rules

    The "new key Figures" that I have included in ODS are added to the "old Key Figures" that are there in ODS already. The "old Key Figures  for which there are source fields. But, the "new key Figures" are dependant on the the 2 source fields.
    So, do I still need to declare these "new key figures" in the ODS?

  • Start routine and update rules

    Hi,
    What is accessed first:-
    Start Routines or Update Rules?
    What is the use of global variables in start routine?
    Please reply.
    Thanks.

    Hi......
    You have different types of Routines in BW .
    1) Start Routine in Transfer Rules
    2) Transfer Routine in Transfer Rules.
    3)Start Routine in Update Rules
    4)Update Routine in Update Rules.
    The routines that you write in transfer rules are applicable to all the Data targets that get the data from that particular Infosource, when you are going to write some code in Transfer rules, you have to understand that you are going to manupilate the data that is going to get into BW .
    If you are going to write in Update Rules , then that logic is going to apply only for that particular Data target .
    Eg : Let suppose I have a Flat file that gets data from 3 countries, US, Canada and Mexico.
    Now I have prepared the data source for the same . But I dont want to have the data of Mexico in to BW itself.
    So I will write a Start routine at TR to eliminate the data of Mexico.
    My Next step is I want the data of US into one ODS and Canada data in to another ODS.
    For this I handle the dataflow at Start routine in Update rules, to eliminate Canada data for US ODS and Vice Versa.
    Global variables in Start routine
    You can have global variables, internal tables populated by the
    startup routine. This data will be available to the field
    routines. Create yourself a start routine, declare some
    variables in the global section, and then create a field
    routine. You will be able to use the globally declared objects
    in the field routine
    Please check below help link for routines in sap netweaver 2004s
    http://help.sap.com/saphelp_sem60/helpdata/en/e3/732c42be6fde2ce10000000a1550b0/frameset.htm
    How to guide "How to transformations routines".Please check the below link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/dc1d9990-0201-0010-16aa-db3c4eb8b642
    start routine in transfer rules
    Look up to load master data
    excluding
    Start Routine in Transfer Rules
    Sample code in Update Rule to restrict data selection?
    Append Datapak - transfer start routine
    Excluding Blank field in Infopackage Filter
    Trans Routine ABAP help ..
    transfer routine
    Date key figure: Convert DATS format to DEC format
    Date Conversion in Flat File
    Transfer Routine ABAP
    conversion exit
    Date Conversion
    Problem with  conversion char to numc in transference rules
    conversion routine..?
    update routine
    How to call a function in Update Rules to reverse a key figure sign
    Need Sample Code for Update Rules
    Date calculation
    Difference between data in PSA and Data in Infocube
    No RETURNCODE <> 0 allowed in update routines in transfer mode
    the diffrerece between DEC and (yyyymmdd) 8 char in Time defination
    Access master data in update rules
    Date key figure: Convert DATS format to DEC format
    start routine in update rules
    Is it possible to read a third ODS in update rules between two ODS?
    update rule coding while loading data from ODS to CUBE
    Start Routine in Update Rules to populate additional fields from ODS
    Coding in Update Rules accessing a Z-Table
    Start routine
    Hope this helps you..........
    Regards,
    Debjani.........
    Edited by: Debjani  Mukherjee on Oct 1, 2008 4:58 PM

  • Error while Installing the update rules in business content

    Hi All,
    I got the following error,when i was installing the update rules : Object UPDR D4C8V3KA00XD5ANPVUAH9KQDJ could not be found in version M. but these update rules appear as inactive mode in bi content-object types-updaterules-selection-inactive status.
          Please could i know where we can check version status for business content pdaterules. but it was showing NOT FOUND IN Version M .
    please anybody can help me for solving this error.
    i will asign points for your inputs.
    regards,
    kumar.
    Edited by: kumar kumar on May 20, 2009 5:58 AM

    Hi,
    You can check the Content Release and Last Content Modification for your update Rules following thee given path:
    RSA1>BI Content>object Types>Update Rules>Select object(search for ur update rules) -->Transfer Selections.
    After they are being transfered to the right pane.On right pane (where you can see the its technical name) scroll towards right you will see last three tabs as "Content Release,Last Content Modification and Person responsible".
    Change the Grouping as "Before and afterwards" and then try installing.
    Hope it helps.

  • 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

  • Problem in a update rule BW 3.X

    Hi, i have data in a ODS, and i want to pass these data to another ODS
    In the update rule, i have two datapackages. The first package contains 70000 registers and the second 50000 registers.
    In my start routine i have a counter variable , this variable gives me the max id of the active data in the table of the ods,  it takes the 7000 value, but if i want the 7001 value , the variable gives me 1, because of the parallel of two packages.
    How can i make the init delta from a ods to other ods in update rule, so the two data packages run secuencially
    Thanks
    Reward POints

    a

  • Coding in Update Rules accessing a Z-Table

    Hi,
    I have a datarecord that looks as follows:
    0MATERIAL:                     1000
    ZMC (Manufacturing Company)      03
    ZFAC (Facility ID)               16
    ZSHIP (Total Shipments)         500 Units
    <b>There is a Z-Table in R/3 (ZPLANT) that maps ZMC and ZFAC to R/3 Plants (ZPLANT).</b>
    Assuming this Z-Table is available in BW <b>what would the  coding in the update rules into a Cube  look like to do that mapping?</b>
    Thanks again
    Christian

    dear Christian,
    try use start routine, assume the table in bw is zplant and has fields zmc and zfac ...
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line -
    TABLES: zplant.
    DATA: l_tabix like sy-tabix,
    it_plant like zplant occurs 0 with header line.
    $$ begin of routine - insert your code only below this line -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
    data : it_data_package like DATA_PACKAGE occurs 0 with header line.
    first select the master data to internal table, this to
    avoid each time has to fetch from database table for
    single record, for better performance
    select * from zplant
    into table it_plant.
    if table zplant has high volume data, you can use for * select * from zplant
    into table it_plant.
    all entries
    for all entries in data_package
    where material ? = data_package-material.
    loop at data_package.
    l_tabix = sy-tabix.
    move-corresponding DATA_PACKAGE to it_data_package.
    read it_plant with key [field name e.g zplant] = it_data_package-[/bic/zplant] BINARY SEARCH
    if more key add it_data_package-[fieldname] - without * AND
    if sy-subrc = 0.
    it_data_package-/bic/zmc = it_plant-zmc.
    it_data_package-/bic/zfac = it_plant-zfac.
    modify data_package from it_data_package index l_tabix.
    endif.
    endloop.
    take a look some sample code
    Re: Is it possible to read a third ODS in update rules between two ODS?
    Re: Update Rules
    hope this helps.

  • Update rule not reading MD correctly

    I have an ODS that has update rules.  One of the field (Substatus) has to read Appraisal Document Master data as per the update rule.  The Appraisal Document master data has the Substatus valu of 3 which is correct.  Unfortunately, the ODS shows the value as 0. 
    How could this happen?
    Points will be assigned.
    -Sonny

    Hi,
    which update u are loading delta or full
    if u r loading delta update it only brings the changed records.
    r u loading for the first time. if not it brings 0 because the data may not be changed in master data.
    if u r loading for the first time then it brings the value 3.
    check data in active data table and ur master data it will be ok.
    thanks,
    pavan.

  • Update rule could not be found during business content activation

    Dear BW experts,
    I am having an issue activating business content for an update rule (2LIS_03_BX) for 0IC_C03.  Below is a log of the error.  It seems like the system is not recognizing the update rule for some reason.  Can somebody please help shed some light on this. 
    Installation (simulation mode) of: Update Rules (UPDR)
    Transfer/Merge of the Content Version (Object Type Update Rules )
    Object Update Rules BW9VUFZSUYTTIZS0HT9I4U3RP: Installation of the Content Version
    Transfer update rules IC: 0IC_C03 / IS: 2LIS_03_BX
    Object UPDR BW9VUFZSUYTTIZS0HT9I4U3RP could not be found
    Transferring the 1 objects from type UPDR took 1.2 seconds
    Post-processing of Objects after activation
    The post-processing lasts 0.0 seconds
    Thank you.
    Andrew

    Ravi,
    Thanks for you reply.  I checked the underlying cube (0IC_C03) and the info source (2LIS_03_BX) and they are both active.  I didn't choose the option in data flow before and after because it would have brought way too much contents which I don't need.  Instead, I only activated the info source and update rule individually. All three info sources (2LIS_03_BF, BX, UM) and the info cube were successfully activated.  I am only having problem with the update rule.
    Any other ideas?
    Thanks,
    Andrew

  • Update Rules to an InfoProvider

    Is there any limitation to the number of Update Rules that you can have to an InfoProvider? Thanks

    Hi Niten,
    No restriction on the no. of update rules as per SAP. Update rules can be created based on Infosources (which are again datasource dependent) , Cubes and ODS.
    In your ODS providing data to another ODS you would have as many update rules as the no. of datasources/Infosources. If 5 ODS provide data to 1 ODS then 5 update rules would be existing.
    Hope this helps.
    Bye
    Dinesh

  • Integrating new ODS object in the existing flow

    Dear All,
    I have a question regarding "Intergrating new data targets"???
    example-:
    1) I have a ODS (A) connected to a Cube (B) ..ODS settings - automatic update of datatargets..ON
    When I did the first load..it updated both the data targets A & B.
    2) Now I add another new ODS to the existing layer..ODS(C) which is connected to   ODS (A) via update rules.I reconstruct the new ODS (C) succesfully.
    3) When I did my second load of data both the ODS(A),CUBE(B) have been updated but not the newly added ODS(C)...
    I checked the properties of the ODS(A) and all looks ok...
    Could anyone give me some inputs regarding the above problem...
    Thanks in adavance.
    Rao

    dinesh's reply is correct..
    now..u have set on ODS..update data targets automatically..fine..
    u also created update rules from ODS to the target ODS and Cube..
    (so infopackage now knows that the data targets are 2--the target ODS and the cube)..
    but while running data loads..u might not always want to load to all data targets..so how to choose..
    so selection given in data targets tab of infopackage..
    so when new target added..u need to tick it in infopackage..
    another point..if u use radio button in infopackage 'select all data targets to which active update rules exist'..then..without even ticked checkbox..system will load to all data targets listed there..
    Vishvesh

Maybe you are looking for

  • Can anybody help me sending some ABAP Objects

    Hi gurus,   can anybody give me some ABAP objects ( i.e. Scenaro or FS or TS ). I am new in SAP. It will immensely be helpful to me to understand the real business scenarios. Any type of response is appriciated. Thanks, Ajoy Chatterjee. Email ID : [e

  • Sort/Order by

    Hi While loading the dimensions I want to sort by the natural key before I load my dimension. we are using a sequence to load serrogate key. We want the order as follows serrogatekey naturalKey 1 1001 2 1002 3 1003 4 1004 5 1005 Though I use the sort

  • Exits for XD02 - Checking of Tax Code

    Hi, Is there any user exit, enhancement or screen exit for XD02, for tab Control Data? Specifically for checking of Tax Codes. Thanks, Yanne

  • CRSXI: Problem Executing .vbs

    Simple .vbs (which has no problem running directly when clicked)...but in CRS XI get: Server Used: r2crny01.programjobserver  Error Message: An unknown COM error has occurred while trying to run the script.  Not familiar with COM issues - and this is

  • Download osb11g

    Hi Where i can download OSB 11g. (11.1.1.3.0) version. In oracle website i could find only 11.1.1.4.0 available for download. Even the link saying http://www.oracle.com/technetwork/middleware/service-bus/overview/index.html --> 11gR1 (11.1.1.3) Relea