Passing Char Values to Key figure

Hi All,
I have one issue for Inventory cube.
Every thing is fine with the cube, every thing is fine. since i wanted Last usage date i have enhanced the data source and the date is coming to cube well.
Since i dont want to put the Date as charecter , i wanted to pass the values of dats(char) to dats(kfg).
For example : 0APO_DAT this is char date since i need to pass the values to 0GIDATE(kfg). i mapped directly in the transformation level.
Now the problem is i am getting some dates very well, where ever some cancelled documents(dont know exactly) There the dates are coming as 05/17/4017 instead of 03/09/2009.
can any one Help me out
Regards
Ram
Edited by: Ram on Mar 10, 2009 10:34 PM

Ram,
Could you please check key figure to check what aggregation level it has. It should have Max and make sure that same aggregation level exist in your transformations.
Regards,
Pravin

Similar Messages

  • Why do we see only values of key figures of a cube in SE11?

    Hi all,
    When we view the contents of a cube in SE11 why can’t we view the characteristics also? Why are only the values of key figures visible to us? Is there any way wherein we can also view the whole contents of the cube i.e. both the characteristics and the key figures?
    Please explain.
    Thank you.
    TR.

    SE11 gives you the Table View.
    A Infocube is a complex strructure where data is stored in mutiple Tables...
    KEy Figure Values in Central Fact Table...Characteristic SIDs in the DIM Table and these SIDs linked to the Master data table values.
    So, to be able to read the values , you would need to know how data is organised in an Infocube
    Regards.

  • How to calculate the value of key figure by considering other char or kf

    Hi
    My requirement is like this:
    I have a key figure which gives me the planned issues and receipts but i know that if only from locaton is blank  and to loc is filled then that are receipts and if both the from and to location values are filled then it is issues,
    can you pls let me know how i 'll put this logic in th reporting bex and how i achieve this by user exit or any other way
    thx
    rubane

    Create two RKF, restrict first with [ from = '#' ] to get the planned receipts, and restrict the second with [ from <> '#' and to <> '#' ] to get the issues.

  • Convert characteristic values in key figures in a query

    Hello all,
    i have a query which provides some key figures and also some probabilties (defined as characteristics). I want to multiplicate the probabilities with the key figures and therefore I need to convert the characteristic values for the different probabilities in key figures.
    What is the best wys to do this.
    Any help would be great.
    Best Regards,
    Stefan from Munich/Germany

    Stefan,
    You need to create a formula variable of your characteristic.
    In the Create Formula screen right mouse click on Formula Variable and go through the create process.
    The characteristic needs to stay in your query (you can change it's display to No Display) to pass it's value to the formula.
    Once you have done this you can use the formula Variable in any other formula.
    Regards
    Gill

  • How to avoid negative values of key figure

    Dear all,
    I have to create one query based on ODS, in which i will use one key figure, which has negative as well as positive values. In report, i want to avoid all negative values or make them zero. Is it possible?  Please guide me for the same.
    I cann't make any modification to the ODS.
    Regards,
    Pravin.

    Hi,
    To make negative values as possitive you can use the formula abs().
    ie:  abs(key figure)
    You can also create a condition in the query to show only values greater than or euqal to 0. Make it active, then you will get all values greater than or equal to 0.
    Now if your intention is to show the negative values as 0 then use the formula as stated above.
    Regards
    Govind.

  • Removing Drill Down is not summing up the values for key figure

    Hi ,
    While analysing the data in BW report , I have encounter the problem in getting the correct data.
    BW report is showing two records for material , having different customer ie. customer1 & customer 2 .
    If i remove the customer from the Drill down , then values is not summed up , rather it is showing the values only for customer1
    Scenario:
    With  customer drill Down:
    Material    Customer   Key Figure1   Key Figure 2
    Mat1       Customer1     1000          2000
    MAt1       Customer2     3000          4000
    Without customer Drill Down
    Material  Key figure1  Key Figure2
    Mat1          3000          4000
    In the query designer there is restriction of customer on two characteristic in default value pane.
    The issue is happening for particular material , for other material , BW report is working fine.
    Please suggest , to resolve the issue.
    Regards,
    Sudheer

    Hi Sudheer,
    What properties are set on your key figures 1 & 2.  Could they be set to Min or Max.
    There may be an aggregation level set if they are calculated key figures that is worth checking.
    With regards
    Gill

  • Value of Key figure in report

    hellow gurus
    i'm workin on Bw 3.5
    i have created Generic DS and for that i have created Customised info objects also..
    but i;m facing one problem with one KEy Figure ( COST of SALE )
    IN PSA  and Cube Content the calue remain the same as Source System
    like
    3078.40
    2697.56
    but in Query it is comin as 307.84 and 269.75
    i have tried with Decimal properties but those r either r for Scalin or Adding dEcimal places after the Decimal
    But my problem is that i'm getting one decimal before one place
    kindly help me in solving this issue..
    Regards

    Hi,
    The automatic multiplication and division happens with the amount associated with the currencies which are present in TCURX table. Here are the details.
    The mechanism is intended to allow the use of currencies (exceptional currencies) that have different number of decimal places from the 2 that is common in many places.
    SAP stores currency values in a data type that has a fixed interpretation of two decimal places. There are some currencies that do not work well with that setting. Usually that is because for some currencies , a fraction o the currency unit is meaningless. That is true of the Japanese Yen, the Turkish Lira, Korean Won and many other currencies whose value is often 10 US cents or less. In some cases, people want to store currencies with more than two decimal places of precision. So, if I want to store 3 decimal places, then I need to have an entry -1 against that currency in TCURX table.
    So whenever we ran a report in bex/wad, it checks TCURX table for currency entry, if there is an entry what it does: Multiplies the value with 10(2-TCURX entry).
    For INR, the TCURX table entry is 3, thats why while loading it into BW, it will be divided by 10 (In external tab of InfoPackage currency conversion should be ticked) while at the time of displaying it in the report it will multiply it by 10.
    But in your case only converse thing is happening. That is at the time of reporting it is dividing the amount by 10.
    Regards,
    Yogesh.

  • Fixed value Statistical key Figures based on Profit Centers - 9KE5

    Hi all,
    We have a Statistical Key Figure that is of Fixed Value category, based on Profit Centers. We are manually entering it in 9KE5.
    Since it is of fixed value category, am I right to say that: once we enter in one period,  it will automatically be updated in subsequent periods? But the current situation is, it does not update in subsequent periods, only the period which we enter.
    Does anyone know how to correct this? So that once it is updated in 1 period, it will be automatically be updated in subsequent periods.
    Thanks in advance!

    Hi,
    Yes, I saw the field and chose 1- Equal distribution.
    I then select period 1, enter the quantities and save. Go back to 9KE5 and choose period 2, I expect the quantities entered in period 1 to be reflected in period 2. But this is not the case- there is no value for period 2.
    I also managed to change the selection screen to have Period as select-options. If I choose Periods 1 to 12, the quantity I entered in 1 period is divided into 12, and it will only show that divided quantity. However, if I choose another Period, Period 3 for example, no value is shown.
    Is this the correct behaviour? I am expecting the quantity entered in period 1 will also be shown in any other period.
    Thanks!

  • Negative values of key figures to be displayed seperately

    Hi,
    I have a requirement where , the postive sales figures are to be displayed in one column and Negative sales figures are to be displayed in another column ina BEX report.... There is only one key figure ( sales )
    how to get this please ?
    PVC

    Hi Pravendar ,
    Thanks for your reply..
    The key figure infoobject is only one called Sales..
    If the value is negative , then it should display in seperate column in teh report..
    I could not understand        (KF < 0) * KF  -
    If the slaes figure is -1233   does this mean i should created a CalKeyfig
    with (Sales < 0) * Sales  ??
    Can you please elaborate ?
    PVC

  • How to get round off values in key figures

    Hi,
    My report has key figure which is showing as 6.64033 and I want it to be 6.64.
    If it is showing 6.64677 I would like to be shown as 6.65.
    Please suggest.
    Thanks...

    Why don't you try this. In the Query Designer, set your key figure properties as follow:
    Display Tab > Number of Decimal Places > 0.00

  • How to I get Values of key figure by customer  if cube data is not by cust?

    HI All,
    I have a situation where I need to change query : This query is created on a Multiprovider gives Actuals sales for previous period and Forecast for future period. The query is designed at  aggregatred sales dist  by Material.
    Now the Business requires this by Sales District. I  did this by creating a Variable filter.
    Now the issue is For Each material is 4 rows and one of the row is Standar price. This data is availabe for Actuals by sales district but of Forecast this is not avilabel by sales district.
    I want this data in report - for If I execute report for aggregated of all sales district I can see this figure  but If i  filter by sales district I cannot see as the data is not availabe by Sales district. Now as Std cost is same of materisl  for  any sales district. Can some one help is how do I get this data populated in report even if I select by Sales district ?
    Hope I  made this clear - please advice if not clear.
    Thanks
    Siva

    Create two RKF, restrict first with [ from = '#' ] to get the planned receipts, and restrict the second with [ from <> '#' and to <> '#' ] to get the issues.

  • Multiprovider displays zero value for Key figure

    HI,
    Multiprovider contains 3 cubes, in which one keyfigure (YDAYS) presents in two cubes and assigned to multiprovider from two cubes. But iam getting zero value in the multiprovider level. But in the cube level getting the data. This problem iam getting in testing system.
    When i compated Develoment system and Testing system everything is correct, mapping, assignment .
    Any ideas what might be the problem
    Thanks / Venkata

    Check the report to see if it has any filters that is available in only one of the infoproviders. if thats the case then move the filter and make it restricted.
    Use RSRT to see which infoproviders are being hit when you execute the query. Look in detail. I had the same problem once and careful investigation revealed a filter that was at the report level instead of kf restriction level.

  • InfoSet - Aggregated Value of Key Figures Field in BEx

    Hi,
    I have created an InfoSet which is comprised of 1 InfoObject and 3 DSOs. I can see there are more records in the InfoSet than in the BEx report for the InfoSet and in the BEx report the value of an amount field summed up for the duplicate records fall within the same date range. Example:
    In the InfoSet I see:
                   Name       Valid From     Valid To         Amount
    Record 1: James      16.06.1998     31.12.1998     25000
    Record 2: James      16.06.1998     31.12.1998     25000
    For the corresponding record in the BEx report for the InfoSet I see:
    Record: James     16.06.1998    31.12.1998     50000
    It is correct that this particular record is displayed once in the report but the value of the amount field shouldn't be added up. Do you have idea of this?
    You help on this is much appreciated.

    Hi,
    U want to be added the amount field or u dnt want to be cumulate the value..
    Khaja

  • Different values for key figure in fm.

    Hi All,
    The following function modules giving different results in q and production.
    Pls tell me why different values?
    FOLLOWING ARE THE INPUTS I GAVE,
    I_DATE_FROM = 31.01.2011
    I_TIME_FROM  = 08:32:00
    I_DATE_TO =  31.01.2011
    I_TIME_TO = 12:24:13
    In Production iam getting 0
    But in Q iam getting A VALUE.
    PLS HELP ME HERE..
    *"  IMPORTING
    *"     VALUE(I_DATE_FROM) TYPE  D
    *"     VALUE(I_TIME_FROM) TYPE  T DEFAULT 0
    *"     VALUE(I_DATE_TO) TYPE  D
    *"     VALUE(I_TIME_TO) TYPE  T DEFAULT 0
    *"     VALUE(I_WERK) LIKE  /BI0/SPLANT-PLANT OPTIONAL
    *"     VALUE(I_FABKL) LIKE  /BI0/SFACTCAL_ID-FACTCAL_ID OPTIONAL
    *"  EXPORTING
    *"     REFERENCE(E_DURATION_INT) TYPE  F
    *"     REFERENCE(E_DURATION_EXT) TYPE  F
    *"     REFERENCE(E_UNIT_DAY) LIKE  /BI0/SUNIT-UNIT
      DATA:
        l_start       LIKE scal-facdate,
        l_end         LIKE scal-facdate,
      L_DURATION_S  LIKE MCQAVE-DLZEIT,
        l_duration_s  TYPE f,
        l_flg_error(000001)   TYPE c,
        l_delta_s     TYPE i,
        l_t001w       LIKE /bi0/pplant,
        l_dimension   LIKE t006-dimid,
        l_factcal_id  LIKE /bi0/pplant-factcal_id,
        l_delta_d     TYPE f,
        l_wd_end      TYPE scal-indicator,
        l_wd_from     TYPE scal-indicator.
      STATICS
        s_unit_day    LIKE /bi0/sunit-unit.
    *== Compute duration
      e_duration_ext
        =  i_date_to - i_date_from + ( i_time_to - i_time_from ) / 86400.
      IF NOT ( i_werk IS INITIAL )  OR
         NOT ( i_fabkl IS INITIAL ).
    *== Compute duration according to fabrics calender
      Read Calender ID
       CALL FUNCTION 'ZEW05_PLANT_READ'
            EXPORTING
                 WERKS  = I_WERK
            IMPORTING
                 STRUCT = L_T001W
            EXCEPTIONS
                 OTHERS = 01.
        IF i_fabkl IS INITIAL.
    *== Selektion der Fabrikkalender-ID abhängig vom Werk.
          SELECT factcal_id FROM  /bi0/pplant INTO l_factcal_id WHERE
                         plant = i_werk AND
                         objvers = 'A'.
          ENDSELECT.
        ELSE.
          l_factcal_id = i_fabkl.
        ENDIF.
        IF NOT ( l_factcal_id IS INITIAL ).
          CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
            EXPORTING
              date                 = i_date_from
              factory_calendar_id  = l_factcal_id
            IMPORTING
              factorydate          = l_start
              workingday_indicator = l_wd_from
            EXCEPTIONS
              OTHERS               = 01.
        ENDIF.
        IF sy-subrc = 0.
          CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
            EXPORTING
              date                 = i_date_to
              factory_calendar_id  = l_factcal_id
            IMPORTING
              factorydate          = l_end
              workingday_indicator = l_wd_end
            EXCEPTIONS
              OTHERS               = 01.
        ENDIF.
        IF sy-subrc = 0.
    *--   Compute duration
          IF NOT l_wd_end IS INITIAL.
            i_time_to = '000000'.
          ENDIF.
          IF NOT l_wd_from IS INITIAL.
            i_time_from = '000000'.
          ENDIF.
          e_duration_int
            =  l_end - l_start + ( i_time_to - i_time_from ) / 86400.
        ELSE.
          e_duration_int = '0.0'.
        ENDIF.
        IF e_duration_int < '0.0'.                            "#EC PORTABLE
          e_duration_int = '0.0'.
        ENDIF.
      ENDIF.
      IF s_unit_day IS INITIAL.
        CALL FUNCTION 'DIMENSION_GET'
          EXPORTING
            time                = 1
          IMPORTING
            dimid               = l_dimension
          EXCEPTIONS
            dimension_not_found = 01.
        IF sy-subrc = 0.
          CALL FUNCTION 'UNIT_GET'
            EXPORTING
              denominator    = 1
              dimension      = l_dimension
              numerator      = 86400
            IMPORTING
              unit           = s_unit_day
            EXCEPTIONS
              unit_not_found = 01.
        ENDIF.
      ENDIF.
      e_unit_day = s_unit_day.
    ENDFUNCTION.

    check the table /bi0/pplant in your production system. and see if the attribute factcal_id contains value.
    Make sure that you have Plant master data loaded in your production system.
    --- Thanks...

  • IP: Best Practice for capturing Key Figure input value in characteristics

    Hi Gurus,
    we have the requeirement to capture a plannable key figure as a characteristic as well for reporting reasons.
    Input in the key figures will be a closed value ist (1 to 5) so no new master data will be created by that in the respective characteristics.
    My first guess was an exit characterisic relationship, but obviously it is named "Characteristic Relationship" for a reason, as you cannot not derive values from key figures here.
    Any ideas on what would be the best and easiest implementation scenario?
    Many thanks in advance,
    Tobias

    Hi Tobias,
          You can derive a characteristic value from a keyfigure using Characteristic relationship of type "EXIT".
    Kindly let me know if your issue doesn't get solved using the EXIT type char rel.
    EXIT type characteristic relationship:
    The valid characteristic combinations and derivable characteristic values are defined by the customer-specific implementation of the specified exit class.
    The exit class must implement the interface 'IF_RSPLS_CR_EXIT'. Only these types of classes are offered for editing in maintenance. We recommend that you derive your own class from the example class 'CL_RSPLS_CR_EXIT_BASE'. You then only have to implement the methods u2018CHECKu2019, u2018DERIVEu2019 and u2018CREATEu2019. The class 'CL_RSPLS_CR_EXIT_BASE' itself can be used directly, but it does not execute an action.
    Note also the example source code given in the template class; an infrastructure for buffering is provided there, for example.
    Regards,
    Balajee

Maybe you are looking for

  • Final Cut Pro X and Open CL

    I am considering purchasing a used Mac Pro, but how important is it to have a graphics card with Open CL?  Most Mac Pros that come up for sale do not have this facility, and I am wondering if Open CL is only really necessary for intensive Motion use.

  • Adf skin, table's row hover

    Hi, I'm having confussion with adf-skinning. Can i put hover effect so everytime user hovering a row of a table it will change the row's background color? What class should I use in my css? I've tried with af|table::data-row:highlighted, af|table::da

  • How to create database with ASM

    HI How to create database with ASM? I install vmware workstation on window XP .On virtual machine install Linux 5 enterprise (Oracle) install. I install oracle DB software only. Also make 3 disk for ASM . 1 -- When I want to install oracle DB with AS

  • Enable Dynamic Sorting in Tabular Report

    Hi All, I have 100's of reports and i need to enable dynamic sorting for the columns in tabular report. Just wanted to know which tag i need to put in advanced tab of the report where i can set the XML. Please guide

  • Problem with OS X Yosemite

    I installed the new OS X Yosemite. after that it asked me to restart my mac. i did then got stuck with this screen for a day. what i should do ? see the attachment.