The report span time-dependent attribute
A infoObject 's attribute is time-dependent , for example Attribute B
is time-dependent ,
1000-01-01 To 2006-12-30 B value 'Plant 1'
2007-01-01 To 2007-12-30 B value 'Plant 2'
2008-01-01 To 9999-12-31 B value 'Plant 3'
I want to show my report from 2005001 - 2009001 , It will need to
choose a key date , but if I do that , for example , I choose the
key date 2007-02-01 . The data before 2007-02-01 will not show , I
know it's right in tech view , but users can't understand . So how can I
show my data freely.
Reed Lei .
Hi Reed,
Yes, that's a limitation (or not) of time-dependant attributes. You can only show time-dependant attributes based on one key date.
Hope this helps.
Regards,
Diego
Similar Messages
-
Monthly Report with time-dependent navigational attribute
Hi,
We've a characteristic costcenter that has a navigational attribute called segment which is time-dependent attribute.
CostCenter-Segment master data is as follows.
COSTCENTER Segment validFrom Valid To
============================================
CSTCNTER_1 SGMNT_A 10000101 20100831
CSTCNTER_1 SGMNT_B 20100901 99991231
Cube data is as follows. We don't have Segment in the cube. Also, no plans of adding segment to the cube.
COSTCENTER MONTH AMOUNT
========================
CSTCNTER_1 201007 100
CSTCNTER_1 201008 200
CSTCNTER_1 201009 300
CSTCNTER_1 201010 400
I'm trying to achieve monthly report by costcenter & segment as follows. Is there a way to achieve this?
COSTCENTER Segment MONTH AMOUNT
===============================
CSTCNTER_1 SGMNT_A 201007 100 (last day of 201007 is 20100731. as of 20100731, CSTCNTER_1 belongs to SGMNT_A)
CSTCNTER_1 SGMNT_A 201008 200 (last day of 201008 is 20100831. as of 20100831, CSTCNTER_1 belongs to SGMNT_A)
CSTCNTER_1 SGMNT_B 201009 300 (last day of 201009 is 20100930. as of 20100930, CSTCNTER_1 belongs to SGMNT_B)
CSTCNTER_1 SGMNT_B 201010 400 (last day of 201010 is 20101031. as of 20101031, CSTCNTER_1 belongs to SGMNT_B)
Appreciate any help.
-harithanks for looking into this.
I"ve already turned on SEGMENT as a navigational attribue in cube, for the reason, my current report looks like this.
COSTCENTER Segment MONTH AMOUNT
===============================
CSTCNTER_1 SGMNT_A 201007 100
CSTCNTER_1 SGMNT_A 201008 200
CSTCNTER_1 SGMNT_A 201009 300 I'm expecting this should show up in SGMNT_B
CSTCNTER_1 SGMNT_A 201010 400 I'm expecting this should show up in SGMNT_B
But, I'm expecting the report look like this
COSTCENTER Segment MONTH AMOUNT
===============================
CSTCNTER_1 SGMNT_A 201007 100
CSTCNTER_1 SGMNT_A 201008 200
CSTCNTER_1 SGMNT_B 201009 300
CSTCNTER_1 SGMNT_B 201010 400 -
How to use a time dependent attribute as a replacementh path in a Bex
Hi friends,
Does anyone know if it is possible to use time dependent attribute as a replacementh path inside the Bex Query .
For example in master data I heve like following records
material value date from date to
AA 12 01.01.2000 01.01.2002
AA 15 02.01.2002 01.01.2005
And on transaction if I have data like
material callday salesquantity
AA 01.04.2000 50
AA 01.055.2004 100
I want a report output like
material Calculated value
AA 2100( 50*12 + 100 * 15 )
Thanks for helps
Regards
ErkanThanks for your reply Anil ,
We are using the progress that you mention at the moment , but sometimes data needs some corrections on factors which had been loaded inside the cube. It is not possible to correct those values inside the Cube later. So I need a solution on time dependent attribute with replacementh path . Then it will be available for corrections on master data .
Regards
Erkan -
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 -
hi experts
what are the tables created for time dependent attribute?
and for normal attributes what are table created?
pulihi,
For attributes /BIC/P<Tech name of info object>,Q,X,Y.
P-time independent attributes
Q-time dependent attributes
X - SID links of Charcteristics and Time independent Navigational attribute
Y-SID links of Charcteristics and Time dependent Navigational attribute
Ramesh -
User exit for time dependent attribute
Hello,
In My InfoObject some of the attributes are time dependent and some are not.
Im trying to enhance the time dependant attribute and cant find the fields date to and date from in the transfer structure of the start routine. I also couldnt find the time dependent fields only the fields in the /BI0/P table appears .
Where can I find the fields of the /BI0/Q table (=Time-Ind fields) ?
Please help,
DavidHi,
well normally you see the time independant data in the /bix/p- table and the time dependant data in the /bix/q- table. If you want to see both use the /bix/m- view.
kind regards
Siggi -
How to remove time dependent attributes from 0VENDOR- Please help
Hi All,
As part of master data enhancement, I had added some time dependent attributes to Vendor Master object. After activating, the respective time dependent tables were all created/activated.
Now due to change of requirements, when I am trying to convert the time dependent attributes to non time dependent, I keep getting the activation error because it keeps giving a message "Unable to change the primary key" for MVENDOR. This view is getting the DATETO field because of the original activation. It is not removing that field and is causing the issues.
Even if I adjust/delete the QVENDOR table in SE14 and then try to activate 0VENDOR, it is still retaining the DATETO field in the MVENDOR view and is recreating the QVENDOR table.
I even tried to delete the time-dependent fields from the 0VENDOR (instead of just de-selecting the time dependent flag)...it is saving the changes..but giving activation error.
Is it not possible to delete the time dependent attributes from the Master data...once they are added ?
Please advice.
Any help with this will be greatly greatly appreciated.
At this point 0VENDOR is in inactive state.Hi Friends,
First of all, sorry I did not get a chance to respond earlier. There was an issue with my p/w for some strange reason and could not log back in till today.
Also, thank you for all your suggestions.
However, the issue is now fixed. Basically I had already explored and tried every option suggested int his forum, but was still having issues.
The problem was that there was another table in the system that had a reference to this Master Data table field (as a foreign key). After I removed the foreign key referece in the other table, then it let me proceed further.
Thanks again.. -
Time dependent attribute getting blank
Hi Friends,
we've got infoobject "0CFM_SEC_ID" which has got time dependent attributes, actually the data upto PSA is available perfectly, and all data getting populated except for the time dependent attribute "Act. Traded Date", this is getting blank, no data is getting populated to this time dependent attribute,
as fas as tranformations are concerned, they are ok, then what might be the reason?
Regards,
BalajiReddy K.Hello,
i have the same Problem. After the Release update from ECC 5.0 to ECC 6.0 and BW 3.5 to BI 7.0 i activated the DataSource 0CFM_CLASS_MASTER_DATA_ATTR with the new available attributes. I also replicate DS and defined the update rules in the BW. But the load (also RSA3 in source system) shows no values for time dependent attributes.
After posting a OSS note i got the solution:
The enhanced DataSource 0CFM_CLASS_MASTER_DATA_ATTR with time-dependent attributes is combined whit some customizing settings. The Flag in View FTI_BI_V_SWITCH have to be set to use the new extraction method with time-dependent attributes. See notes: 1410617, 1087663, 1290259. For more information look at F1 Help of Flag-Field in View FTI_BI_V_SWITCH.
If you don't set the Flag, the DataSource works with the old extraction method and the new available fields continue empty.
best regards!
Edited by: Daniel Tejado on Mar 2, 2010 1:33 PM -
About reading time-dependent attribute
hi experts,
i wanna read attribute from master data and the attribute is time-dependent, the transformation's rule detail is :
Source Fields:
0DATETO
0UC_POD
Target Fields:
0UC_POD_EXT
from attrib. of: 0UC_POD
0UC_POD_EXT is a time-dependent attribute of 0UC_POD
and the time setting is End frm 0CALDAY
my question is:
in my source fields, there is no field name 0calday, and i don't quite understand what the options (start, end, frm) mean, would u explain in detail for me?Hi,
Date InfoObject for reading master data on demand:
The attribute you want to read is time-dependent.
Before you specify the time range, add a time characteristic to the rule. This must be one of the following SAP time characteristics: 0CALDAY, 0CALWEEK, 0CALMONTH, 0CALQUARTER, 0CALYEAR. To do so, choose Add Source Fields in the Source Fields of Rule area and then select a time characteristic.
Note the following when you define the key date: If you select Start , the first calendar date of the specified period is used; if you select End, the last date is used. If it is the date time characteristic (0CALDAY), it does not matter if you select Start or End. -
Time Dependent Attributes for 0UCINSTALLA
Hello BI experts,
I have one question regardning time dependent attributes for Installation InfoObject (0UCINSTALLA) that are loaded from DSO (0UCS_DS06).
My Installation InfoObject has 3 time dependent attributes:
- ZGSP_ID
- ZPROF_CL (Profile Class)
- ZDUALFUEL (Flag for Dual Fuel installation)
EXAMPLE:
UCINSTALLA DATEFROM DATETO ZGSP_ID ZPROF_CL ZDUALFUEL
1 01.01.1000 31.03.2009 _A 3 X
1 01.04.2009 31.05.2009 _B 3 X
1 01.06.2009 31.12.9999 _B 3
In the DSO it is represented by following entreis:
UCINSTALLA DATEFROM DATETO OPERAND CHARVAL
1 01.01.1000 31.03.2009 ZGSP_ID _A
1 01.04.2009 31.12.9999 ZGSP_ID _B
1 01.01.1000 31.05.2009 ZDUALFUEL X
1 01.06.2009 31.12.9999 ZDUALFUEL null
1 01.01.1000 31.12.9999 ZPROF_CL 3
The lines that contain ZGSP_ID as openard should populate ZGDS_ID field, lines with ZDUALFUEL operand populate ZDUALFUEL attribute, etc
How can I map in one transformation? I believe this has to be done in ABAP, but it would be rather difficult to manipulate dates:
- when first record is processed Start Routine has to browse for all other lines in the DSO for the same installation and split the record into 2 or more depending when other attributes are valid.
At the same time one record have to be split into multiple records (when valiity dates for three attributes don't match), and multiple records have to be merged (for intervals when all attributes are valid).
One alternative is to load these three attributes from three separate DSOs - then BI will take care of dates by itself. But this is a bit nasty solution.
Could you kindly please advise if there is any simple way of doing this logic?
Kind regards,
Roman PikuzinskiHI,
If your data source contains dates such as start date and end date, then you can map them to 0DATEFROM and 0DATETO respectively. In that case the 0DATEFROM and 0DATETO take the values from the data source and split up.
For eg. if the start date is 05/25/2010 and end date is 12/31/2010, then now in your info provider you will have three records-
0DATEFROM 0DATETO
01/01/1900 05/24/2010
05/25/2010 12/31/2010
01/01/2011 12/31/9999
However if you do not want to map any field from the data source to these attributes then they take the system generated values - 01/01/1900 and 12/31/9999 respectively.
Hope this helps in the understanding.
Thanks,
Rahul -
Different dates for 2 Time Dependent Attributes
I've got 1 time dependent attribute (TD1) within a query. When executed, the query asks for a key date to be applied on this time dependent attribute.
We've been asked to enhance our model adding a new time dependent attribute (TD2).
Everything is OK so far.
The problem arises when our user needs to enter a date for TD1 and a different date for TD2, as in the same query only one key date can be used.
We're thinking about adding a Key Virtual Figure, but we know it makes the performance down. The cube is huge.
Any other suggestions to sort this out?
Thank you!Hi,
The provided standard datasources for these don't have the valid date fields, so wouldn't you have to enhance them after the config from R3?
What an alternative way of doing the time dependent if ther R3 analysts won't change their config?
Is this common practice and done often? -
How to know the User name and date, who executed the report last time.
Hi All,
We are collecting a list of reports which are not executed for past 3 months. Can anybody tell me how to know the username and date they executed the report last time.
Is there any table to look ? or is there any process ?
Thanks,
Ravi.Ravi,
Use SE16 - then look at rszcompdir.
We look up Version = 13 for queries.
Regards
Gill -
Time-Dependent Attribute & most recent active value
Hello experts,
How can you show in your report the most recent value of an attribute. It is now showing the first value it encounters.
I need it to show the value which is valid at this moment in time.
That's the whole point of time-dependant, but I can't figure out how to do it.
Any input is highly appreciated.
Naokihi,
in query edit mode, click 'query properties', choose button 'values' beside the key date box, tab 'variable', choose the variable 0DAT - current calendar date, or just type in &0DAT& to the box.
http://help.sap.com/saphelp_nw04s/helpdata/en/07/0ab63c71f41d5ce10000000a114084/frameset.htm
Message was edited by: A.H.P -
Measures differing if we drill down by time-dependent Attributes
Hi Everyone,
I am having 2 similar reports,one based on a Cube and other based on a Multi Provider.
The data is being fed into these two InfoProviders,from exactly same sources.
Now,if I display the measure(eg. Invoice spend),in both the reports based on the above two InfoProviders,the overall Invoice spend matches across both the reports.
But if we drill down by a characteristic(eg. BU- Low or BU-High) they differ.But by drilling down by any other characteristic they matches.
I have found out,that the nav. attributes(BU- Low and BU- High) are checked "time dependent".
While the others,for which the result is matching are not.
Can this be a possible reason for the mentioned anomaly?Or can there be some other reason to this difference?
Thanks,
Brinto.Hi Chinnapa,
Just want one clarification here.
take one example.
if you have loaded data on 10th April, then date range is 10th april to 30th april.
then you are loading data on 11th april, at that time you want date range 11th april to 30th april.
So what will happen to 10th april data? what range? 10th to 10th? -
Report on time dependant master
Hi,
I want to write a query on Equipment master giving me Plant wise Month Year wise count of active equipments.
For example :
I have following data in 0Equipment
Equipement--PlantValid from date----- Valid To date
1001--XYZ--01/01/2008--
30/03/2008
1002--XYZ--01/02/2008--
30/05/2008
1003--ABC--01/01/2008--
30/11/2008
1004--ABC--01/04/2008--
30/11/2008
1001--ABC -01/04/2008--
30/06/2008
Report required is:
Jan/2008---Feb/2008-Mar/2008-Apr/2008-May/2008-Jun/2008---Jul/2008
XYZ--1221--
1
ABC--111333--
2
0Equipment is time dependant (valid from date - valid to date) characteristics.
Please help.
Rgds,
Deepak
Edited by: Deepak S on Feb 10, 2009 3:04 PM
Edited by: Deepak S on Feb 10, 2009 3:12 PMHi Deepak,
Try this,
Put, Plant in rows , 0calmonth in columns. Under 0CALMONTH, create a structure, create a formula --with only on formula variable ZEMP. Variable ZEMP is then processed by replacement path and is replaced by the infooobject key.
In the formula properties in Calculation tab mention calculate single values as count.
Hope it helps,
Regards,
Sunmit.
Maybe you are looking for
-
I am using Visual C++ program that uses JNI. Within the code, I am using Java 2 Cryptography extension to do encrypting and decrypting. I need help to understand the error message I have and what I need to do to fix this bug.... Thanks so much for an
-
File to Jdbc: how to get record count from DB table
Hello, i have a scenario file to JDBC....ihave to insert input file data to DB table. now my requirement is ..if i insert a file with 50 records to db table on first time, and then next time if i insert the file with 100 records to db table....the co
-
Transfer BBM Chats to new Device
Hi, I am trying to transfer my BBM Chat History from my old Z10 to a new Classic. I have followed every resource I can find, especially from CrackBerry. No Luck. I have backed up my BBM chat history fromthe Z10, but can't restore it onto my Classic
-
A method completes partially???
Hi I'm using a method developped by myself which compares two arrays and if there are equal items deletes them all and returns an array of items that were not in any of the compared arrays. But, my program executes those methods many times in a row,
-
Same old question (rows to columns using pl/sql)
Hi all, i am re-posting the same requirement, please do the needful. I need a query to convert row value into column delimited by space. Dont need any column names just values. create table tb_row_2_col (id number,val varchar2(100)); insert into tb_r