Assigning time dimension in update rule

Hi
I have a fundamental question -
What exactly is meant by creating a time dimension on a cube based on a particular date (eg- Received date)?
We have billing data coming into the cube.. so what exactly happens when you say the billing data should be based on Received date?
Should I assign the billing amount KF to Received date time characteristic in the update rule? What does it do with the data - how does it bucket it?
Also, what does it mean when you say assign calendar month to say, Load date?
Thanks
Riya.

Hi Riya
Let me take your question step by step and club similar questions together
1) what does it mean when you say assign calendar month to say, Load date
Well this means that you need to put a routine for 0CALMONTH.
RESULT = sy-datum+4(2).
sy-datum would internally come as system date in the form of 20080327.So this little routine will pick 03.
2) What exactly is meant by creating a time dimension on a cube based on a particular date (eg- Received date)?
This is similar to saying billing data should be based on Received date .
Well this means that all time charecteristics like 0calday,0calmonth,0calweek etc need to be mapped to Recieved Date.This is how data will get bucketed(vitual bucketing) - for example you use 0calmonth so all orders with recieving date this month will be bucketed today and will show up in ur query if u have a variable for getting data for this month.
Automatic time conversion will be done(in BI 7.0 this happens for both DSO and Cube.Perhaps in 3.5 you need to use a formula for the ODS).
Do not map any key-figure to Received date time characteristic .You should get Received date directly from Data-source.
I hope this helps you to understand this.
Regards
Samarpita

Similar Messages

  • No split for particular key figure while "Time Distribution in Update Rule"

    Hi experts,
    I wanted to have data in the infocube at day level. Currently it has only week level data. So I used "Time Distribution in Update Rule". Due to this am able to split 0Calweek data at 0calday.
    But while using   "Time Distribution in Update Rule" all key figures are getting split by same way. For e.g. key fig1 has week level data as 100. so after getting split in calday, it is apperaring as (100/7) 14.285 . for every day.
    But i dont want to happen this split for every key figure. For some key figures value "100" should be as it for every field in calday. for e.g. 100 should not get divided by 7 and posted as 100 only for all seven days.
    How can i achieve this? Is it possible if i write formula or routine for particular key figure so that split should not take place for that particular kay figure? Or is there any other to keep exception?
    Please help.
    Thanks

    Hi,
    This is one of the limitation of Time Distribution that you can not have it by individual key figure. Check the below article for more information,
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0e1096a-e058-2c10-06b7-c66f9a82a9c8?QuickLink=index&overridelayout=true]
    I think in this case you will have to write individual routine for each key figure instead of Time Distribution approach.
    Regards,
    Durgesh.

  • Modifying Existing Time Dimension

    Hi All,
    Presently I have a Time Dimension and a Fact table which has a FK to this Dimension. The Time Dim has a level upto hourly values.
    Now it's in production and I need to change the Time Dim to take on minutes 'cause some reports need minutes.
    1. So what is the best way to go about this?
    2. Is it better just to add another extra field which has the required date, in the fact table?
    3. How can the existing data be easily ported to the new Time Dim(if it has a minute-level)?
    Thanks,
    Justin.

    I am wondering how you implemented the time dimension which only has a level up to hourly values. Do you mean the time dimension only has 24+1 = 25 rows? Usually the time dimension is separate from the date dimension and its lowest level values are minutes or seconds, depending on the business requirements. Therefore the time dimension should have 24X60 + 1 or 24X60X60 +1 rows.
    The solution is depended on what you want.
    My suggestion is as the follows:
    1.     Create a new time dimension with the desired lowest level values (minutes or seconds).
    2.     Create or modify the foreign key of the fact table to point the new created time dimension.
    3.     Modify the ETL mappings.
    4.     Option 1: If you want the new functionality available for the existing rows in the fact, you have to reload the fact no matter which approach you use.
    Option 2: If you only want the new functionality available for the subsequent refresh load, you can modify the foreign-key values pointing to the old time dimension to the new time dimension, using the rule XX --> XX:00 or XX --> XX:00:00 (where XX is the hour number in the old dimension). In the subsequent refresh load, map the foreign-key values to the actual time.
    Maybe other else can provide better solutions. IF so, please let me know.
    Good luck!

  • Update rules are inactive

    Hello All,
             i have added another dimension 0mat_unit to the existing infocube of multiprovider to create a report.
    As i added new dimensions underlying  update rules became inactive and when i try to activate them iam getting message IC=xxxx IS=yyyy error when checking the update rules.
    can you please give ur advice to solve the problem

    Hi,
    When you add some new objects to your cube then you have to add them in your info source and data source in order to get correct data and if you dont want to populate data to them from source then you can have your own rules like routines and formulas so please add them to comm structure and transfer structure and map the rules and then try to activate them it will work,
    Thanks,
    Pavan.M

  • What are the special conversions for time in update rules?

    What are the special conversions for time in update rules?

    Hello,
    Special conversions for time in update rules are automatically conversion rules.
    Example: If the cube contains calendar month and your transfer structure contains date, the date to month is converted automatically.
    Assign points if this helps,
    Regards,
    Jorge Diogo

  • Source System Assignment in Update rules

    Hello Friends,
    Good Day....
    I need to extract both transaction data and master data from four different source systems and the data is also different from one soure system to another system.
    In BW iam using same infoobjects and the transfer rules,update rules and the datatargets are different. so how can i differentiate data from one system to another system with the same info objects.
    <i>where can i do the code can we do that in update routines?
    or do we need to do compounding?</i>
    sorry friends if i am asking an easy question got confused here....please let me know if any solution.
    Regards,
    Ala.

    Ala,
    You could use the client number as a key field / dimension to uniquely identify the records , als you can look out for this info Object called LOGSYS whish if present will get updated by the logical system name or have an infoobject for the same and since your transfer rules will be different for each , have the IOBJ populated by a constant depending on the client and then update the data to the data targets , that should solve your problem.
    Hope it helps..
    Arun
    Assign points if helpful

  • Assign master data attribute value to Time Infoobject in Transfer Rule Rout

    Hi Experts,
    I want to assign value for Time Infoobject ZTIME from a Master data Infoobject's attr.  The value for this ZTIME exists as an attr of Infooject ZMMM. I want to do at Transfer Structure level so that the assigned value can be used for another calculation in the update rule..
    Any help on the routine is highly appreciated.
    Thanks,
    DV

    Hi Edwin,
    After making the changes as u suggested, i tried to activate the transfer rule, but Iam getting the following eerror msg
    Error generating program
    Message no. RSAR245
    Diagnosis
    An error occurred in the program generation:
    Program / Template:   RSTMPL80
    Error code / Action: 6
    Row:        6,083
    Message:    Statement is not accessible.
    Procedure
    If the problem occurred during the data load or transport, activate the transfer rule.
    If the problem persists, search in the SAP note system under 'RSAR 245'.
    How can Iresolve this?/ Why is this happening??
    DV
    Any Help???
    null

  • Extraction time while updating the data from update rule

    Hello Friends,
    Can you please tell me that why it is taking more time while updating the data from update rule to data target.
    I believe that it is taking 40% of total extraction time.
    Is there any specific reason for it?
    Prompt reply will be appreciated.
    Regards,

    hi,
    check if you have complex transformation in that update rules, like calculation, read from other tables, etc.
    take a look 'bw loading performance and analysis' doc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1955ba90-0201-0010-d3aa-8b2a4ef6bbb2
    and bi performance tuning knowledge center
    Business Intelligence Performance Tuning [original link is broken]
    there e-learning for bw performance
    hope this helps.

  • 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

  • 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

  • BW 0HR_PA_2 - 3 Update rules assignment for 0PA_DS02 - 3

    Hello experts
    I am just another one tryng to figure out how to assign the update rulesfor DSO's  0PA_DS02 and 3. The business content activation of the update rules yields a no update type of rule. So I guess we need to assign the fields manually. I read the <How-to> document on the BW/HR authorization but I am still trying to pass <GO> and load the initial data as the document does not mention the update rules assignment. In that regards I searched SDN on how to modify the update rules but I can't seem to pin point the exact complete information.
    Please help.
    Thanks.
    YB.

    =========================
    Update Rules for 0PA_DS03 (Part 2)
    =========================
    0TCTNDEF  -  BW Reporting Authorizations: Node Variables Defaul
    Initial value
    0TCTNIOBJNM - InfoObject of Node
    Routine:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    FORM compute_key_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS0HR_PA_3
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BI0/APA_DS0300-TCTNIOBJNM
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
      RETURNCODE = 0.
    result value of the routine
      IF COMM_STRUCTURE-hr_otyobj IS INITIAL.
        RESULT = '1NODENAME'.
      ELSE.
        CASE COMM_STRUCTURE-hr_objtype.
          WHEN 'O'.   RESULT = '0ORGUNIT'.
          WHEN 'C'.   RESULT = '0JOB'.
          WHEN 'S'.   RESULT = '0HRPOSITION'.
          WHEN 'P'.   RESULT = '0EMPLOYEE'.
          WHEN 'Q'.   RESULT = '0QUALIFICTN'.
          WHEN 'QK'.  RESULT = '0QUALIGROUP'.
          WHEN 'BA'.  RESULT = '0APPRAISAL'.
          WHEN 'A'.   RESULT = '0HRWORKCNTR'.
          WHEN 'BK'.  RESULT = '0AP_CRIT'.
          WHEN 'BS'.  RESULT = '0AP_SCHEME'.
          WHEN 'E'.   RESULT = '0EVENT'.
          WHEN 'D'.   RESULT = '0EVENTTYPE'.
          WHEN 'L'.   RESULT = '0EVENTGROUP'.
          WHEN 'F'.   RESULT = '0EVLOCATION'.
          WHEN 'G'.   RESULT = '0RESOU'.
          WHEN 'R'.   RESULT = '0RESTYPE'.
          WHEN 'H'.   RESULT = '0EXTPERS'.
          WHEN 'U'.   RESULT = '0EXTORG'.
          WHEN OTHERS.RETURNCODE = 4.
        ENDCASE.
      ENDIF.
    if the returncode is not equal zero, the result will not be updated
    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.
    0TCTNODE    - Nodes of a Hierarchy
    Routine:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    FORM compute_key_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS0HR_PA_3
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BI0/APA_DS0300-TCTNODE
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    result value of the routine
      IF COMM_STRUCTURE-hr_otyobj IS INITIAL.
        RESULT = 'ROOT_H'.
      ELSE.
        RESULT = COMM_STRUCTURE-hr_otyobj.
      ENDIF.
    if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    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.
    0TCTOBJVERS- Object Version
    Constant: A
    0TCTSYSID  - BW System
    Routine:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    FORM compute_key_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS0HR_PA_3
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BI0/APA_DS0300-TCTSYSID
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    result value of the routine
      CALL METHOD cl_rso_repository=>get_logical_system_self
        RECEIVING
          r_logsys = RESULT.
    if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    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.

  • How Can I do automated update base on changing TIME dimension ?

    I am a beginner of ESSBASEhow Can I do automated update base on changing TIME dimension ? how can I deal with the change of TIME dimension ? shall I update outline?one more question,how can i deal with the dimension like this:------gp--------- p1-----------c1-----------d1--------- p2-----------c2-------------cc2-------------cd2-------------ce2 -----------c3-----------c4 --------- p3the un-balance dimension? shall I make them to balance?

    Hi man, where are you from?If you are a spansh spoken please send again the problem in Spanish cause I can't understand exactly what do you need.Greetings,Raleksander

  • 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.

  • 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...

  • Updating master data for time dimensions from front end

    Hi Experts,
    I am sure this must be handled in a very straight forward way. Just want to know the best practice here. We are working on a copy of appset and want to completely revamp the time dimension papers as per client's fiscal year which is april to march every year.
    When we have deleted all the existing memebers from the time dimension master data from BPC front end and replaced with new memebers, the task is getting completed successfully.
    But when I check back in BI for the master data, it has not replaced all the existing members. How best to handle this?
    The transaction data is deleted from all the application cubes. Are there any checks to be performed?
    Thanks,
    Santosh

    Closing the thread as I could not replicate the problem. The problem is resolved.
    Thanks,
    Santosh

Maybe you are looking for

  • IPhone 5 power on issues and syncing issues

    I woke up this morning to a blank screen so I shut it off cold and it came back on with the apple, as if it were turning on. Then the apple screen dimmed and a code appeared at the top of the screen similar to a computer starting up. The only way it

  • Trying to download cs6 after paying for subscription

    Hi, I'm not sure where to download cs6. I just made my first payment for a one-year subscription but am having trouble figuring out where to go to start the download.

  • User exits for tcodes CJR2, CJR8, CJ40, and CJ42

    Hi, I have a requirement to capture confirmed (saved/posted) cost and revenue plans for a particular WBS in any of the above tcodes executed by the user.  Is there any user exit/badi/or bapi for such? Appreciate any feedback on this. Regards, jacky

  • How do i get videos taken on my iPad to imovie

    I took video on my iPad 2 and downloaded it to iPhoto.  I am trying to get it into iMovie but it will not transfer over.  The videos do not play in iPhoto either.

  • Can't deleted files from hdd despites itunes managing the library

    Hey, I ran into a little problem today. I am rather new mac user and absolutely loving it. My itunes is setup with the library in the Shared folder with all the same access rights, which allows me to have the same library for both users on the comput