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

Similar Messages

  • Problem in the update rule routine in BIW production

    hi,
      I have encountered a problem in the update rule, the problem is, there is a routine to calculate the age of a person, age is a key figure,
    The problem is that the key figure is not being calculated.
    we had encountered the same problem in the bw developent, we reinstaled the update rule, and the age was calculated correctly. Where as in production we cannot instal from business cotent, should we transport the perticular update rule once again?
    if there is any other solution, please let me know.
    Thanks in advance.
    regards chetana.

    I think retransporting is the only option available to you. You cannot modify anything in your production system.
    IF you have a chance to speak with basis people,ask them to open the system status to modifiable for few minutes.
    and make necessary changes in production and bring it back to normal (This is not a best practise in all situations).
    hope this helps.
    Praveen

  • Time consuming problem in Self update rule

    Hi all:
         We have time consuming problem in self update rule.I have ODS ZOMS001,for this we created self update rule.In process chain we include this self update rule and during delta update,it takes 20 to 25 mins even if there is two records or 10000 records.In delta for this self update rule,it takes the whole records in ODS
        EX: If i have 10000 records during initialise and 10 records in Delta update...For the delta self update rule it takes 100010 records..But it only update delta records values.
    we have to reduce the total time consuming for this self update during delta..
    Waiting for your inputs.
    It would be helpful for your valuable reply.
    Rgds
    MSK

    I think retransporting is the only option available to you. You cannot modify anything in your production system.
    IF you have a chance to speak with basis people,ask them to open the system status to modifiable for few minutes.
    and make necessary changes in production and bring it back to normal (This is not a best practise in all situations).
    hope this helps.
    Praveen

  • RSAU461, problem with activating update rules for cube 0csrv_c01

    Hello,
    I have added new fields to data source 0CRM_SRV_PROCESS_H, then changed transfer rules, added characteristics to ODS 0crm_proh, and reactivated update rules 80crm_proh. But now I have problem with second update rules for this cube named 80crm_cnfh. It is not active and all fields in it have red status, error RSAU461, and I cannot activate it.
    What I should do? Should I change somehow that second source for data to my cube (change infosource, ods, rule?)
    Regards
    Radek

    hi
    As said by the Mti u have just changed the info objects in the ods and u need to map them with the specific info objects from the ods.
    double click on the Update rules of the cube and go to the characteristic tab there map the newly added info objects with the IO in the ods.
    Khaja

  • Problem when creating update rules

    Hi Friends..
                I'm actually having a problem when I'm creating update rules from my cube to my Infosource. This infosource is created by Dierct update of Master data (ZXXXX) Infoobject. the error which is popping up is ,
    Data source ZMMOBJ1 not maintained (check your entries)
    Message no. RSAU252
    Diagnosis
    The data source is not active
    Can some one guide me, How I can resolve this error.??
    and where the problem must have been??
    Thanks alot in advance,

    Hi,
    Check the infosource you are using for the cube. you cant use direct update infosource.
    'Direct update of master data' infosource updates into the infoobject.
    you will not have update rules for this direct update.
    you use update rules only when you use flexible update infosource.
    hope its clear.
    shylaja.

  • Update Rule problem

    Hi frndz,
    I have one query regarding update rule.
    i want to ask you the question that while defining the routine on particular keyfigure is it requierd to maintain the sequence of the field as it is in cube.
    Like i am facing a starnge problem i have just now updated system to 3.5 now my problem is i have a master data material in that i have wriiten few update rule on specific fields,now when i am loading the data in material master data few of the material having the value others dont have.
    i think some problem lies in update rule i have checked correctly every thing is fine with the update rule,
    can any one suggest me why its behaving strangely.

    i have tried that but no where i am getting the problem.
    like after debugging i got the value correctly till the PSA but its not going correctly in data target.

  • 0PM_DS02 - Problem with Update Rule

    Hi ,
    I have installed the Standard ODS 0PM_DS02 from BI content.
    Problem is --> In Update Rule all Data Fields have been installed perfectly but all Key Fields with Blank ( No Assignment ) .
    I would like to know  what is the reason that All the KEY Fields have installed with Blank .
    Though I can do the manual assignment for characteristics like Equipment / Functional location but my specific area of Concern is what to assign to time characteristcs 0CALDAY / 0CALMONTH etc.
    I would appreciate your help in guiding me what to assign in Key fields of 0PM_DS02 update rule.
    regards
    Vishal

    Probably you have got it resolved already.  The key fields are assigned along with the data fields in the statement RESULT_TABLE[] = G_T_UPDATE_IMAGE. 
    G_T_UPDATE_IMAGE has the same structure as /BI0/APM_DS0200, which is nothing but the active data table of 0PM_DS02.  This structure gets populated in the FM BW_MCI1_KEYFIGURE_ARRAY_GET.

  • Update Rule Error

    Hi Friends,
    I am installing Update rule for info Cube name: 0PAPA_C02 ( HeadCount ).
    I am facing problem in installing update rule wiht following error "Object Update rules 907KB92TLFDNXIKNGFCS15IN4: Error installing the Content version" , can any one will help on this.
    I shall be glad for every one for positive reply.
    Regards
    Deepak

    Hi Mansi,
    As per SAP Note No 336229, we are installing info cube 0PAPA_C02 ( Headcount ) with Grouping selection as "In dataflow before and after" .  On simulation we got this error only. pl. suggest where to find detail logs for this..
    info source is active.
    Note no 336229 Detail
    Do the following steps in your BW System:
    1. Transfer the Business Content in the Administrator Workbench:
    Choose InfoCube 'Headcount' (0PAPA_C02), collect all objects with
    grouping 'Data flow before and after' and copy them from the Business
    Content afterwards.
    Check whether key figures 0ANSAL_NC / 0ANSAL_VC, 0HDFTE_NC / 0HDFTE_VC
    and 0HDCNT_NC / 0HDCNT_VC were activated in the process.In addition,
    InfoCube 0PAPA_C02 itself, InfoSource 0HR_PA_PA_1 and the respective
    update rules should be active.
    Regards
    Deepak

  • Update Rules in ABAP to consolidate two InfoSources into one ODS?

    Hello experts,
    I want to solve the following problem with ABAP update rules (I am a novice in ABAP):
    In an Oracle DB I have two tables TRANSACTIONS and PARTICIPANTS with an 1:n relationship:
    One or many PARTICIPANTS can be assigned to one TRANSACTIONS and
    one TRANSACTION can be assigned to one PARTICIPANT.
    I want an ODS that contains TRANSACTIONS with the number of male and female PARTICIPANTS of each transaction.
    So I created two InfoSources each representing one of the above tables:
    IO_TRANSACTION with COMM_STRUCTURE:
    TRANS_ID
    TRANS_DATE
    TRANS_STATE
    IO_PARTICIPANT with COMM_STRUCTURE:
    PARTIC_ID
    PARTIC_TYPE (1=male and 2=female)
    TRANS_ID
    Now I want to consolidate all male participants into the data field PARTIC_M
    and all female participants into the data field PARTIC_F of the following ODS:
    Key fields:
    TRANS_ID
    TRANS_DATE
    TRANS_STATE
    Data fields:
    PARTIC_M (number of male participants)
    PARTIC_F (number of female participants)
    I tried it with the following lines of ABAB Code in the ABAP routine
    for the datafield PARTIC_M:
    IF COMM_STRUCTURE-/BIC/PARTIC_TYPE = 1.   " 1 is the value for  "male"
       RESULT = 1.
    ELSE.
       RESULT = 0.
    ENDIF.
    But after loading both InfoSources into the ODS the fields PARTIC_M and PARTIC_F are empty!!
    Do I have to do some kind of joint in a start routine in order to connect Participant Information with a specific transaction?? How?
    Thanks a lot
    Of course, solutions will be rewarded
    Axel

    Hi Venkat,
    Thanks for the hint with the common key fields.
    My problem is, that both tables have only the field TRANS_ID in common.
    So when I update TRANSACTIONS with the three Key fields TRANS_ID, TRANS_DATE and TRANS_STATE
    and PARTICIPANTS with the Key field TRANS_ID into the ODS I get data like this:
    TRANS_ID, TRANS_DATE, TRANS_STATE, PARTIC_M, PARTIC_F
    TR01                                                                        1              1
    TR02                                                                        0              3
    But I also need the fields TRANS_DATE, TRANS_STATE to be filld with data!
    any suggestions?
    Axel

  • 0liv_dso1 update rules

    Hi guys
    Having problem with 0liv_dso1 update rules.
    Im trying to install the routines for the update rule from content. Everything ele is available apart from the routines. Has anybody had this same problem where one routine hasnt been available.
    Msg from BI Content
    Object 485V83KBEXPI7VUNBAQ0D9UCR (Routine,ROUT) could not be collected for object 0GY4EYDO
    Object '485V83KBEXPI7VUNBAQ0D9UCR' (ROUT) of type 'Routine' is not available in version 'D
    Im using BI Content 703.
    Thanks in advance.
    Abu Muhammad.

    Amit,
    In your update rules ,i hope there some start routine of update routines couls be there and those rotines didn't transported successfully .Check your update rules in DEV
    Regards
    Prasad

  • Error in update rules in inventory

    Hi Gurus,
    I have a problem with the update rules.I am getting the syntax error in Production when checking in the update rules. It says the program "INCLUDE report "RSBCTGN_TOP" not found".
    Actually these update rules were working correctly in Development.
    Is there anyway to transport that program alone or do i have any other way to handle that in Production itself as i have access to it.
    Thanks in advance.
    Regards,
    venkat

    Hi,
    first try with SE38 if this include RSBCTGN_TOP is existing and active, if inactive activate it.
    also check whether infoobject 0GN_BWBEOTY is active.
    /manfred

  • 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 rule not working with high data load.

    Hi all,
    i have a problem with a update rule: it's an update loop in a dso, in the start routine i do 3 select for all entries in data-package on the active table of another structure; then i read those table to update some values in my update rule.
    I did some test and it seemed to work well (i tryed for example just for a plant) but when i launched it for all the records in the dso the result was differente and, for the same plant, the values where not updated correctly (they were blank).
    Now the routine is really the same so it sound strange to me that launching the infopackage without filters i can't get the same correct result of my previous test but i was wondering what could be the reason of this error...
    Anyone can help?
    The start routine is this:
      REFRESH i_tab.
      SELECT field1 field2 field3
        INTO TABLE i_tab
        FROM target_dso
        FOR ALL ENTRIES IN DATA_PACKAGE
        WHERE deliv_numb = DATA_PACKAGE-deliv_numb
          AND deliv_item = DATA_PACKAGE-deliv_item
          AND act_gi_dte <> l_blank_date.
    then i read this table in the other routines...

    It is hard to say.  What does the update rule look like?
    after the read statement, you could check the return code.  If it is not zero, go into an infinite loop, and debug it via SM37.
    read table....
    IF sy-subrc <> 0.
      WHILE 1 = 1.
        "debug in SM37.
      ENDWHILE.
    ENDIF.

  • Negative sign disappears in Update Rule assignemnt

    Hello, I have a strange problem with an update rule. I try to copy a number with comma and sign into an attribute FI_TAXRT of an InfoObject. The number get ther ecorrectly but the sign deiappears.
    FI_TAXRT = Key Figure of type Number  (Dec =counter or amount field with comma and sign)
    The trasfer rule from my Data Source provides a field KBETR. This field is calculated from a an amount field in a condition table. In fact it is a percentage, so to remove the currency field I created a user exit in the data source to copy the amount field in a char field of the same length.
    This works fine because I get the correct number with comma and sign (I checked that in RSA3 and also in the PSA).
    When I debug the transfer and update rules the negative sign is there. I checked this by lgging a message in the update rule if the field is negative. (See code below)
    I get my messages in the log, but in the InfoObject, the field is displayed without sign when I do maintain master data or when I read the underlying table with SE16
    IF COMM_STRUCTURE-/BIC/FI_TAXRT < 0.
        MONITOR-msgid = 'Z_MSG'.
        MONITOR-msgty = 'I'.    
        MONITOR-msgno = '01'.
        CONCATENATE COMM_STRUCTURE-/BIC/FI_MWSKZ ' negative'
          INTO l_text.
        MONITOR-msgv1 = l_text.
        append MONITOR.
      ENDIF.
      RESULT = COMM_STRUCTURE-/BIC/FI_TAXRT.
      RETURNCODE = 0.
      ABORT = 0.
    I created the routine because a simple assignment of the InfoObject in the UR produced the same thing.
    Any ideas why this could happen?

    Please check if there is any conversioun routine defined for the InfoObject, which might change the sign.
    / Christian

  • Update Rules Activation

    Hi All,
    I was told to activate Asset Accouting in BI Content. But to my ease, most of the data targets, info objects and data sources have been activated before hand. However the problem is the Update rules are not yet activated. If I try to select the Update Rules under each data target and try to install them...the system prompts a message "the delivery overwrites the selected objects. Do u want to overwrite the objects?". Can anyone please guide me how to activate just the update rules.
    Thanks,
    Regards,
    Gautham

    HI,
    You can use teh program suggested by tinkugeo to activate the inactive update rules, present in the system.
    Or, if you are installing from business content, the message it displays means that if you install the business content update rule(or any objetc for that matter)
    and it has been installed and used earlier, and due to some reaason is inactive,
    the business content installation will overwrite thoose changes and give you just the standard content.
    So, if you are sure, taht there are no changes you can install the business content update rule, else use the program
    and if the rule is not present in the system, and you are getting this message, its just a warning, ignore it and continue.
    Hope this helps
    Shilpa

Maybe you are looking for