Date as a Keyfigure

Hi Friends,
i have created a keyfigure with date as a data type.
When i am trying to load the data from ODS to Infocube,
i am encountering a problem in the update rules. No update option is getting selected automatically and the 'addition' option is not there.Because of that i am not getting the data related to that keyfigure into the Infocube.
Thanks in Advance.
Venkat
Venkat

Hi Venkat,
i suppose you've already checked the format, havent you.
Is the keyfigure already available in the ODS?
From the source-field out of the Sourcesystem, you should perform the mapping within the transfer-rules to the ODS (if the delta-mechanism allows it).
The key-figure should not be referenced to 0DATE but should be a simple key-figure of type date.
Oh, and watch out the different time-konversions (INVERT etc ...)
Hope that helps
Regards
Sven

Similar Messages

  • Calculation of Date and Time Keyfigure

    Hello Experts,
    I want to get the result out of two keyfigures with different data type. One keyfigure has the data type TIMS and the other DATS. Is it possible to calculate the following:
    Result =  (Keyfigure1 TIMS + Keyfigure2 DATS) - (Keyfigure2 TIMS + Keyfigure3 DATS)
    Thanks in advance for your help.
    AK
    Edited by: Siegfried Szameitat on Nov 5, 2008 3:52 PM

    Anastasios Kozas,
    Out put(Result) you need in days or hours..?
    Eg: For Hours: find difference between hour keyfigures + difference between date and convert to hours.
    Then it works.
    Srini

  • How to use previous year keyfigure data in current year for other keyfig

    Hi Expert,
    I have 1 requirement wherein I need to use previous year data for some keyfigure calculation.
    Details are as follows:
    I have designed query with CKFs Turnover & UVG (in rows) & Fiscal year period in columns.
    Suppose Keyfigure Turnover data is displayed from Apr2009 to Mar 2011. In UVG: for Apr 2010, i need Turover data of month Apr 2009, for May 2010 turnover data of May 2009 similarly for other months.
    As per my understanding, I need to use customer exit which will store kf turnover data in internal table & in turn it will be used for UVG.
    But I'm not able to put it into syntax.
    Kindly suggest your inputs in this scenario.
    Thanks,
    Shamkant

    Hi
    Note that the variable ZCALCCALMTH is exit type and variable ZCALMTHREF is ready for input.
    WHEN 'ZCALCCALMTH'.
    IF i_step = 2. "après le popup
    READ TABLE i_t_var_range INTO loc_var_range WITH KEY vnam = 'ZCALMTHREF'.
    IF sy-subrc = 0.
    CLEAR l_s_range.
    year1(4) = loc_var_range-low(4).
    year1(4) = zyear1(4) - 1.
    zmonth1(2) = loc_var_range-low+4(2).
    CONCATENATE zyear1(4) zmonth1(2) INTO loc_var_range-low(6).
    zyear2(4) = loc_var_range-high(4).
    zyear2(4) = zyear2(4) - 1.
    zmonth2(2) = loc_var_range-high+4(2).
    CONCATENATE zyear2(4) zmonth2(2) INTO loc_var_range-high(6).
    l_s_range-low = loc_var_range-low(6).
    l_s_range-high = loc_var_range-high(6).
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    ENDIF.
    bye
    Boujema

  • Is it possible to delete the keyfigures data in a master data object?......

    Hi Folks,
    can any one please tell me how can i delete a particular keyfigures data i na master data object.
    just i loaded wrong data to the keyfigure.i want to delete the whole data for the keyfigure only.so any one please help me .its very urgent.
    Thanks in advance.
    ashok.

    Hi Ashok,
       you  cant delete   particular attribute (as keyfigure  in ur case..) data for particular master data.. you need to delete entire master data once.. but before that you need to delete  transactional data related that master data.. and then load  once again with the correct data...
        but you can't delete particular attribute(key figure data)...
       otherwise.. you can load once again the correct data.. because.. if you load same data  means master data  will just ovverwrite the  previous data  so, you can try with this option also..
    regards
    @jay

  • Attaching Zdomain to Keyfigures Data Element

    Hi All,
    I have craeted Z Data Domain as per my requirements in developement server.
    I attached this domain to the Data Element craeted for Infoobject by deleteing the std one.
    I have transported both the Keyfigure and domain to Quality server.
    But in quality server these changes are not getting reflected.
    Yet the Data Element for Keyfigure is displaying the std one instead of the Z domain.
    Please suggest me what can be done to attach Zdomain to key figures Data Element and this has to get reflected in quality server .
    Thanks,
    Swati
    Edited by: Swati Pardeshi on Aug 21, 2008 12:39 PM

    Hi Hanni,
    Welcome to forum.
    Try to attach key word VALUE CHECK to your PARAMETER statement.
    I.e:
    PARAMETERS test TYPE ZDATA_ELEMENT_TEST VALUE CHECK.
    Note: The addition VALUE CHECK cannot be used together with the additions AS CHECKBOX, RADIOBUTTON, or NO-DISPLAY.
    Regards,

  • Data in the Cube not getting aggregated

    Hi Friends
    We have Cube 1 and Cube 2.
    The data flow is represented below:
    R/3 DataSource>Cube1>Cube2
    In Cube1 data is Stored according to the Calender Day.
    Cube2 has Calweek.
    In Transformations of Cube 1 and Cube 2 Calday of Cube 1 is mapped to Calweek of Cube 2.
    In the CUBE2 when i upload data from Cube1.Keyfigure Values are not getting summed.
    EXAMPLE: Data in Cube 1
    MatNo CustNo qty calday
    10001  xyz     100  01.01.2010
    10001  xyz      100  02.01.2010
    10001  xyz      100   03.01.2010
    10001  xyz     100  04.01.2010
    10001  xyz      100  05.01.2010
    10001  xyz      100   06.01.2010
    10001  xyz      100   07.01.2010
    Data in Cube 2:
    MatNo CustNo qty calweek
    10001  xyz     100  01.2010
    10001  xyz      100  01.2010
    10001  xyz      100   01.2010
    10001  xyz     100   01.2010
    10001  xyz      100   01.2010
    10001  xyz      100   01.2010
    10001  xyz      100   01.2010
    But Expected Output Should be:
    MatNo CustNo qty calweek
    10001  xyz     700  01.2010
    How to acheive this?
    I checked in the transformations all keyfigures are maintained in aggregation summation
    regards
    Preetam

    Just now i performed consisyency check for the cube:
    I a getting following warnings:
    Time characteristic 0CALWEEK value 200915 does not fit with time char 0CALMONTH val 0
    Consistency of time dimension of InfoCube &1
    Description
    This test checks whether or not the time characteristics of the InfoCube used in the time dimension are consistent. The consistency of time characteristics is extremely important for non-cumulative Cubes and partitioned InfoCubes.
    Values that do not fit together in the time dimension of an InfoCube result in incorrect results for non-cumulative cubes and InfoCubes that are partitioned according to time characteristics.
    For InfoCubes that have been partitioned according to time characteristics, conditions for the partitioning characteristic are derived from restrictions for the time characteristic.
    Errors
    When an error arises the InfoCube is marked as a Cube with an non-consistent time dimension. This has the following consequences:
    The derivation of conditions for partitioning criteria is deactivated on account of the non-fitting time characteristics. This usually has a negative effect on performance.
    When the InfoCube contains non-cumulatives, the system generates a warning for each query indicating that the displayed data may be incorrect.
    Repair Options
    Caution
    No action is required if the InfoCube does not contain non-cumulatives or is not partitioned.
    If the Infocube is partitioned, an action is only required if the read performance has gotten worse.
    You cannot automatically repair the entries of the time dimension table. However, you are able to delete entries that are no longer in use from the time dimension table.
    The system displays whether the incorrect dimension entries are still being used in the fact table.
    If these entries are no longer being used, you can carry out an automatic repair. In this case, all time dimension entries not being used in the fact table are removed.
    After the repair, the system checks whether or not the dimension is correct. If the time dimension is correct again, the InfoCube is marked as an InfoCube with a correct time dimension once again.
    If the entries are still being used, use transaction Listcube to check which data packages are affected.  You may be able to delete the data packages and then use the repair to remove the time dimension entries no longer being used. You can then reload the deleted data packages. Otherwise the InfoCube has to be built again.

  • Planning area data not matching with backup cube / PSA

    Hi friends,
    while loading data from planning area to backup cube , for the key figure ( result of a macro),the data in planning area is not matching with PSA as well as with cube.
    At the same time Data is matching at total level but not at disagregated level. And many times it disagregate in equal Proportion in cube/psa.
    Pls its urgent.
    Pts for sure.
    Vishal.
    9326179903

    make sure you have replicated the extraction of the data source. This is needed to ensure your backup cube gets the current data as in the planning area
    if you got to /SAPAPO/SDP_EXTR then you can see this button
    you can set this up as a program scheduled to run before the updation of your cube
    As for the disaggregation, test at what level you are choosing your characteristic? ( i suppose you can choose the level)
    Are you extracting at a detailed level or at the aggregated level
    Is your macro saving the data into a Keyfigure or is it an auxilliary KF or something?

  • Data not matching in RSA3 and PSA.

    Hi,
    I have loaded data into BW from a Generic datasource and the values in R/3 and BW are not matching. Upon analysis, I found that the values for a characteristic are not matching even in RSA3 and PSA. All the values for other characteristics match excepting this single characteristic.
    We have used user exit to populate the fields in the datasource in R/3. According to my knowledge, data in RSA3 and PSA should match. Can someone please tell me how the mismatch between RSA3 and PSA is occurring? Are there are any specific settings that I should be looking for?
    Thanks in advance.

    Hello karthik,
    We have the same problem of difference in RSA3 and PSA data for 1 keyfigure...
    it was a generic data source with function module....
    The reason for this difference is When a record is splitted in to 2 or 3 data packages then you may get some inconsistencies in the data.....
    Try to increase teh data package size and load then you will get the correct data(it worked for us)
    Thanks,
    Pavan.

  • Data not displayed for Key Figure of MultiProvider

    Hi Folks,
    I have created a Query on MultiProvider which is actually copied from another Query(based on InfoCube) using RSZC. Now I have the problem with display of data for a KeyFigure in report. No data is displayed for the KeyFigure. The MultiProvider has Two InfoCubes where the KeyFigure is related to one of the two Cubes. The data is shown at the MultiProvider level. I have also checked for a new query on the same MultiProvider. Here too the data is shown in the report for the KeyFigure. But it's not showing in the Query which is copied from another.
    Any assistance on the same is really appreciated.
    Thanks,
    Raju. Dupadally

    Hi Diaz,
    Thanks for your answer. Could you make it understandable. I haven't understood fully.
    Thanks,
    Raju. D

  • Date and Time as Key Figures

    Hi ,
    I have a Cube with Date (DATS Type) and Time (TIMS type) Fileds as KeyFigures.
    I want to load the information from a flat file but when creating the update rules there is no proposal for updating  and by Update Type says "No Update"
    what could be the problem here?
    Thanks in advance
    FedeX

    Hi FedeX,
    Just wanted to add to what has been mentioned by all others.
    When u are creating the update rules..if the message appears as 'Keyfigures are set to no update'..i suspect this could be because u might be havin these keyfigures in the cube but those keyfigures might be missing in ur infosource.
    Also as said ..it makes no real sense adding the date and time keyfigures..
    Hope this helps.
    Regards,
    Marc.

  • CRM Survey Data Extraction

    Hi,
      I am going to extract CRM Survey data.The questionnaire is created in CRM using CRM_SURVEY_SUIT and the same is used in opportunity transaction. I  am using 0SVY_DATA_1 to extract the survey data.But the keyfigure values filled in the survey form are not getting captured in the datasource.Please let me know where exactly the answers in questionnare are getting stored in CRM.
    Thanks&Regards
    Hasini

    Hello everyone,
    I am also facing the same problem. Is there any conversion rule in BI to convert this XML format into readable Format?
    Regards
    Vivek

  • Data error _ Beginner_flat file upload

    Hey there,
      I am a beginner and am trying to upload a flat file. My Info objects are Material Id, Material Name , Price[keyfigure]. Material Id will have Material Name and Price as attributes and is With Text.
    For the Keyfigure, Price, I have selected Amount and defined as 0currency.
    In the flat file, i have Material id, Material Name, Price, Currency, Description[ for Text], its something like this
    Mid        M-Name     Price        Currency     DESCRIPTION
    M1001     CAR             299.99        USD             SUV
    When I create an Application Component and thereafter create a data source for master data attributes for Material
    and select the flat file and upload it, then the data types for Keyfigure PRICE changes to FLTP Length 16, its no longer as DEC and i get something like
    M1001     CAR     2.9999000000000001E+02     USD     SUV. Why am I having this problem and how could this be resolved ?
    Well I know this might be a cakewalk for bunch of guys here but am just starting off so any sort of help and suggestions would be highly appreciated. Thanks guys, have a wonderful one.

    @ francisco :
    Hey,
            Thanks a lot for your valuable suggestion. I tried doing that but it didn't work either. The preview data looks like this
    M1001     CAR     29,999     USD     SUV
    Why should it be selected as Transactional Data ? I have selected 'With Text' , 'with Master data" for the Material Number and gave the Material Name and Price as Attributes in Material Number.
    So there should be two data sources right, one for the Master data Attributes and another for Master Data Text ? how far am i correct.
    Thanks again for your reply.

  • Keyfigure with units are not loading into transactional DSO in APD

    Hi,
       I am loading data from a Query to transactional DSO through APD.  I have formula and new selection keyfigures in my query.
    I mapped these keyfigures with units to the DSO.  But i didnot see data for these keyfigures and also the units are not loaded.
    I can see the values and units displayed in my query  ?
    What may be the reason for this issue even though every mapping is correct?
    Please help me on this issue.

    Hello Dear
    When you are getting blank date , your update rule processes its value as 00000000,
    Now in the date conversion routine if you go , you will find that after the routine one exception is written for this value..means this value is not accepted.
    So maintain a date and load data.
    Award points if it solves your problem/concern
    Thanks
    Tripple k

  • MultiProvider not reading data

    Hi all,
    I am using a Multiprovider to integrate the data from a DSO and an InfoCube. But is not not reading the data from the DSO.
    Here is the Structure:
    Infocube : SALESCUBE
    Dimensions:
    Transaction:
    TRNSCN_ID: Transaction id
    Customer:
    CUST_ID: Customer ID
    And I have 3 keyfigures called PRC_MAT, SAL_QUANT, REV
    DSO: SAL_LOC
    Key field: TRNSCN_ID
    Data field: SALES_REG
    Now In my multiprovider, in assignment of TRNSCN_ID I have slected both the infocube and the DSO. Yet when I read the data it shows data only from the infocube.
    The columns under 'SALES_REG' are blank (When i do "Display Data" for the multiprovider in SAP BI GUI ) and BExAnalyzer shows 'Not Assigned''
    I checked the data in both the DSO and the Infocube and the data under TRNSCN_ID is consistent in both and I have loaded it from the same source.
    I did some some investigation and II think the issue is in the sql query genereted by the multiprovider: 
    select
    [S1].[/BIC/CUST_ID]
    AS [K____16106]
    [S2].[/BIC/TRNSCN_ID]
    AS [K____16123]
    ,  [F].[/BIC/PRC_MAT]   AS [K____16107]
    ,  [F].[/BIC/REV]   AS [K____16108]
    ,  [F].[/BIC/SAL_QUANT]   AS [K____16109]
    FROM
    [/BIC/FSALESCUBE] [F]
    JOIN
    [/BIC/DSALESCUBE1] [D1]
    ON
    [F].[KEY_SALESCUBE1]
    = [D1].[DIMID]
    JOIN
    [/BIC/SCUST_ID] [S1]
    ON
    [D1].[SID_CUST_ID]
    = [S1].[SID]
    JOIN
    [/BIC/DSALESCUBE4] [D4]
    ON
    [F].[KEY_SALESCUBE4]
    = [D4].[DIMID]
    JOIN
    [/BIC/STRNSCN_ID] [S2]
    ON
    [D4].[SID_TRNSCN_ID]
    = [S2].[SID]
    JOIN
    [/BIC/DSALESCUBEP] [DP]
    ON
    [F].[KEY_SALESCUBEP]
    = [DP].[DIMID]
    where
    [DP].[SID_0CHNGID]
    = 0
    ) ) AND  ( (
    [DP].[SID_0RECORDTP]
    = 0
    ) ) AND  ( (
    [DP].[SID_0REQUID]
    <= 2000000250
    The DSO is not mentioned anywhere in the query.
    Here are 2 unresolved threads with the same issue created by others:
    Multiprovider Problem
    Re: Multiprovider Issue
    Please help out if you have any idea.
    Thanks,
    Nikhil

    Hi Vikram,
    Thanks. This has partly solved the problem. It sows data from both the infocube and DSO but it comes in 2 rows, not 1.
    To do this, I created this new structure:
    Infocube: IC_REV
    Dimensions: TRNSCN_ID
    Keyfigures: PRC_MAT, REV, SAL_QUANT
    DSO: LOC_SALE
    Key Field: TRNSCN_ID
    Data Field: TRNS_DATE (Keyfigure), SALE_OFFC, SALES_REG
    I have included all these InfoObjects in the multiprovider.
    On running the query, it displays the data from the infocube and the dso in different rows.
    For example, I have a TRNSCN_ID value "SALE01".
    in the result, It shows 2 rows for "SALE01", one from the infocube and one from the DSO.
    The data for TRNSCN_ID in the infocube and dso is consistent as I have run their DTPs from the same parent DSO (which has all the data) as the source of data for both the Infocube and the DS.
    Here is the SQL if needed:
    select
    [S1].[/BIC/TRNSCN_ID]
    AS [K____16123]
    ,  [F].[/BIC/PRC_MAT]   AS [K____16107]
    ,  [F].[/BIC/REV]   AS [K____16108]
    ,  [F].[/BIC/SAL_QUANT]   AS [K____16109]
    FROM
    [/BIC/FIC_REV] [F]
    JOIN
    [/BIC/DIC_REV1] [D1]
    ON
    [F].[KEY_IC_REV1]
    = [D1].[DIMID]
    JOIN
    [/BIC/STRNSCN_ID] [S1]
    ON
    [D1].[SID_TRNSCN_ID]
    = [S1].[SID]
    JOIN
    [/BIC/DIC_REVP] [DP]
    ON
    [F].[KEY_IC_REVP]
    = [DP].[DIMID]
    where
    [DP].[SID_0CHNGID]
    = 0
    ) ) AND  ( (
    [DP].[SID_0RECORDTP]
    = 0
    ) ) AND  ( (
    [DP].[SID_0REQUID]
    <= 2000000250
    select
    [O1].[/BIC/SALE_OFFC]
    AS [K____16133]
    [O1].[/BIC/TRNSCN_ID]
    AS [K____16123]
    ,  [O1].[/BIC/TRNS_DATE]   AS [K____16129]
    FROM
    [/BIC/ALOC_SALE00] [O1]
    Any idea how to resolve this?
    Thanks,
    Nikhil

  • Data visible in List view(component in Xcelsius) but not in charts

    Hi,
    I am facing an issue in Xcelsius. I am getting data from SAP R3 to BW Cubes,built queries and made d universe and QaaWS(Query as a Web Service) on top of that.When importing in Xcelsius,firstly I am unable to view the data in Excel sheet, but the data is visible in viewlist when i bind the data to it.The problem is coming when I am using Charts etc...not able to view the key figures in charts....for ex if i am giving fiscal year and corresponding sales figures...I am able to see the fiscal year on X axis but sales figures are not coming on Y axis...tried with everything else..not working.
    Kindly suggest some solution for this!!

    Hi,
    so you can use a grid or table or a selector and you can see the data including the keyfigures but when using a chart you can not ?
    which chart are you using ?
    are there any variables involved ?
    Ingo

Maybe you are looking for