Manipulate key figures using CMOD

Hello All,
I would like to know if we can write a customised user exit using CMOD and manipulate the restricted/calculated key figures for a particular BeX query..or is it that these exits manipulate only the standard key figures?
Regards,
Dipali

Thanks for the prompt reply.
I would like to explain the scenario in brief.
The requirement is that I have some calculated key figures and some restricted key figures.I need to further create key figures based on these calculated/restricted key figures to dynamically achieve results based on the user input because of which some customisation on these key figures needs to be done.I therefore felt that through some ABAP code placed through CMOD would solve this purpose.
Would it be possible?
Regds,
Dipali

Similar Messages

  • Adding key figures using commands in Web Application Designer?

    Hello, all.
    I have a query the contains several key figures.  From that query, I created a query view in which only one of the key figures is displayed.  I'm using this query view for one of the data providers in a web template.  In Web Applicaiton Designer, I would like to be able to hide the key figure from the data provider and show a different one.  How can I accomplish this using the built-in commands?
    I know I can hide all key figures using the CLEAR_SELECTION_STATE command, but I can't figure out how to use a command such as SET_SELECTION_STATE_SIMPLE to show a different key figure.  Any help would be great!  Thanks.

    I've tried that using the GUI to configure the command, but WAD crashes when I try to open the window where I choose the member name.  The error says:
    "4A6DM1A4LTXPJKA1BA3LD9TTD is not a valid characteristic for InfoProvider MQM_M01."
    I also tried entering the commands as you suggested in the XHTML editor, but that resulted in an error when I tried to execute the command.
    Maybe I can do what I'm trying to do using some method other than changing key figures.  Basically all I want do is change the date range of the data shown using offsets.
    The key figures that I'm trying to add and remove are restricted in Query Designer to different date ranges.  These date ranges use offsets to set the restriction.  For example, one key figure is restricted to display values for only the last 7 days and I'm trying to replace it with a key figure that's restricted to the last 14 days.
    If I knew how to set a filter with offsets using commands in WAD, then I'd use that method, instead.  Any suggestions would be appreciated.

  • Restricting key figure using 0infoprovider

    Hi Experts
    My query is buily on a multiprovider (which is built on 10 cubes)
    I need to restrict key figures in the query so that every KF will search a particular cube, instead of searching all the cubes. because of this query performance is very poor.
    We use  10 RKF in that query. I know that we can restrict them it using 0infoprovider.
    Now my question - Do we have to restrict the original key figure using which we created RKF or can i just restrict RKF.
    Another question - If we have restrict RKF, then in global window (this will affect all the query using tht rKF)or at local level.
    Thanks
    BIT

    Hi,
    Now my question - Do we have to restrict the original key figure using which we created RKF or can i just restrict RKF.
    You can simply add the restriction in the RKF.
    Another question - If we have restrict RKF, then in global window (this will affect all the query using tht rKF)or at local level
    If RKF is getting used in multiple queries and you want it to restrict to same inforprovider for all the queries then you can restrict it at global level. But if you have different restrictions for different queries then you will have to create local RKF's and then use them in the individual queries.
    Regards,
    Durgesh.

  • Restrict Key Figure using a Characteristic InfoObject which is Compounded

    Hello Friends,
    I have a scenario where I need to restrict the a Key Figure using a Characteristic which is a Compounded Info Object.
    The Compounding is done on Info Object Payment Method and Country is the superior Info Object. The Values in the Compounded Info Object are like "country/payment method"  " AE/J ,  AU/J , BD/3". 
    In the Query I would like to restrict the data for a Key Figure using the above values. But when I try to create a Restricted Key Figure it does not take the compounded value instead it would take the value of Payment method like J or 3.
    But in the Single values for Payment Method it shows the complete compounded value "AE/J , AU/J", and when I select the values it selects only the payment method value.
    Any suggestions on how to achieve a restriction on the compounded value.

    Hi Naveen,
    Kindly try filtering the Key Figure with both Payment Method and Country in the restricted key figure that you are creating.
    For example, lets assume you want a restricted key figure, that is filtered with the value - AE/J.
    You are not able to get that directly by filtering it only with Payment Method - J.
    So filter it with Payment Method - J and Country - AE.
    Now save the restricted key figure and try executing it.
    Hope it Helps.
    Warm Regards
    Preethi R

  • Query Designer restricted key figures using a prompt value

    Hallo Experts,
    I would like to restrict key figures after user has beeen prompted to enter a date. I have 2 key figures:
    a) KF1, Date1
    b) KF2, Date2
    User should be prompted to select a specific date: e.g. 01/2011. After selecting/entering the prompted date value, it should be given to date objects for intance Date1=01/2011 and Date2=01/2011.
    How could I achieve it in Query Designer without using customer_exit function? Reason is that non-experienced users will use this report and they should not be confronted with complex query. Do you have any idea?  
    Many thanks
    Mamadu

    Hi,
    I assume that you need to restrict the value of keyfigures by date based on user input data on variable selection screen.
    First create one user input variable on your date field say for eg calday.
    Now restrict your KF1 with calday and choose that vairable which you created.
    For second KF2 which seems to me need to be restricted with offset of +1 based on the date entered by the user.
    So restrict this KF2 with calday and use the same variable with offset of +1
    I just misunderstood you ned calmonth or day because in requirement you have given month but you are calling it as date.
    If its month then replace calday with calmonth..
    Hope it helps.
    Regards,
    AL:
    Edited by: AL1112 on Dec 21, 2011 9:42 AM

  • Maximum  number of characteristics and  Key figures used in a Query

    Hi Experts,
                Any Thought on the maximum number of Characterstics and key figures that can used in a Query. I know  it impacts performance query and runs for very long time.
    Thanks,
    Kumar.

    Hi Kumar,
    Welcome to SDN.
    I really did not think about it till now, sharing my thoughts on this -
    1. You can use all the characteristics & Key Figure ( & more)in Query what you have in you Cube.
    2. Query is suppose to serve a purpose, to deliver you analytics based on some KPI etc & it will have maximum no of char / key figures which human mind could make some sense of.
    3. Performance of query actually is divided into three areas -
    a. database time
    b. OLAP time
    c. Front End time
    and if you query on not performing well first look at which area is taking maximum time & the optimize that first & there are various ways to optimize each area.
    Hope it helps.
    VC

  • Issue with Virtual Key Figures Using BADI

    Hi,
    We are populating values for a few virtual key figures in a query over a multiprovider through a BADI implementation(RSR_OLAP_BADI). On execution the VKF fields appear blank in the report.
    We tried debugging the methods of BADI by adding Break-Points in specific points. On doing so, we found that the values are properly updated in the 'Field-Symbols' used in the Compute method, but the same values do not appear in the report result and the fields are blank.
    Kindly provide any pointers or suggestions.
    Thanks.

    First check in <b>Technical Information</b> in <b>RSRT</b> , whether the
    <b>Virtual Char/Key</b> Fig is<b> Y</b> or <b>N</b>.

  • Virtual Key Figures using RSR_OLAP_BADI

    Hi gurus,
    We have been using the RSR_OLAP_BADI to generate some virtual key figures for our queries, now we have a problem creating a virtual key figure...
    We have got 4 key figures in the query, 1 is a normal KF and the last 3 are virtuals, one of the virtuals uses the normal KF and splits it between the total of the same KF. The point here is that the calculations are not coming ok because the COMPUTE method does not bring the information summarized as the KF is defined, because in the same structure of the query ther are some formulas that have the same KF restricted to another level of information.
    If we remove from the query this formulas, the virtual KF works perfect because the normal KF is delivering the information summarized.
    The question is... is it normal that this happened or there may be something wrong in our definition?
    Thanks and best regards to all!!!

    Hi,
    You can get number of threads in SDN search.
    Check in the following blog
    IF_EX_RSR_OLAP_BADI~DEFINE
    https://forums.sdn.sap.com/click.jspa?searchID=23657256&messageID=6776739
    https://forums.sdn.sap.com/click.jspa?searchID=23657256&messageID=6788064
    http://sapbikk.blogspot.com/2008/05/writing-virtual-characteristics-or-key.html
    Thanks
    Reddy
    Edited by: Surendra Reddy on Mar 18, 2009 4:29 AM

  • Problem with restricted key-figure using off-set variable

    Hello Gurus,
    I have created a query in Bex Query Designer with a key figure restricted. This key figure shows me the 0amount value for the last month. When I select 003.2009, the key figure brings the 002.2009 values. I used an off-set variable to do this
    It works!
    But when I show this key-figure in Webi, no value shows up on the table.
    Any suggestions?
    tks
    Edited by: Allisson Valverde on Jul 23, 2010 12:12 AM

    Which variable are you using in BEx and in WEBI to restrict the month/year?

  • Number of key Figures used in Query

    Hi,
    I would like to know the number of queries in a Query,
    Is there any way to find out this?
    We have nearly 100 queries, and we were asked to find out the top 5 queries in terms of number of key figures.
    Thx.

    Hi Thejo,
    There is no direct way to do this using another BW query simply because the data is not stored in either Masterdata Info Objects/CUBE ODS. They are stored in BW system tables which are not directly accesible by any queries to build using the Query Builder.
    Try to locate the system table that holds these Info (Keyfigures + Query Name) and do ABAP Query instead.
    Regards,
    Jkyle

  • Please let me know how to see the details related to the Key figure used

    Hi,
    Basic key figure BHSL-I belonging to the table GLPCT is used in the one of the reports created using the Report Painter.
    Please let me know how to see the details of the BHSL-I key figure.
    Details I am looking for is, how the field BHSL-I is getting populated I mean from which field/fields combinations and what is the formulae involved in the calculation of the key figure.
    Please let me know if any documentation exists about the key figures.
    Thanks in Advance.
    Madhuri.

    What model year is it? If older than a 2011 model, and even some early 2011 models, you will need the original install discs that came with it.
    If older than a 2011 model then you use the Online Internet Recovery system to erase the drive, format it Mac Extended and then reinstall OS X.
    To access that online recovery system at startup hold down the Command + Option/Alt + r key and keep them held down until you see a globe on the screen.

  • Calculated Key figures using different key figures

    Hi All,
    I want to create a calculated key figure based on Actual and Plan.Actual values are coming from InfoCube,Plan values are loaded from Excel sheet into different key figure in another infocube.I've created a MultiProvider for these Cubes.Now I want to find the difference between plan and actual.So I created a calculated keyfigures based on the key figures.But the Query is giving error ..
    Then the connection terminated..
    Let me know how to do..
    Raji

    What is the error you are getting?
    First do this.
    In the query, filter on only 1 infoprovider. Check the KF's and see if correct and if you get the error. Then, do the same thing, for the other infoproviders. Once you get no errors that way. Remove the filter. See if the KF's are ok and no errors. Then do your calculation.
    Also, make sure in the definition of the KF's, you are filtering each on the right infoprovider. (For instance, KF1 has a filter on infoprovider1 and KF2 has a filter on infoprovider2.)
    hope this helps!
    /smw

  • Error when Using a Calculated Key Figure

    Hi,
    I am having a problem using calculated key figures (CKF's). I am not getting any errors
    when i am creating them but when i pull the same into the report it is giving an error
    SUB FORMULA not available. Can you please advise how to fix this issue.
    Thanks
    Rashmi.

    Hello Rashmi,
    thius is a known issue. The procedure from note 1238872 can be useful:
    Download the BI 7.0 front-end add-on for SAP GUI 7.10, Support Package
    700 from the SAP Service Marketplace.
    Then save the calculated key figures in the InfoProvider (left-hand side
    in the Query Designer):
        o  Select the calculated key figures in the InfoProvider.
        o  Save the calculated key figures using the context menu
        o  or in the properties of the calculated key figures (right-hand
           side in the Query Designer).
        o  If other calculated key figures are used in a calculated key
           figure, save them as described above.
        o  For safety reasons, also save the query definition.
    If the calculated key figure was saved correctly, the system does not
    issue any error messages when you check the query definition (by
    choosing "Menu -> Query -> Check").
    Cheers,
    Ricardo

  • Problem in Calculated Key Figure in BEx 7.0

    Hi All,
    In Bex 7.0
    We have a requirement where we need to display a key figure which is having unit price of an Article. In our InfoProvider we have Article, Store and Date and the report is based on Article. As we have to display only the latest price we have created a RKF by putting a restrcition of the latest date in the date range on the the unit price key figure. But still unit price is getting aggregated over stores.
    For example if there are 10 stores and the unit price of an article is 5, then data displayed is 50 and not 5.
    We tried to create a Calculated Key Figure using the above RKF and an exception aggregation Average of all detailed value that are not zero, null or error on reference characteristic 0PLANT. Its working fine when the query is restricted to one or two Articles. But for all the articles it gives the following error messages.
    1. Error while reading data; navigation is possible.
    2. Error occurred during parallel processing of query 17; RC3
    3. Error executing physical plan: AttributeEngine: no 6952
    4. Error reading the data of infoprovider ZXMSC01$X
    5. Amount of data that is to be read from the BIA server is too large
    6. The following error 6952 occurred in BIA server
    7. Error executing physical plan: AttributeEngine: not enough memory;BwPopMerge pop1(setIsLastMerge(1)),in executor::Executor in cube: p03_zxmsc01
    Can anyone tell me the solution for the above error. Or if there is a workaround to our requirement.
    Regards,
    Sachin

    Hi,
    Could be a memory issue.
    One of your cube in on BIA which is causing the Problem.
    So executing the query in RSRT by selecting Do not use BIA index option.
    If the query is executed with out any issue then take the cube out of BIA and push it back.
    Hope it helps.
    Regards,
    Raghu
    P.S : Also please let us know if this query is live and it is an issue that you are facing after executing it properly for few days.
    Or this is a new query created and testing now and in the process got this error?
    Edited by: Raghu tej harish reddy on Sep 24, 2009 5:53 AM

  • Key figure value in a level

    Hi is it possible to identify which key figures values has introduce a user ? and which CVC has the user uses for inserting the key figure value?
    REgards.
    PS :We have APO DP 5.0

    Javier,
    It is possible to identify and track the inputs of specific users contribution to that Key figure using the following method, Provided you follow certain prerequisites first.
    Its should be known before the certain people are responsible for certain data selections, like if there is a change in certain Sales org, we should ideally know who is the assinged planner to that Sales Org. or that sales org has been assinged to which Planner
    Next, Develop to Lag reports in BI using the regular snapshots of the the data extracted out of DP before and after the changes have been made for that particular KF.
    Compare the changes using the versions of snapshot before changes and after changes, or perhaps create another calucalted KF showing the different between two versions. The BI team should be able to create reports that enable you to run this report on all levels for that Key figure.
    Hari V

Maybe you are looking for

  • Limitation on Service size for deploying

    Is there any limitation on Service size for deploying? The size of my service is 5MB approx. and I am not able to migrate it through Catalog deployer as well as Exporting and Importing file.

  • Ipad Air restore off Icloud backup. How do I know if my apps are taking too long in the "waitting" part of the reboot?

    For some reason my Ipad Air decided it wanted to create used space on it's hard-drive today. It suddenly went from using 7GB to 11.5 GB. I couldn't find the solution so I decided to restore my Ipad from a backup last Thursday. Now all my apps appear

  • Error in result of storeproc

    I have a problem with cfstoredproc and Informix database, when I invoke a stored procedure by cfstoredproc, it returns me several columns with the same name (EXPRESSION) and repeat the value of first column. I am running CFMX 8.0.1 Enterprise, with I

  • Errors while upgrading from 9i to 11gR1 during catuprd.sql

    Hi, I am very new into the world of databases and am learning it the hard way. Testing all sorts of work on my home PC. I am in the process of upgrading my Win 32 9.2.0.8 to 11gR1 and am at the stage of running catupgrd.sql. The SQL ran for hours and

  • Tab numbers appear in Fillable Forms

    Using Acrobat Pro 8.1.2 Having problems with fillable forms Tab numbers appear obscuring data entry, and sometimes program crashes Tab numbers disappear if I remove AcroForm.api plug-in, but I can no longer fill in form AcroForm.api version 8.2.2.86