Navigation attribute behaviour during time dependent master data read
Hi All,
My report is based on infocube. There is one time depenedent master data characteristic named 0EMPLOYEE in the cube.
My report is run for a specific time period. For example Monthly and quaterly level.
There are many infoobject form part of dimension in cube and few are part of navigation attribute folder.
Now in the transformation there are some fields which needs to be read from master data depending upon some time characteristic for ex:-0CALMONTH, 0CALDAY. This rule is mapped correctly and data is also being stored correctly as per the specific time period in the cube.
Now there are some navigation attirbute which reads the data from 0EMPLOYEE master data itself.
My doubt is will navigation attribute read the latest record for the employee or is it intelligent enough to read the right records depending upon specific time char?
With navigation attribute we dont have option to specify any rule as compared to normal objects in transformation.
What will navigation attribute read ? Latest record or speicific records as per time period?
Thanks & Regards,
Anup
Hi Anup,
Let me give you one small example about time dependent attribute work,
let us say we have 0COSTCENTER as time dependent attribute of 0CUSTOMER. Now in your transaction data you have loaded values of 0CUSTOMER and in the query you have used 0CUSTOMER_COSTCENTER attribute.
Transaction Data,
Tran. no. Customer Number Amount
1 123 500
2 125 450
3 126 900
Master Data:
Customer Cost Center Valid From Valid To
123 COST1 1st Jan 15th Jan
123 COST2 16th Jan 30 March
123 COST3 31st March 30 June
In the above example the data loaded for valid to and valid from has came from source system and for this data you will have direct mapping done in transformation. Now data will reside as above in your system.
When you use Key date as 20th Jan then the cost center for customer 123 in the query will be shown as COST2. So this assignment of time dependent data is done at runtime only and will not have any impact on underlying data.
Regards,
Durgesh.
Similar Messages
-
Time-dependent master data in the cube and query
Hello,
I have a time-dep. masterdata infoobject with two time-dep attributes (one of them is KF). If i add this infoobject into the cube, what time period SID will be considered during the load? I assume it only matters during load, if i add the KF to the query it gets its value based on the SID in the cube.. right?
Thanks,
vamsi.If its Time Dependent Master Data object when you run your Master Data if that time any changes to the Master Data that value will be overwrite to the old value you will get the new value. When you run the Query execution the Infocube Master Data infoobject will having the SID that time it will to there it will be displayed at that moved what is the value you have in the Master Data table.
This is what my experience.
Thanks,
Rajendra.A -
Activate time dependent master data
Hello,
we're experiencing problems in activating time dependent master data.
We're using 0UCINSTALLA infoobject, in the P table all records have objvers = A, but in the Q table there are only a few A records, the most of them have objvers = M and changed = I.
So, how can we activate those records?
Thanks,
Tudorhi David,
I am having the same problem activating the 0mat_plant...
It is says that the object status is inactive & try to activate it...
The steps I did was....
Hi All,
I am adding a navigational attribute to 0mat_plant...
& after that when I am activating 0mat_plant, it throws an error as follows:
*Diagnosis:*Errors arose when activating InfoObject 0MAT_PLANT. An active version already existed before the activation.
_System Response:_InfoObject 0MAT_PLANT could not be reset to the old active version. Since the generated objects no longer correspond to the old active version, they were reset to inactive.
*Procedure:*The old active version of InfoObject 0MAT_PLANT can no longer be used. Remove the cause of the activation error and activate InfoObject 0MAT_PLANT anew.
Pls help me with this issue ASAP...
Thanks -
What is time dependent master data?
Can anybody explain me in detail with an example for time dependent master data?
Thanks in advance.
Sharat.hi,
the master data value changes with respect to some time characteristics.
say- Salesregion is a char that have sales rep as master data(attribute)
saleregion date from date to sales rep
sr001 20/10/2007 20/12/2007 Ram
sr002 21/12/2007 12/05/2008 Ram
in the above example Ram is in two sales region in different dates.
these type of attributes were time dependent.
usually time period will be defined in the data range of 01/01/1000 to 31/12/9999.
Ramesh -
Modify code to pull the time dependent master data
I fully under stand the suggestion below for the requirement to add the time dependent attribute comp code
thanks fo rthe help but please tell me if there is a way i can modify the abap code and make the user enter the value for the date on which he want to pull th emaster data for company code or keydate to and from and pull the master data, so how will i proceede should i create the variable on 0doc_date and how to modify the code. please help . i have opened another question with same desc as above to assign points
thanks
soniya
The literal within <..> is supposed to be replaced by the actual field name (as I didn't know the fields). In this case, I am changing your code for costcenter/company-code.
data : wa like /bi0/qcostcenter.
select single * from /bi0/qcostcenter into wa
where costcenter = comm_structure-costcenter
and objvers = 'A'
and datefrom le comm_structure-<keydatefield>
and dateto ge comm_structure-<keydatefield>.
if sy-subrc = 0.
result = wa-comp_code.
endif.
abort = 0.
You can use this code for update rule of company_code. You have to replace '<keydatefield>' with a field name that contains the date on which the company is to be derived. If there is a date in your comm_structure (eg aedat) which you can use, you can specify that field in place of this literal (instead of comm_structure-<keydatefld> use comm_structure-aedat). If you have no such field, and you wish to use current date for getting the company code from time-dependent master data, you can use sy-datum (ie replace comm_strucutre-<keydatefld> with sy-datum).
And it should work.
The 'master data attribute' option is one of the options when you create update rule (one of the radio button options).That the code is doing anyway.
If your txn data in the cube doesn't have a date, how does it know it is Feb data, or, it is March data?
If it has a date or month field, you should modify and use this code to update the company based on that date instead of system date.
Other than that minor variation, it is already doing what you look for. -
Time Dependency Master Data Load
Hi:
This is my first time to work on time dependency master data. I need help!
I first deleted master data and cleaned up the PSA for material sales.
Then I have turned on the feature of time dependent on the info object for material sales. Save it and activated the object.
Then i have problems by loading the master sales attribute data in PSA. The error is: on every record of material, it has "invalid 'to' date '00/00/0000'" and "invalid 'from' data '00/00/0000'".
Is every process i did wrong? What is the process to work on time dependent master data? and loading the data?
Thank you!!Hi,
After turning on the time dependence...you get an extra field in the key of the master data table Q table date to and a new field date from as a new field.
These two fields needs to be mapped to date to and date from R/3 source as well.
If there is no source field for these two then you need to make sure to get the values for these fields.
Just check if you are getting any field like that from R/3...right now i think you have left the mappings for these fields as blank.
Thanks
Ajeet -
Reporting on Time Dependent Master Date Info Provider
Dear All.
We have a info object Employee which is time dependent master data containing all the information with time dependency, when i create the query over this info object it give me the option to select the key date and it show the accurate information which is lying according to the key date.
my requirement is to show all the records in the report which are there in master data but i am not able to show more then one record cause of the key date, can you please let me know how can i show all the records for any given employee id in the query.Hello Zeeshan,
By standard if you create query directly on time dependent info object, it would display the active records as of the report execution (if no key date has been provided). In any case you can only see one record per the info object key, not the history.
In order to fulfill this requirement, you may need to create infoset on this infoobject and select "date from" and "date to" as part of infoset fields.
Then create bex query on the infoset and drag the "date from" and "date to" also into "rows" section of the query (apart from infoobject key, time dependent attributes). This will let you see the history of changes to time-dependent attributes of the infoobject.
Cheers,
Vasu -
Reporting Need on Time-Dependent Master Data
Hi Gurus, I have asked this question earlier as well but I did not got satisfactory answer so I thought I should open another thread.
I have this time-dependent Master data infoobject. I see that from the 2 extra fields are added DATETO and DATEFROM. I see in the transfer structure that theyare mapped to ENDDA and BEGDA from an R/3 table.
At the reporting level, the InfoProvider doesn't show these 2 fields. I wanted to see how I can make them show up in the InfoProvider so that I can create report using them. Please help me out on this one. Please let me know if I need to clarify this more.
Thnx.Hi Bigtoja,
Immediately I can suggest 2 options ...
1. Have these two fields as attributes of the info object ... this will make them appear on the info provider.
2. Have an infoset built on it which will act as an info provider.
Adn as far as your question goes ... What I am trying to figure out is ... does making an info object as an info provider exposes only the P table ... since P table will not have Date To and Date From? I will have to research as well ...
Best regards,
Kazmi -
Hello,
We have Cost Center as a time-dependant master data attribute of 0Employee and a cube with the day and hours for employees such as below.
Time Cube
Employee# Work Date Hours
1 1/5/2008 8
1 2/8/2008 8
Master Data
Employee# Begin Date End Date Cost Center
1 1/5/2008 1/31/2008 1000
1 2/8/2008 12/31/9999 1200
If we run a query based on the above with a "Key Date" of 2/15/2008 we'll get the below:
Employee# Work Date Hours Cost Center
1 1/5/2008 8 1200
1 2/8/2008 8 1200
However what we're really looking for is a design so that when the query is run it will look at the Work Day and join with the master data for that date range and use the cost center for that day, such as below. Is this possible?
Employee# Work Date Hours Cost Center
1 1/5/2008 8 1000
1 2/8/2008 8 1200
Thanks,
RonOne way to do this dynamically with no restrictions is to use virtual characteristic.
There is a BW Expert article on this: u201CVirtual Characteristics and Key Figures Make Queries More Dynamicu201D, here is the [link|http://www.bwexpertonline.com/archive/Volume_02_(2004)/Issue_02_(February)/V2I2A1.cfm?session=].
You need a subscription to red this.
Otherwise here are [links|https://forums.sdn.sap.com/click.jspa?searchID=12889439&messageID=5075982] from SDN. -
BPC - Time Dependent Master Data
Hi,
I wanted to confirm can we maintain time Dependent master data in BPC ?
For Example : For dimension employee I have "Date of compensation change" as an attribute.
Now for cycle it will have different value and for cycle 2 it will have different value.
Cycle 1 = Jan to Jun Cycle 2 Jun to Dec
For cycle the value is Jan 2008 for cycle 2 the value would be July 2008.
Will this overwrite the previous value or it can maintain different Master data for cycl1 and cycle 2?
Thanks
AnkitaHi Ankita,
The current BPC release does not support time-dependant master data.
Regards,
Marcel -
0CALDAY for time dependent master data lookup unknown when migrated to 7.0
I am in the process of migrating a number of InfoProviders from the 3.x Business Content to the new methodology for BI 2004s.
When I try to create a transformation from the Update Rules for 0PA_C01, all of the rules that use a master data lookup into 0EMPLOYEE give me the error such as "Rule 41 (target field: 0PERSON group: Standard Group): Time char. 0CALDAY in rule unknown".
How do I fix the transformation rule that is generated from the update rule for these time-dependent master data attributes?Hi Mark,
look at http://www.service.sap.com/. I guess you need to implement some corrections or newer supp-packages.
kind regards
Siggi
PS: take a look: https://websmp104.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=941525&_NLANG=EN
Message was edited by:
Siegfried Szameitat -
DSO as a time dependent Master Data infoprovider
Hi All
I am looking for a "How To" document on how to use a DSO as a time dependent MD provider.
I want to load a non time dependent Master Data from a non SAP source and update the DSO daily.
When ever an attribute is changing, I want to update the last status "To Date" from 31.12.9999 to today.
Hope I am clear on this one.
I don't want to use regular master data capabilities...
Thanks, DrorJurgen is right...
For an after image based extractor containing the latest view of the world - you basically can do this
DSO 1
Customer - Key
Sales Persion
Date to
Date From
last_date = 31.12.9999 (constant)
load date = sy-datum
First load:
customer A, Sales Person X, To Date = 31.12.9999 , from date = 12.03.2010
Second load a week later
customer A, Sales Person Y, To Date = 31.12.9999 , from date = 19.03.2010
Change log generated is
customer A, Sales Person X, To Date = 31.12.9999 , from date = 12.03.2010 record mode before image
customer A, Sales Person Y, To Date = 31.12.9999 , from date = 19.03.2010 record mode after image
What you can do now is feed master data timedependant object or another dso.
If it is another DSO then the structure is this
DSO 2
Customer - Key
Date from - Key
Sales Persion
Date to
You need the date_from as part of the key because you are going to use the overwrite facility to play with the data depending on the record mode of the changelog entries
but in the start routine make sure the semantic keys are correct so you get both images in the same packet
Then use field symbols to load the data package in to sort and then find the opposing after image and before image then
if record mode = before image
To date = from date from after image MIINUS 1 day
endif
Then the data going out of the start routine is this
customer A, Sales Person X, To Date = 18.03.2010 , from date = 12.03.2010 record mode before image
customer A, Sales Person Y, To Date = 31.12.9999 , from date = 19.03.2010 record mode after image
And the records stored will be this
After initial load
customer A, Sales Person X, To Date = 31.12.9999 , from date = 12.03.2010
After next weeks load
customer A, Sales Person X, To Date = 18.03.2010 , from date = 12.03.2010
customer A, Sales Person Y, To Date = 31.12.9999 , from date = 19.03.2010
Or something like that - but you get the idea.. and yes I have done it before -
How InfoSpoke reads time dependent master data ?
Hello Experts !!
How InfoSpoke reads the time dependent master data ?
What key date it reffers to ?
Can you please explain, I want to use this concept in writing master data lookup for time dependent attributes of 0MATERIAL.
Thank a lot !You can either specify the time period in the filtering area of infospoke or you can implement a transformation BAdI -OPENHUB_TRANSFORM to manipulate the data whichever way that suites your requirement. All time dependent infobjects have datefrom and dateto fields which you can use to choose your data range accordingly.
Hope this helped you. -
Problem with Time dependent master data
Dear All,
I have 0PERSON master data infoobject. It is getting records extracted from backend R3 and from a different datasource called 'Peoplesoft'. It has a field 'Date of Birth'. Point of concern here is - whether a particular employee is present in Peoplesoft or in R3, his date of birth is constant. Unfortunately someone hs made 'Date of Birth' as a time dependent attribute of the InfoObject 0PERSON.
We extract data from Peoplesoft from 01.01.1900 to 31.07.2005. From 01.08.2005 onwards, data is getting extracted from R3.There are some employees which are present in Peoplesoft but they are not in R3.
Problem is occuring when the user is reporting on a relevant Infocube containing this 0PERSON infoobject. He does not see the value for this 'Date of Birth' field for certain employees. The reason for this is that the 'Date of Birth' field is blank in the interval 01.08.2005 - 31.12.9999 as this employee was absent in R3 and hence no record/s got extracted.
To view this value in the report - Please suggest me a possible remedy. I thought to write a routine but I dont think it is advisable to change a time dependent master data.
Thanks,
SrinivasHi,
There are two ways of solving your issue.
- Remove the time dependent check box for 0person, delete the transactional data, load the master data again and reload the transactional data.
- Write a program to extend the 'Date to' value to 31.12.9999 for all employees.
Ravi -
Reorganization of time dependent master data
I am using reorganization of time dependent master data and it does not merge overlapped period as suggested by SAP. Any suggestions please.
http://help.sap.com/saphelp_nw04s/helpdata/en/c7/b05e3cc3a1a62ce10000000a114084/frameset.htm
Best Regards
VikashHi,
you have used the processvariante "reorganization of time dependent master data" in a process chain and it doesn't work?
I don't think so.
1. it works perfekt. so, you can reduce the data in the master data table.
2. you don't have overlapping periods - you have one-after-another time intervals.
=> Please check the attributs again. I think there is a change in one attribut.
Sven
Maybe you are looking for
-
I have a new MacBook Pro and used the tool to transfer information from my HP Computer to the MAC during set up. THe size of the disk space used on the HP was about 200GB. Now I have 400GB used on the MAC. I have added up all the folders and applicat
-
Encore CS5 freezes when building DVD
Hi! Just spent lots of money on CS5 and got lots of problems. Cannot build DVD at all. Even 50 sec. HDV, DSLR or any kind. Encore becomes frozen after few min of transcoding. dual xeon Nvidia quadro 4800 12 gb ram RAID 0 2 T plus multiple single dr
-
Hi there, all of a sudden, i can't read/write any DVD-RW any more. Even the DVD-RW's i burned three months ago on my MacBook Pro can't be read anymore on the same MacBook Pro. The drive is just spinning around for about 20 seconds and then spits them
-
How to get Priemere Elements to run?
After installing Photoshop Elements and Priemere Elements, Photoshop Elements works fine, but Priemere Elements fails to run. Clicking the icon causes a brief pause and then nothing.
-
Is there any template to customize java pages .....?
Hi friends, For Oracle pages you can go for customization using Custom.pll or form personalization. Our client is going for upfradation from 11.5.10.2 to R12. In 11i we customized CUSTOM.pll to make specific users read/view only.The same code is migr