Update Rule Timestamp to mutiple data targets show serial processing

All,
   I just noticed something very strange.  One of our ODS has two infocubes as data targets.  What I observed is that even though there are mutiple work processes spawned to process multiple data packets to the cubes the update rule is processed serially within each of them to the targets.
In turn I am saying that within EACH data packet updates data to the different targets serially.  Is it true or is there any RSADMIN paremeter for this to make it go parallel?
Source
|
|Packet 1Update Rule ACube AUpdate Rule B--Cube B
|    
|Packet 2Update Rule ACube AUpdate Rule B--Cube B
|
|Packet 3Update Rule ACube AUpdate Rule B--Cube B
|
|
|....
Thanks

Assuming that it does it (and there is no way around)..
It is not really that much of inefficiency. You have a fixed amount of resources (CPU, DBMS, memory) which is flexibly distributed at two levels already (work processes, data packets in parallel); introducing a third level might make it complex without bringing much benefits.

Similar Messages

  • ABAP code in update rules to convert the date

    Hi,
    Could any one send me the ABAP code that is written in the update rules to convert the date (DD/MM/YYYY  -- lenght 10) to YYYYMMDD ---  length 8  format.
    Also please let me know where I should write this code; while creating update rules or while creating infosource.
    Thanks,

    Hi Bharath,
    Hi Bharath,
    I suggest you do the conversion of dates in the transfer rules. Here is the correct code you need:
    * Assuming the source data field is called MYDATE
    * Place the ff. in the routine in the transfer rules:
    concatenate tran_structure-mydate+6(4) tran_structure-mydate+3(2) tran_structure-mydate(2) into result.
    replace MYDATE with the name of the source field (10 chars) in the transfer structure. Hope this helps.

  • Update Rule Routine: Compare system date

    Can anyone help me with regards to writing some ABAP code in update rule?
    I would like to check if the value of a date characteristics is equal to system date in data source. If its value is equal to system date, assign '0' value to another numeric characteristics. Otherwise, it will get the difference between system date and the date characteristics. I have rewritten the routine as follows. But there is no effects on the result. Am I correct?
    if COMM_STRUCTURE-<date characteristics> = SYST-DATUM.
      RESULT = '0'.
    else.
      RESULT = COMM_STRUCTURE-<numeric characteristics>.
    endif.
    Many thanks in advance.

    I have rewritten the code as follows. ZLASTPURD is a numeric characteristics. The code is written in the routine of ZLASTPURD in update rule. But it takes no effect. The case "COMM_STRUCTURE-/BIC/ZLASTPURD ='0'" means another date characteristics is equal to system date, the value of ZLASTPURD is blank after modifying the code. However, the code is workable for  "RESULT = COMM_STRUCTURE-/BIC/ZLASTPURD.". Is there anything wrong?
    data lastpurdays type I.
    lastpurdays = '1'.
    if COMM_STRUCTURE-/BIC/ZLASTPURD = '0'.
      RESULT = lastpurdays.
    else.
      RESULT = COMM_STRUCTURE-/BIC/ZLASTPURD.
    endif.
    Many thanks in advance.

  • Update rule for COSTCENTER master data

    Hello All,
    Cost Center is not an attribute of 0EMPLOYEE, neither a field provided by the table PERSON.
    0COSTCENTER gets data from the MASTER Datasource 0COSTCENTER_ATTR. When writing an update rule for this characteristic, what code should be written?
    and Which fields should be considered from the table /BI0/MCOSTCENTER.
    Thanks in advance.
    Regards,
    KP

    Hello,
    Lets consider a ZINF infoObject with time dependent attribute as ZDEPART.
    When writing an update rule, I do a lookup on ZINF. Do  I have to write a code for this llokup (mapping this infoObject)?
    After writing a code for a lookup on ZINF, will this InfoObject be available for selection in "Master data attribute of"?
    Kindly reply.
    Regards,
    KP

  • Map My Update Rule from a Master Data Attribute

    Hello experts,
    I haven't tried this scenario yet, hope you can help me, the Issue is this
    I have 2 InfoObjects ZPSCHRCHY and 0PROFIT_CTR from InfoCube WBS cost and allocations I want both the InfoObjects to be mapped to 0PROFIT_CTR attribute of 0WBS_ELEMT master data object, I have tried the Master Data Attribute but only 0PROFIT_CTR is an attribute of the Master Data.how can I mapped ZPSCHRCHY and 0PROFIT_CTR to 0PROFIT_CTR?, Is creating a start routine for it must be used? Thank you very much
    Regards and Thanks
    Chris

    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TYPES:
    BEGIN OF r_MD_WBS_ELEMENT,
       WBS_ELEMT  like /BI0/PWBS_ELEMT-WBS_ELEMT,
       OBJVERS    like /BI0/PWBS_ELEMT-OBJVERS,
       PROFIT_CTR like /BI0/PWBS_ELEMT-PROFIT_CTR,
    END of r_MD_WBS_ELEMENT.
    DATA: t_MD_WBS_ELEMENT  TYPE STANDARD TABLE OF r_MD_WBS_ELEMENT,
           wa_MD_WBS_ELEMENT TYPE r_MD_WBS_ELEMENT.
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CS8ZPSG030.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
      REFRESH: t_MD_WBS_ELEMENT.
          SELECT WBS_ELEMT
                 OBJVERS
                 PROFIT_CTR
          INTO TABLE t_MD_WBS_ELEMENT
          FROM /BI0/PWBS_ELEMT
       FOR ALL ENTRIES IN DATA_PACKAGE
         WHERE WBS_ELEMT   = DATA_PACKAGE-WBS_ELEMT.
        IF sy-subrc EQ 0.
        Do nothing
        ENDIF.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.

  • Update rules deactivated only has to open the system..

    Hello Experts,
    -- ODS and update rules are already in Production.
    -- I have made changes to the ODS by adding new Infobjects.
    -- activated the update rules.
    -- When the ODS and update rules are transported. Update rules get deactivated
    -- And a message 'Data target changed, suggestion for the update rules generated'
    Detailed message:
    Data target was changed. Suggestion for update rules generated
    Message no. RSAU287
    CAUSE&
    The data target has been changed (for example, InfoObjects have been added or deleted).
    System response
    The update rules have been set to inactive.
    Procedure
    Check the proposal for the update rules: Newly added key figures or characteristics are updated directly using the source-InfoObject from the InfoSource if the InfoSource contains these InfoObjects. Otherwise, the calculation type is set to 'Routine'. Newly added key figures, data fields, or attributes are set to 'No Update'.
    The rules for key figures and for characteristics must be checked and adjusted appropriately.
    Detailed message end.........
    -- Do not get activated by retransporting. or doing a fresh request of the update rules.
    -- Currently the only I can see by opening the system and activating them. Wondering if we have any other alternatives to activate these update rules for the ODS
    Any solutions:
    -- Wondering if I am missing some procedure to transport.
    -- Please feel free to post your views / suggestion in case you had a similar situation before.
    Many thanks in advance,
    BWer
    Message was edited by: BWer

    BWer,
    If you collect your transport in a big lump of a single transport, the tranport connection may not organize it in the order of the proper dependency, so it is best to split it to separate transports as stated above to ensure the proper dependencies. 
    To fix the issue right now, you can either
    1) take another transport through of only the updated / activated update rule or
    2) if you know what you are doing and if the client is okay with it, open the system, activate the update rule and when prompted for a transport, create a new one and go to SE10 to clean up that repair transport by deleting the subtasks. 
    I would probably recommend option 1 for you.  I only do option 2 if it is an emergency and there is no transport window for another week or longer or it just simply cannot wait.

  • Diff. bt update rules & transfer rules....,

    Hi all,
    wht is the diff. bt update rules & transfer ruls...,
    mainly i want to know that when we use for update & when for transfer rules we have to choose........,
    let me know from any one plzzzzzz...,
    Regards,
    Swetha.

    Hi Swetha
    Transfer rules :use the transfer rules to determine how you want the transfer structure fields to be assigned to the communication structure InfoObjects
    Update Rules :Update rules specify how the data (key figures, time characteristics, characteristics) is updated to data targets from the communication structure of an InfoSource. You are therefore connecting an InfoSource with a data target.
    Basically update rules are specific to Data Targets where as Transfer rules applies to InfoSource.When you want rule to apply to all the datatargets from a Infosource ,you write it in Transfer rules.
    Hope this helps.
    <i>Sudh</i>
    Assign points if this helps

  • How to update only a field or 2 in a data target? Is it even possible?

    Hi,
    If 10 characteristics in an ODS has been populated in through flat files and it turns out that one of the fields was blank. What is the best way to update the data target with the missing fields only.
    Is this what is referred to as Look up? Any pointers to what is known as doing a “Look Up”?
    Thanks

    hi Amanda,
    for look up ods from another ods, take a look samples
    https://wiki.sdn.sap.com/wiki/display/BI/ABAPinBW
    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
    hope this helps.

  • "Master data attr. of" un change source of update rule.

    hi,
    What is the importance of following in "change source" (characteristics) in update rules.
    1. master data attr. of
    2.initial value
    3. Source chars
    4. constant
    When and why these are used.
    Thanks in advance.
    Regards,
    Avneet

    Hi Avneet,
    Lets say Material group is an attribute of 0MATERIAL. You cube contains Material and also Material Group as a separate characteristic (not as navigational attr) becasue you want to store the value of material group as it was during the time the transaction happened.
    But here you transactional data coming from the source brings Material values, not values of Material Group. So in the update rule for Material Group, you can specify "Master data attribute of" 0MATERIAL. What the system will do is take the value of 0MATERIAL on this record and populate Material Group taking the value that is present in Material Master data.
    So if Material = M100 and Material Group is MG01 in master data, it will supply MG01 to Material Group char in the cube.
    Hope this helps...

  • Sp L records are coming to the PSA and not updating in the data target

    Special Ledger records are coming to the PSA and not updating in the data target in the month end and the info package is failing - because of that we are doing manual updating from PSA to the data target -
    Can so one can tell the reasons why this is happening? And give the solutions to it?

    Hi Sankar,
    If your Infopackage uses Only PSA and Update subsequently in Data Target on the Processing tab, then you will need to add a process for Read PSA and Update Data Target in your process chain, after the Infopackage load process. Then it will take data from the PSA and load to the data target.
    Hope this helps...

  • 0py_c02 do not have the update rules or transformations in business content

    Dear All,
    I ma installing the Business content 0py_c02 cube with before data floe option , i found the infosource and transfer rules between Data source and info source but i can not found the Update rules betweeen the infosource and target.
    Even if u consider the data source replicated in RSDS update mode, but ther is no transformations. how we can resolve this issue , if any body faced the same issue please update the same.
    For creating mannully also there are routines in that update rules( checked same in IDES version) , i can do it same, but why the SAP not delivered the same, or i am going wrong in some where pls.
    Any update please , Not received any replies pls.
    Please any updates pls on this,  The  issue is open and waiting for responce from Experts.please can anybody update me.
    Thansk in Advance,
    Sathish
    Edited by: sathish kakumudi on Apr 21, 2010 8:48 AM
    Edited by: sathish kakumudi on Apr 21, 2010 10:34 AM
    Not delivered by SAP and SAP raised the same to Development team
    Edited by: sathish kakumudi on Jun 13, 2010 10:07 AM

    Hi Satish,
    Did you get any update from SAP-team on the same.
    Thanks,
    SC

  • Infosource & Update Rules puzzle

    Hi Experts,
    I was told that Direct Infosource does not have Update Rules tied to it to update Master data. How true is it? When I update master data, I had generated update rule on the master data object. So, is the 1st statement correct?
    Flexible Infosource can contain master and transaction data. Does this mean I can load in one-shot, master and transaction data into the 1 Infosource for both data. That is, same Infosource. And then use update rules (1 per data target) to update the data targets of either cube or master data table? Or is it that u must use 2 infosource?
    Are there only 3 types of transfer rules that can be used per infoobject in the communication structure? What about formula, is it considered one of the types?
    regards,
    bworbust

    bworbust,
    1. you must have created a flexible infosource for your master data - direct ones do not have update rules.
    2. to my understanding, yes, but i believe it is more common to use one infosource updating multiple "recipients", with update rules for each.
    3. well, there are supposed to be 4 for each item in the transfer structure - read this one:
    http://help.sap.com/saphelp_bw33/helpdata/en/80/1a62bfe07211d2acb80000e829fbfe/content.htm
    hopefully this helped, though i might have been vague on these. sorry.
    ryan.

  • Update rule maintain

    Hi Guru's,
    Happy New Year.
    ktosl field not coming in update rule, after unhideing from data source.
    till communication stru. i can see after updating TR.
    but this info object not coming in update rule.
    looking for your input.

    Dear SSMS,
    There are 2 possibilities.
    1) You dont have the same Infoobject in your Target, but still you want to map it with the Infoobject coming from your CommStructure, if the datatype and length are same you could do it in Update Rules> Source Characteristic> F4 -->Find your Infoobject and Map it .
    2) You have your Infoobject in Target and still you are unable to Map it , reason , may be you have to check the Comm.Structure, if its there , it should come, orelse Add it and Activate it again , then go to the Update Rules, For the specific Infoobject --> Manually maintain the characteristic as specified above.
    Hope it helps..
    Thanks,
    Krish

  • Types of update rules

    Hi experts,
    What are the types of update rules?
    Regards,
    Siva

    Hi......
    Yes either you can say what are the different update types.........that Praveen has already ansered..............or you can say.........
    You can say what are the diffrent types of update routines...then the answer is :
    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.
    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
    Regards,
    Debjani...........

  • 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

Maybe you are looking for