Virtual Characteristics & KF

Hi,
Is that possible to include virtual characteristics and key figures in ODS and implement?
Any advantages and disadvantages placing this in ODS compared to Cube?
Regards,
VJ

When you create a virtual Key Fig, Data is not loaded into the key fig. This calculation is done during the runtime and is directly displayed in the report. You cannot see these values in Cube or ODS . Thst is why they are said as Virtual key Figures.
If you load data in this key fig then they will be same as the other key figs.
So they are just included in Cube but never loaded with data.

Similar Messages

  • RSR_OLAP_BADI for virtual characteristics not getting triggered!!!

    I am facing a strange problem and am a little pressed for time to solve the same. Any help/guidance related to this will be highly appreciated.
    I am working on BI 7.0. I have two implementations of the BADI RSR_OLAP_BADI for virtual characteristics,
    (1) say A, that we implemented as a proof of concept with filter as multiprovider M1
    (2) say B, that in implemented with filter as multiprovider M2
    Both were working fine and I was able to put breakpoints inside the code and debug whenever required. I had used it till last week and everything was fine.
    Today, I had to change implementation B due to a new requirement. So a new characteristic was added to M2 and the code in B was extended at appropriate places to fill this new virtual characteristic also. However, even though the change was successfully activated and the BADI looked fine, it was not triggered when the query was executed. I checked with another query on M2 which was the query for which the implementation was initially made. For that also the BADI is not getting triggered. I put break points in the define, initialize and compute methods but none are hit during the query execution!
    I further ran the queries on M1, which shud have called the implementation A. Then also the BADI is not getting triggered. Please note that implementation A, multiprovider M1 or the queries on it were not changed at all.
    I really need to fix this issue at the earliest. What am I missing? Why are the BADIs not getting triggered eventhough the implementations are active, the BADIs are error free and the filters are correctly defined?
    Are there any global settings that can turn off all BADIs?
    Please help.
    Thanks,
    Sarath

    Further, when I created a fresh BADI implementation in a different system (a sandbox system), the BADI is working fine.
    But in the Development system the BADIs are still not getting triggered. I made the exact same implementation as the one which worked in the different system.
    Another point - when I see the Technical Information tab of queries from RSRT, or RSRT2  they have Virtual Characteristics/Key Figures "NO" in the development system.
    For the queries in the prototype system in which the BADI is working this field in "Y".
    Any idea how this is decided and how it can be changed to Y from NO?
    One more strange thing is that there are other active implementation of this BADI used by other teams here and none of them are getting triggered. They are all active and were all working fine till the last few days!
    Any help will be highly appreciated.
    Thanks,
    Sarath

  • Can we use aggregates with Virtual Characteristics?

    Hi,
      My question is "Can we use aggregates with Virtual Characteristics?"
    Is yes then how and if no then why not.
    Thanks for your contribution
    I have been researching the topic myself and I dont think its possible and even using OLAP cache is not possible.
    Message was edited by: BW Novice

    You can use aggregates with virtual characteristics. Just make sure that all the data you use for calculation is in the aggregate.
    Example:
    You have a query that shows MYVC (my virtual characteristic) in the rows and 0AMOUNT in the columns.
    MYVC calculates out of VCBASE1 and VCBASE2.
    An aggregate that consists of only MYVC doesn't work, an aggregate that consists of MYVC, VCBASE1 and VCBASE2 works.
    Best regards
    Dirk

  • Regarding virtual characteristics

    hi,
    i am populating a field into report through virtual characteristics, report is on a cube. can anybody tell me the approximate time can  be taken by the report to execute when cube has 5 millions of data.
    Thanks & Regards,
    Vijaya

    Hi Vijaya,
    If you are populating it through Virtual characteristic then even in the best case it will take more then 1 hrs or even larger.
    since even if the variables are populated and number of records are reduced... it goes for all the exits written in CMOD.
    Also depends upon what are you doing with the characteristic at the runtime...if you are doing some conversion through look ups then again it will depend the data in the look up table...in an all...it will be lot of waiting.
    Thanks

  • What is Virtual Characteristics

    Hi,
    Riteesh,
    Can you send some documentation ofn virtual charctersticsto may maild ID [email protected]
    Thanks in advance,
    s.rao

    Hi Venkat,
              Check these threads.
    Virtual Characteristics
    Virtual Characteristics...
              Dont forget to Assign Points for helpful answers
    Cheers,
    Aravindhan

  • Dynamic Logic without using Virtual Characteristics/Key Figures

    Hi,
    I am new to Bex so please do let me know if this can be done without using virtual keys or characteristics.
    Logic should start processing from condition 1 to 4 sequencially.. If condition 2 is true, conditions 3 and 4 should not be processed.
    <u>Conditions</u>
    1. Column A if  Sales value is between  10 - 20
    2. Column B if  Sales value is between  15 - 25
    3. Column C if  Sales value is between  20 - 30
    4. Column D if  Sales value is between  25 - 35
    Scenerio 1 :
    Sales value = 16
    Based on this scenerio, the sales value should be displayed in column A only.

    Guys,
    I agree that this is a solvable problem if there are no overlapping conditions but my requirements do have them. I might have over simplify the problem or maybe there is a better way to do this. Here is the real scenario.
    YTD = Year to Date Sales is the total dollar amount of sales from January 1, XXXX through the last day of the previous month.
    LYTD = Last Year to Date Sales is the total dollar amount of sales from January 1, (XXXX – 1 year) through the last day of the previous month one year prior.
    The order by which the logic will check each customer sites classification is as follows:
    1. New Account
    2. No Purchase
    "A customer site is considered a <b>New Account:</b>
    IF LYTD had zero sales activity
    "A customer site is considered a <b> No Purchase</b>:
    IF a customer site had zero sales activity in the previous 3 months
    <b>AND</b> a customer site had sales activity within the report period (i.e YTD)
    Jan 2007 >>>>>> $100
    Feb 2007 >>>>>> $0
    March 2007 >>>> $0
    April 2007 >>>>> $0
    Jan 2006 >>>>>> $0
    Feb 2006 >>>>>> $0
    March 2006 >>>> $0
    April 2006 >>>>> $0
    <u>Scenerio 1</u>
    I run a report on the 15th of May 2007.
    The first column has the <b>New Account</b> logic. Based on the 2006 sales data,  LYTD is $0 since there is no sales activity from Jan - April 2006. So the sales data will fall under the first column since the new account logic is true.
    The second column has the the <b>No Purchase</b> logic. Based on the 2007 sales data, YTD is $100 since there was sales activity from Jan - April 2007. At the same time the previous 3 months (Feb - April 2007 ) has $0 sales. Based on this logic the sales data will fall under the second column since the no purchase logic is also true.
    Now both the columns have data. This is the overlapping scenario I was referring to.
    That is why I need to process the column logic sequentially. Once a condition is true , I need to break and move on to a new row.
    Thanks
    Message was edited by:
            Nigel K

  • Can we use Navigational attributes as Virtual Characteristics

    Hi,
    I need to derive the virtual characteristic based on 2 infoobjects in the multiprovider. One of the infoobject is a navigational attribute. I am using the BADI approach to create the virtual characteristic. Can we use navigational attributes to pass values to derive the virtual Char or is there any limitation.
    Basically can I use the below code to read navigational attr
    when <b>'0EMPLOYEE_0JOB'</b> OR '0PROFIT_CTR'.
              l_s_chanm-chanm = <chanm_used>.
              l_s_chanm-mode = rrke_c_mode-read.
              append l_s_chanm to c_t_chanm.
    Thanks,
    Kal

    Hi Kal,
              I think you model a virtual KFig in the way you have suggested.I think the routine will work.Its looking similar populating  a field using read masterdata.I think it will work.
    Regards
    Karthik

  • ABAP error in virtual characteristics & key-figures BADI

    Hi experts,
    I created a BADI for feeding a virtual characteristicand when I launch the query, this message appears:
    Subroutine call failed: The index specified had the value 6.288, which was either too large or too small
    An exception with the type CX_SY_DYN_CALL_ILLEGAL_FORM occurred, but was neither handled locally, nor declared in a RAISING
    Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    I have already read all the threads on the subject: I checked the OSS note 1248583. We already are on BI7, support package 20. I checked the OSS note and all the changes listed already exist on my system.
    Did any of you face this situation ?
    Thanks in advance.
    Etienne
    Here is the code of the BADI compute:
    method IF_EX_RSR_OLAP_BADI~COMPUTE.
    Fields-symbols
      field-symbols:  type ANY.
    Variables
    DATA: w_ZPL15 TYPE /BIC/OIZPLCASH.
    DATA: w_ZCPTCASH TYPE /BIC/OIZCPTCASH.
    E
        assign component P_CHA_0G_CWWKOS of structure C_S_DATA
          to .
    GNC
        assign component P_CHA_TESTACONT__ZGNC of structure C_S_DATA
          to .
    EPL
        assign component P_CHA_ZPL of structure C_S_DATA
          to .
    CL3
        assign component P_CHA_ZCUSLV_03 of structure C_S_DATA
          to .
    CC
        assign component P_CHA_ZCPTCASH of structure C_S_DATA
          to .
    On récupère le compte Cashsolve
    *w_ZPL15 =  = w_ZCPTCASH.
    ENDMETHOD.

    Hi gentlemen,
    My problem still remains.
    Here is the definition of the different objects:
    In attributes
    P_CHA_ZCPTCASH Instance Attribute Private Type I
    In source code
    field-symbols: <l_ZCPTCASH> type ANY.
        assign component P_CHA_ZCPTCASH of structure C_S_DATA
          to <l_ZCPTCASH>.
    DATA:l_local TYPE I.
    l_local = '999999'.
    <l_ZCPTCASH> = l_local.
    D.sanders, I don't exacxtly understand what you suggest. Could me help me please ?
    Thanks
    Jacques

  • BADI issue to calculate virtual characteristics in Query

    Hi
    i am facing an issue during calculating Virtual Char through BADI.
    when i execute the query in RSRT, ABAP dump is coming.
    when i saw the error message log. it is showing that a statement can not be executed while that statement i am not using in my BADI.
    Actually that statement is using in another BADI in Compute~Single Method.
    Why this is happening.
    Regards
    Atul

    Hi,
    I have already put Break point but it is not stop at break-point.
    even info provider name is also correct in define method.
    i am using New BADI (Through SPRO) not the Classic one.
    Regards
    Atul
    Edited by: AtulMohan Mishra on Jan 26, 2012 9:57 AM

  • BAdI "Virtual Characteristics and Key Figures in Reporting"

    Hello,
    When I execute a query in RSRT, the BAdI don't running.
    I create a Implementation ZVTOL_OLAP_BADI for the Definition RSR_OLAP_BADI. I activate them with the filter for my MultiProvider.
    I found the note 538897, but there is no answer.
    When I generate the query, the debugger stopped in the DEFINE-method.
    I have includes in the INITIALIZE und COMPUTE-method a endless-loop.
    => it don't work.
    I see the query result, but my keyfigure is empty, because the abap-code was not executed.
    Sven

    Hi,
    Is your virtual key figure available on multiprovider or underlying virtual provider.
    I don't see any option to add a virtual key figure on the top of a multiprovider.
    I do have the same scenario but virtual key figure is on virtual cube, not on multiprovider.
    regards
    rajesh

  • Virtual characteristics

    hi all,
             can you plz let me know abt the virtual chars in a datamodel are? what is its significance.
    I promise full points for precise answers
    thank u all.

    Hi:
    Please see the following entry in the online help:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/71/f470375fbf307ee10000009b38f8cf/frameset.htm
    Here is the relevant entry:
    Master data access
    You can access the master data at query runtime with three options:
           1.      Standard: The system displays the values in the master data table for the characteristic. This is the default setting.
           2.      Own implementation: You can define an ABAP class to implement the access to master data yourself. You need to implement interface IF_RSMD_RS_ACCESS. You need to be proficient in ABAP OO. An example of this is the time characteristic 0FISCYEAR that is delivered with Business Content.
           3.      Remote: If the characteristic is identified as an InfoProvider, you can access the data directly in a source system. If you choose this option, the characteristic InfoProvider has to be joined to the required DataSource using a staging object, and has to be assigned to a source system.
    We recommend that you use the standard default setting. If there are special requirements placed on master data reading, you can have some influence if you use your own implementation.
    We recommend that you refrain from using remote master data in performance-critical scenarios.
    Thanks for any points, especially 10.
    Regards -
    Ron Silberstein
    SAP

  • Debugger missing Virtual Characteristics code

    Hi Guys,
    I have written a BADI based on definition RSR_OLAP_BADI. I have also written the code, but when I debug the query in RSRT, the code is getting skipped.
    Here is what I have done
    1) created a characteristics with initial value
    2) created the BADI using definition RSR_OLAP_BADI
    3) used the characteristics in the report
    Appreicate your inputs
    Thanks,
    SK

    I have already debugged alot. At one condition it checks
    l_s_rkbif-userexitmode EQ rrke_c_mode-no_selection.
    If this userexitmode is blank, its not going further to the code.
    I have no clue where to make it userexit enabled.

  • Re: Virtual Characteristics RSR00002

    Hi Guys,
    DO i have to create a new project for implementing RSR00002 enhancement or i can use the same project which exists for RSR00001?

    Hi,
    Virtual Cubes and Dimensions are supported in BOBJ.
    Regards,
    Bashir Awan

  • Using Virtual Key Figures/ Characteristics is possible to use in InfoSets

    Hi All,
    Is it possible Using Virtual Key Figures/ Characteristics is possible to use in InfoSets?
    I have tried all the possibilities using the BADI implementation RSR_OLAP_BADI without success.
    The VKF / Characteristics works fine when it is being used with a query based on the ODS however it is not populated when i am using the infoset. Moreover i have used the code for InfoSet as well it is not working.
    I would appreciate any help in this regard.
    Regards
    Noor

    Hi PV,
    r u sure about that, as i have tried all sort of permutation and combinations for using the same in RSR_OLAP_BADI without any luck.
    I have the got felling about the same however if you look into the following SAP note it puts me into doubt.
    Note 657690 - Virtual characteristics and key figures in InfoSets
    Note 618738 - Virtual characteristics or key figures and InfoSets.
    It describe about using the RSR00002.
    Many thanks for the information.
    Kind Regards
    Noor

  • Virtual Characteristic value not populating in the query output

    Hi Experts,
    I am new to BAPI and I am using this to populate the values of virtual characteristics.
    I wrote the below code to populate if an order status got some status value then i need to populate the flag y if not n.
    I got the order value in the reprot. I need to go to order master data and should get the status and then i have to do the comparision and populate the flag zww_teco in the report.
    The below is the compute method of my implementation class.
    FIELD-SYMBOLS :
    <fs_0cs_order> TYPE ANY,
    <fs_zww_teco> TYPE ANY,
    <fs_status>  TYPE ANY.
    if p_cha_0cs_order > 0.
      ASSIGN COMPONENT p_cha_0cs_order OF STRUCTURE C_S_DATA to <fs_0cs_order>.
    endif.
    if p_cha_zww_teco > 0.
      ASSIGN COMPONENT p_cha_zww_teco OF STRUCTURE C_S_DATA to <fs_zww_teco>.
    endif.
    Select single /BIC/ZSYSTATUS
        from /BI0/PCS_ORDER into <fs_status>
       where CS_ORDER = <fs_cs_order>.
    if <fs_status> CP 'TECO'.
      <fs_zww_teco> = 'Y'.
    else.
        <fs_zww_teco> = 'N'.
    endif.
    But I am not sure why the values are not populated. But when i debug , i could see the values for
    P_cha_0cs_order = 35
    p_cha_zww_teco = 54
    But i could get the values of <fs_0cs_order>, <fs_zww_teco> after assign component statement.
    And it is firing me a dump in select statement. Also when I click c_s_data i am getting S____274, S____505 fields like that in the structure but i could see p_cha_0cs_order
    Can you please guide where i am missing ...
    Thanks
    Vamsi
    Edited by: vamsi talluri on Nov 9, 2011 6:14 PM

    Hi Sushant,
      RSRT --> Enter Query Name
    Click on Technical Information --> If " Virtual Char./Key Figures " = Y
    In my case , even then i clciked generate report,
    even after that P_CHA_0CS_ORDER = 35
    and after assign component P_CHA_0CS_ORDER of structure c_s_data to <FS_0CS_ORDER>.
    the <FS_0CS_ORDER> is nothing , here i should get the value of cs_order value of that record but it is coming empty which i am not able to rectify. How should i change or i need to put any other setting to get the value populated into my <FS_0CS_ORDER>.
    Can you please guide me .
    Thanks
    Vamsi

Maybe you are looking for

  • NULL index table key value

    ORA-06502: PL/SQL: numeric or value error: NULL index table key value in Package OE_Order_PVT Procedure Lines Where is the problem? thanks Edited by: huak on Feb 5, 2009 5:08 PM

  • Invoice posting tables?

    Any idea on what tables I need to be interogating in SQ01 to identify what invoices were paid in a given month for a particular currency? Thanks

  • Cutomer balance date wise Time wise

    Dear all, Can we get customer balance date wise and time wise. Like if i want to my customer balance on 01.01.2011 before 11:00 am. Can i get this. Please revert. Thanx Puneet

  • Bug reports

    Is there anywhere we can send bug reports in firmware so that Nokia will sort them? Or do they read this forum and then sort them? Or wait for the networks to say something? A "fixed list" in the firmware updates would be nice too as would a "known i

  • Paranoid - Small bump during file transfer

    I am currently transferring data from my MacBook Pro (hard disk drive) to my MacBook Air. I very slightly nudged my desk by accident causing my MacBook Pro to vibrate slightly. The transfer did not stop. Everything seems to be going well. So, here is