Age group to make it time dependent display as per transaction date

Hi All,
I have a doubt in displaying a attribute as time dependent. Below is my scenario.
I have a cube where am capturing the transaction data of the customer. Currently while the customer data loading using the customer number i do look up to the customer master data and findout the D.O.B and calculate the Age group(bucket) and punch it in the transactin cube itself. Note Age group is calculated based on the DOB and the transaction date. It was working fine.
But issue raised today customer is registered and he is allowed to do some transactions immediately after that, and the personal details like DOB, address is captured latter. Hence all the transactions until his DOB is maintained in the source system is puched in cube w/o DOB.
Hence i do not want to have it in the cube and want to have the age group to be fetched from attribute / some other mean. But in case if i make the agegroup as attribute of the customer it will show only the current age. But i need to show the agegroup as on the transactions date.
For ex. today customer age is 25 and day after tmr his age changes to 26. And in this case if i execute the report for whole month under 25 i should get the transaction and under 26 age i should get the respective transaction.
how should u achieve this. please help me out.
Note: Having a virtual KF seems createing the performance issue because data volume pulling out is more in numbers.
thanks in advance
Prem

Hi,
In this scenario i think Virtual Key figure is inevitable.
Hope that helps.
Regards
Mr Kapadia
*Assigning points is the way to say thanks.**

Similar Messages

  • Help with a query regarding time dependent display of Plan/Actual data

    Hello,
    Let me try to explain what my problem is:
    I have a query that shows plan and actual sales figures on a timeline. Plan and actual data is identified by 0VERSION (P01 for Plan; P00 for Actual).
    0CALMONTH and Sales key figure is in rows. 0VERSION is in collums.
    The output looks as follows (simplified):
    CalYYYY/MM............P01....P00
    2006.09......Sales........90.....100
    2006.10......Sales......100.......95
    2006.11......Sales........90........0
    2006.12......Sales........95........0
    So far so good! But users aren't satisfied with that. They want only <u>one</u> collumn with sales figures. For past months (< 2006.11) they want to see actual figures (Version P00). For current and future month (>= 2006.11) they want to see plan figures (Version P01). And this only in one single collumn.
    So the output should look this way:
    CalYYYY/MM..........P00/P01
    2006.09......Sales......100
    2006.10......Sales.... ...95
    2006.11......Sales........90
    2006.12......Sales........95
    Is there any way/workaround to accomplish this?
    Your help will be very appreciated!
    Regards,
    Ulrich

    Hi,
    For this what you can try is , have the two Restricted Key Figs the way you have right now, but Hide them. Then Create a Third Formula Key Fig, in which you can put a Boolean Logic :
    (FV > 11) * Act KF +(FV<= 11)*Plan KF
    Where FV is a Formula Variable which takes on the Value from Month (1 for Jan , 2 for Feb etc)
    Try something on these lines.

  • Restricting time dependent records on employee master data in BW

    Experts,
    We have a Future hire report which gets data from 0Employee. Now whenever hire date of an employee is getting assigned in case of new hire  record get's created in BW.
    Now, due to some reason this new hire employee is not able to join on the hire date first assigned to him and new hire date is updated in PA30 for this employee in ECC.
    This would create a new record in BW with new hire date for this employee which is valid in BW from the date it moved into BW till 9999 and the previous record 'Valid To' date is changed to previous date of the "Valid From" date of newly entered record.
    Now all these records has moved into Multiple Cubes also therefore we cannot delete these records from Master data until transaction data is delete.
    Client HR team is saying that previous records of all such employees are not valid , so they should not appear in BW reports even if they are running this report on historical dates.
    0Employee is time dependent master data. So it makes sense to have one records for any actions done for an employee in HR system.
    Cleaning up a master data for all such employee would be a tedious task and need lot of effort.
    Is there any way , we can restrict previous records of all such employee , so that they do not appear in BW report in case users are going to run the report previous dates.

    We were doing this activity as part of weekly house keeping job. Weekly we get list of invalid PERNR records from ECC team.
    While deleting particular PERNR (say 10015824) from 0EMPLOYEE, and the log (SLG1)says, SID exists in DIM table (like /BIC/D0PA_C011).
    First delete that PERNR (10015824) from cube (0PA_C01)
    Use Tcode RSRV --> Tests in Transaction RSRV  --> All Elementary Tests --> Transaction Data --> Entries Not Used in the dimension of an InfoCube (Dbl Click)
                 From the right side window, expand “Entries Not Used in the Dimension of an InfoCube” Node &
                 Enter InfoCube (like 0PA_C01), click “Transfer”
                 Now, click “Execute” (Toolbar)… and the results displayed in the right side window..
                 Now, click “Correct error” (Toolbar)
    Now, try to delete same PERNR from 0EMPLOYEE, and if the log says SID used in some other DIM table, follow the above process.
    If the log says, the SID used in DSO/Cube, then goto manage (of DSO/Cube) and do the selective deletion.

  • Extremely long time when executing an export transaction data package link

    Hi,
    I am working in a packagelink to export transaction data to the application server. The package which  I am currently using is /CPMB/EXPORT_TD_TO_APPL. I use it to generate an output file which I later use in a different appliation to register modifications applied in BPC.
    It has been working correctly without problems for a time. The problem is that suddenly it stopped working. Maybe because of some changes in the dimension library (is it feasible?) . I defined and scheduled again the packagelink and it began working correctly again, but the time it takes to execute the process  is really long. Approximately it takes above 10 hours, which is an extremely long time for the process. In the beginning, the packagelink was executed in an hour and a half. Could anybody tell me any idea about what can be the reason of this problem?
    Any help will b much appreciated.

    >      Database error text........: "POS(1) System error: BD Index not accessible"                    
    >      Database error code........: "-602"                                                            
    >      Triggering SQL statement...: "INSERT INTO "/BIC/SZD_PROD" ( "/BIC/ZD_PROD",                    
    >       "SID", "CHCKFL", "DATAFL", "INCFL" ) VALUES ( ? , ? , ? , ? , ? )"                            
    Hi Hari,
    looks like you are hitting a BAD index.
    Check the [DB50|http://help.sap.com/saphelp_nw04s/helpdata/en/9c/ca5bb3d729034aaf6f4cea2627c2f2/frameset.htm] or the DBMGUI - there should be warnings about this.
    To fix this issue, either use the DBMGUI -> Recover -> [Indexes|http://maxdb.sap.com/doc/7_6/30/5ada38596211d4aa83006094b92fad/frameset.htm] function or logon to dbmcli, get an SQL session ([sql_connect|http://maxdb.sap.com/doc/7_6/11/8af4411cf5c417e10000000a155106/content.htm]) and use the [sql_recreateindex|http://maxdb.sap.com/doc/7_6/30/f7c7f25be311d4aa1500a0c9430730/content.htm] command.
    Regards,
    Lars

  • The time dependency for reading the master data (define key date) of attribute '0IND_SEC' of InfoObject '0UCINSTALLA' has not been defined.

    Hi Gurus,
    We have recently upgraded our BI support pack from BW 701 SP 7 to BW 701 SP15. We are facing some transformation activation issue after the upgrade.
    Can some one help me with this.
    Thanks,
    Shak.

    Hi,
    Time independent.
    Some more details,
    Info Objects are active and I have tried  RSDG_TRFN_ACTIVATE program to activate. Checked RSRV for both the info objects.
    Thanks,
    Shak.

  • APD query key date with variable for time dependent MD display attributes

    Hello,
    In a APD I use a query as a source with a query key date that is filled with a customer exit variable.
    When I run the query as a user, the time dependent MD display attributes look fine. However, when I use the query in an APD, I get no values for the time dependent display attributes.
    Any suggestions?
    Thanks

    Hi,
    Try to run query using RSCRM_BAPI Tcode, this you can also schedule in background
    Thanks
    Reddy

  • How to make Charc into time dependant

    Hi Gurus,
    i have a Characterstic like A which dont have any attributes but i want to make it time dependant when i right click and select change i don;t find any option...to make it timedependant...
    so i want to know is it possible if yes plz suggest me
    thanks in advance
    harish

    Hi harish
    Can u elaborate more ur question
    what whether matno is changing with time?
    Check these links also
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a634be07211d2acb80000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/13/c3e7379899d06fe10000009b38f8cf/content.htm
    may answer ur question
    regards
    NR

  • Functional Location Field In AS02 (Time dependent)

    Hi All,
    I need to know if it is possible to add or show functional location in time-dependent tab(tcode AS02), because i found TPLNR(functional location) in table ANLZ. Fyi, ANLZ is the source table of time-dependent tab in tcode AS02.
    Really appreciate your help
    Thanks

    Dear:
              First see  layout assigned to your class through OAOA and then go to the path SPRO....Financial Accounting...Asset Accounting...Master Data....Screen Layouts...Define screen layout for master data...select layout...logical field group...select time dependent data...field group rules.. There you will find 89 (functional area)... Make its status optional or mandatory whatever you require.
    This will show the field in AS01 for data input.
    Regards

  • How to create a time dependent characteristic

    Hi,
    Can someone give me steps to create time dependent characteristic? there is a tab for attributes to make them time dependent.  I don't know whether we can make the characteristic as time dependent or only the attribute.
    Thanks,
    Sam

    What makes a IO a time dependent char?
    The attribute values of the IO change according to the time. meaning atleast one attribute value has to(supposed to) change during the course. So to make a IO time dependent, atleast one of ur attribute values should be time dependent.
    IO - change _ attributes - 4th column - time dependent - check that box. that would generate  - MasDataTab. timDep - SIDTab timeDepAttr(tables)
    simple saying in real time - cost center ABC's manager is XYZ from 06/19/2007 to 06/19/2008. So the manager (attribute of costcenter) has to be time dependent.
    Hope that makes it understandable. In essence the costcenter itself never changes but the attribute values do change.

  • Regarding time-dependant

    Hi all :
         There is an attribute called 'time-dependant' in the item line of Attribute page while creating Characteristic, 
    ****************************the sap description****************
    If they are time-dependent, attributes can be different. If only one attribute is time-dependent, then the master data table is also time-dependent. There can, nevertheless, be time-independent attributes for this characteristic.
    what does it mean by 'master data table is also time dependant' ?
    I don't quite understand when it is needed to be marked when not?  could you
    please give an example ?
         Thank you very much!
    Edited by: jingying Sony on May 10, 2009 7:33 AM

    Hi,
    Suppose you have infoObject Region and attribute sales rep.
    Now for time jan to March sales rep belongs to Region 1 and for time April to May it belongs to Region 2.
    So you make it time dependent.
    Means its value will vary based on time.
    You will have two more infoObjects added timefrom and timeto to the attribute table.

  • Profit center Time dependent and other Time Dependent Master Data

    Hello Friends . I ticked one of the attribute of 0Vendor -
    Attribute = Profit center Time dependent. Now I get
    Date To and Date From Field. I read that we need to set this in BI via routine. Can u Suggest the below
    Date From Field = GO live Date
    Question 1 : If I set Date To FIELD to be Month end like for oct 10/31/2007 and make a routine that will increase the Date To FIELD to November 11/30/2007. Will it spoil the load since I read in SAP Expert that we cannot have same date to field. But i guess we can have it, Like If i load it today Date to will be 10/31/2007 and tomorrow load will also have 10/31/2007 . so it will have monthly snap shots of master data
    Question 2 : what is advisable if I create Daily snap shots of master data like Date To FIELD will be Loading Date . Will that logic in routine to create daily loading date set to Date To FIELD will overburden the system and make the system die in few months or it is ok. we will have about 12 fields which will be time dependent.
    Question 3: If you have any routine that set Date To field please email me at [email protected]
    Please help
    soniya
    null

    Soniya,
    If you really need to do it, Quarterly is a better option than monthly so that you can reduce the number of records in master data.
    For the time stamp, you will have to write some code.
    Since you are going to use 0PROFIT_CTR object, the business content on this is still based on the old data flow. You have multiple places to write this code. The best place is to create a transformation between your Infosource and the InfoObject. Once you have the update rule, you can write a start routine.
    you have to populate the date from and date to field.
    date to = first day fo the current qtr.
    date from = last date of the current qtr.
    to get the first date and last date you can use the following logic.
    1. pass current date and fiscal variant to fm DATE_TO_PERIOD_CONVERT.
    2. get the first period and last period from the output of 1. (for example, the current date is converted to period 003, and year 2007, then for this value the first period will be 001, and last period will be 003 and so on)
    3. use fm FIRST_DAY_IN_PERIOD_GET to get the first date of the period.
    4. user fm LAST_DAY_IN_PERIOD_GET to get the last date of the period.
    If you don't know much abap, take help of abap developer.
    -Saket

  • Time Dependent

    Hi
    Can you please let me know how we can make the hierarchy in BW as time dependent.This hierarchy is created in r/3 using SETS.
    Do we need to make the hierarchy as time dependent in R/3 itself to make it time dependent in BW or otherwise.
    Thanks in advance.
    Sarah.

    yes your ABC object should be time dependent on BI.
    does that mean I have to create sets as time dependent.
    no need to create the set as time dependent(the system will figure it out for you), provided the master data of the object should be time dependent.
    Meaning - if you have a cost center 1000(master data), it should be have a couple of more fields line date to and from, that would say that the object is time dependent

  • Imposible to set a time dependency at a transformation

    Hi!
    I'm in trouble with a transformation (BW 7.0). I'm trying to fill a key figure reading master data from a characteristic. The key figure is an atribute of that characteristic, and it's time dependent. But when I define the rule in the transformation I cannot select any time characteristic to set the dependency.
    Thanks!
    Jose

    Jose,
    As far as I understand you are trying to use the "Read Master Data" option with Time dependency that was available in the Update Rules.
    If that's correct, here are the steps:
    Eg: Assume 1. 0REGION is a time dependent attribut of 0CUSTOMER.
    2. Data Src fields: KUNNR, DATE
    3. Cube: 0CUSTOMER, 0CALDAY, 0REGION
    Your transformation should look like:
    KUNNR=0CUSTOMER
    DATE=0CALDAT
    For 0REGION click to create the mapping:
    Choose Rule Type = "Read Master Data"
    In the "Source fields of Rule":
    Add the fields KUNNR & DATE using the "+" button.
    In the IO Assignment column, enter 0CUSTOMER & 0CALDAY and hit Enter.
    Now in the "Source Info Object" field to the rt of Rule Type, select 0Customer using F4 help. Since it is time dependent on 0CUSTOMER, the clock icon will appear. Click on the clock button and select 0CALDAY from the F4 help.
    It should work. Has worked for me (Data src to ICube directly)
    For ODS use the export data source.
    If it still doesn't work there are 2 more options:
    1. Write a small routine/formula to read the values (as Ingrid had suggested). OR
    2. Use it as a Nav Attribute (if the Attribute is a Characteristic) or as a Disp Attr (if the Attribute is a Key Fig). Then use the Key date of the query to calculate time dependency.
    (By default key date = Syst date; if you need custom date, use variable exit)
    That's all I can think of.
    Hope it helps.
    - Vishno.

  • Time dependent Attibute in my Infoobject ?

    Hi All,
    Scenario :I have one Char Infoobject with time dependent attribute in that . Data is loaded as Direct update with full load
    We are this to maintain History
    Question :
    1.When I go to maintain masterdata I get two attribute add along with my attribute as Valid From and Valid To, is it system genrated ?
    2.When I go to transfer rule ,we have maped this two genrated attribute as well - so In our system To date is constant as 31/12/9999 and Valid From is assign to 0calday.
    But when I see the data I get the entries for one particular material as multiple - and more ever it automatticaly adjust Valid To date = current calday -1 , the big problem for me I am not able to get How system is doing this adjustment for Valid From and Vaild To dates for previous entries . -
    Is this feature of Time depeneded attribute ???
    Note : When I see the infopakage I cant find start routine But I can find one date field from source made available only in Selection tab and which is assign to getyesterday (0)
    But which is not maped in transfer rule, I was thinking that it might be used to map to Valid to Date  through ABAP.. But I am not able to find code for the same ....
    Please advice and Give more info on Time Dependend Attibute .?

    1.When I go to maintain masterdata I get two attribute add along with my attribute as Valid From and Valid To, is it system genrated ?
    Is this referring an additional record generated by system with diff valid to and from dates ?
    Yes, system does that for Time dep m data
    Ex : Profit Center - 9999 -12/31/2006- 01/01/1000 - > System Generated  Record
    Profit Center - 9999 -12/31/9999- 01/01/2007 - > One in the source system created by user.
    That is how it works.
    But what is your concern because of this sys gen records ?
    You will only find the user created profit center in the report.

  • Enhance the Time Dependent Tab of the Asset Master AS01

    Hi,
    My requirement is to enhance the Asset Master Client dependent Tab transaction AS01.
    I have added a field in the ANLZ through some Append Structure.
    And added that field in the Custom Screen.
    After doing the functional config that field is visible.
    In the Time dependent tab, when we press MORE INTERVEL PUSH BUTTON A new screen appear with certain fields which already present in the Time dependent tab.
    Now my question is: How I can insert the new enhanced field in that and how we can save the data in ANLZ table.
    We are using ECC 5.0 version, requirement is to add some fields similler to ECC 6.0 version in time dependent tab of AS01 transaction.
    Thanks in Advance,
    Hari
    Edited by: Hari prasad REDDY 123 on Dec 17, 2009 2:52 PM

    Hi hari,
    Was this problem solved ? Wuld be great if you could le me know the solution .
    Thanks!!

Maybe you are looking for

  • How can I get safe internet for protect my phone and PC

    How can I get safe internet for protect my phone and PC. l lose all internet account I've three year. i lose my phone all app for a day even I safe all informating and apps in ICloud  but I lose all my phone information . Like I have new phone and I

  • Dynamic sql versus static sql in a loop

    I have a loop that loops around 10 million times.Inside the loop I have a insert statement . To build this insert statement wondering if a) I should use Dynamic sql using bind variables or b) static sql. I am aware that static sql is always faster th

  • Amber software update

    I have downloaded and installed software amber update two days back but my phone again notifies of an update for download. I don't know why. After the update my lumia 720 gets some added features like Nokia clock in sleep mode, radio, live tv options

  • Creating Custom DC copying Standard DC : Illegal dependency: Access list

    Hi , After having imported DC it has is/uces/ear ,is/uces/war & is/uces/java componets Created new DC for having different context node by importing xml files of standard is/uces/ear to is/ucesCustApp/ear. After creating Projects of all 3 Component ,

  • Can you help me for give me serial number adobe dreamweaver cc 2014

    serial number dreamweaver cc 2014