Formatting Restrcited Key Figures in BEx

Hello - I am certain a lot of you experience this
Need to format an output that looks like the following:
<blank>  Col1   Col2   Col3
Text1    RK1    RK2    RK3
Text2    RK4    RK5    RK6
         etc..
where
RK = Restricted Key figure
Col1 and Col2 Key Figures (RK1, RK2) are ZMOUNT1, ZAMOUNT2 restricted by same Commitment Item Range
(e.g., 1000 - 2000)
Col1 and Col2 Key Figures (RK4, RK5) are ZMOUNT1, ZAMOUNT2 restricted by different Commitment Item Range
(e.g., 4000 - 5000)
Similarly,
Col3 Key Figures (RK3, RK6) are ZAMOUNT3 restricted by different GL Account Ranges
ZAMOUNT1, ZAMOUNT2, ZAMOUNT3 are base key figures in InfoCube
end of example----
The result needs to be in Excel Output in batch - which I will do via Reporting Agent
Is this possible without:
a. Excel Macros
I could create an output that looks like
RK1, RK2, RK3, RK4, RK5, RK6
and use Excel to place the key figures in particular cols.
b. Without using the Table Interface Class
Not sure how this would work because the class methods run AFTER query is run
IS THERE BEx functionality / Query Designer / WAD functionality that can help me accomplish this??
Many thanks
-ap

Hi AP,
Welcome to SDN!!!
Theorethically it should work:
Create a structure in rows with 2 selections, Text1 & Text2; a structure in columns with 3 selections, Col1, Col2 & Col3. All selections are just having provided descriptions, without any chars or KFs.
Using cell editor you can define all needed formulas and descriptions for particular cells.
Best regards,
Eugene
Message was edited by: Eugene Khusainov

Similar Messages

  • Do we write variable customer exits for virtual key figures in Bex?

    Hi all,
    Am I thinking the right here " We write variable customer exits in CMOD for virtual key figures in BEx " or am I totally wrong. If thats the case where do we write it.
    Thanks,
    JB

    Nevermind

  • Using Explorer with Calculated Key Figures from BEx (BW 7.31 / BI 4.1)

    I'm looking for suggestions on how to leverage data from calculated and restricted key figures in BEx (from a BW 7.31 system) with Business Objects Explorer (from a BI 4.1 system).  Our current process involves some complicated workarounds and with the implementation of BI 4.1 and I'm hoping to streamline things a bit.
    Here is what I had in mind...
    An information space (indexed daily) sitting on a universe (hopefully UNX) that referred to a BEx query on a multiprovider in BW.  My understanding was that universes would be able to consume BEx queries (including their restricted and calculated key figures) in 4.1.  Based on a recent post (http://scn.sap.com/thread/3417905), it appears that the feature that I was hoping for may have not made it into the GA release.  Obviously, I could move the calculations and restrictions into BW ETL or maybe into the universe, but since that work has already been done and lives in the queries, I'm hoping to use them!  Also, we could use a different tool such as WebI, but at this point the user base is comfortable with Explorer and we would like to continue to use it.
    Suggestions? 
    Thanks!
    -S

    Hi McDowell,
    Regarding to the BEx connection in Explorer, SAP provide two solution
    1. BWA connection
    2. Unv on top of connection
    For the UNV situation, you could use the calculated / restricted key figure in the system but please assgin the aggregation level for them (Database delegate is not supported if I am not wrong)
    Also plese consider two points
    1. Data size (UNV cannot support large data size)
    2. Scheduling (Explorer does not support event trigger? correct me if I am wrong)
    Best regards
    Alex yang

  • 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

  • Currency translation for key figure in bex not working.

    Hi friends,
    i want to do currency translation for key figure(invoice value in local currency).
    i have followed the steps as under:
    1st Transferring Global Table Contents: Currencies from R/3 Systems
    2nd than transfer exchange rate - from r/3 to bi
    3 than In SPRO settings of BW there is option "consider translation ratios in translation"
    4th than used transaction RSCUR for creating currency translation type: parameter(exchange rate:m, soure currency fom data records, target currency ISK, time ref: current date)
    5th than in BEX query designer have sated this for key figure
    but when i run query in RSRT, curreny amount not getting convert?
    am i missing any step?
    pl. guide.
    thanks dushyant.

    Hi Dushyant,
    Are these steps followed in Query designer??
    In the Query designer, for that particular key figure property, under Conversion tab >> Currency Translation >> Conversion Type, select the currency translation type you created in RSCUR.
    And in the target currency, select accordingly.
    If you are going to use a variable, use the following link..
    http://help.sap.com/saphelp_nw04/helpdata/en/08/81b98b95e911d4b2ca0050da4c74dc/content.htm
    See also..
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/287bab90-0201-0010-f48e-cc55b0cd13d0
    Hope this helps..!
    -Pradnya
    Edited by: Pradnya Rane on Apr 8, 2009 7:58 AM

  • Exception color can not display at another key figure in BEx query desinger

    I have a report requirement, the user want to display the average price on each month ,such as:
    Jan.   Feb. Mar.  Apr. etc.
    100    105    104   95   ....
    and the user want to compare each other months with Jan's price.
    they want to display the exception color when the rise or down rate greater or less than 5%.
    Now ,I can only change the output structure such as:
    Jan.  Feb. Rate2-1                 Mar.  Rate3-1                 etc.
    100   105   (105-100)/100=5%  104    (104-100)/100=4%  ....
    Now I can set Exception on the formula Rate2-1 Rate3-1....
    But the Exception color can only display on Rate2-1,Rate3-1...
    and Not the Keyfigure Feb. Mar...
    I am using the BI 7.0 and the new Query Designer.
    Who can help me to solve this question .
    Thanks.
    Yours Youming.Zhao

    Hi,
    its simply not supported for BEx Analyzer. Exception reporting on another key figure is only possible for Web Reporting.
    Check this actual SAP Help Link:
    [Restrictions in the BEx Analyzer|http://help.sap.com/saphelp_nw70/helpdata/en/45/5038f28cce08d2e10000000a11466f/content.htm]
    Sorry that i dont have a better answer
    Cheers

  • How to show filter values of restricted key figures in BEx Analyzer?

    Hi,
    I have following report.
                         Quantity USA        Quantity China
    Product           100                        150
    Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
    Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
    I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
    E.g.:
    Country          USA
                         Quantity USA
    Product           100 
    If I put both restricted key figures in the query, this line is not shown.
    Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
    Thanks!
    Regards,
    Pascal

    Hi,
    I have following report.
                         Quantity USA        Quantity China
    Product           100                        150
    Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
    Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
    I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
    E.g.:
    Country          USA
                         Quantity USA
    Product           100 
    If I put both restricted key figures in the query, this line is not shown.
    Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
    Thanks!
    Regards,
    Pascal

  • How to add unit to calculated key figures in BEx

    How to add unit to BEx calculated key figures in SAP BW BEx?
    I would like to add a unit to a calculated key figure in SAP BW BEx, so that it gets visible on the end user level. Currently the unit field is empty. I calculated the value from various key figures with different units and removed the units with the NODIM()-function. Is there an inverse function to NODIM() with which you can add a specific unit (like EUR or TAG).
    The "How tou2026 Report Data in Alternate Units of Measure" does not seem to cover the point.
    "Quantity Conversion Guide for SAP Business Intelligence" refers to the "Conversion" tab.
    I suppose you have to add a conversion routine, which is 1:1 and sets the target unit defined in BEx.
    Has anyone tried this? Is there a more simple solution?
    OLAP-Quantity Conversion:
    http://help.sap.com/saphelp_nw70/helpdata/EN/27/b65c42b4e05542e10000000a1550b0/frameset.htm

    Hi,
    if your CKF will have always same unit and you have one KF in you inforpovider with this unit, you can try to do this trick
    create a new hidden CKF as new CKF = KF / KF (with this equale new CKF = 1 unit)
    change your old CKF as old CKF = old CKF * new CKF
    let me know if it works.

  • Button for changing scaling of key figures in BEx?

    Hi everybody!
    Does anybody know if it is possible to create a button in BEx Analyzer for changing the scaling of all/certain key figures?
    Is it possible to use functions from the BEx API? I don't want to use Excel formulas like "divide by 1.000".
    Thanks in advance,
    Joerg

    Hi,
    you cannot  create button in Bex analyzer....infact you can change it's properties at the local view level once the query is run in the key figure properties when you execute the query thorugh bex analyzer....you canot put a buttin justto change the scaling factor...aslo you can change this at the ewb template level...if you run the query on the web.....
    Thanks
    Ajeet

  • How to find the average a key figure in bex

    Hi All,
    I have a fey kigure (ZAMOUNT) which is amout field. So if there are 'n' records, I need to calculate the average of the amount field(AVERAGEAMT) for those n records.
    Example:
                         EMPLOYEE      ZAMOUNT        AVERAGEAMT
    record1:         employee1         $5000.00          5000.00
    record2:         employee2         $7000.00          5000.00
    record2:         employee3         $3000.00          5000.00
    So I need to the result something like this.
    (500070003000)/3 =  $5000.00

    HI,
    in the bex analyzer go the key figure for which you want-> right click-> properties i->calculate result as -> average.
    Thanks

  • Problem in displaying key figures in Bex

    User sees everything in Bex multiplied by exactly thousand in key figures
    Query is fine and other users also do not have any such problems.

    Yup.. cc.. u are correct..it divides by 1000..
    <b>'Query is fine and other users also do not have any such problems'</b> I did not read the above line properly..
    So could be something to do with the user changing in the Local view (or) That user is using a work book.. which is saved in that way..
    regards,
    Hari
    Message was edited by: Hari Kiran Y

  • How to add Characteristic text to Key figures in Bex report?

    The result set of a report is like this
                                          Q1             Q2            Q3           Q4
    Payment amount      Payment          2000           4000          1200         1400
                        Recovery         1200           1400           100          200
    Commission          Payment          4000           5000          2000         2000
                        Recovery         2000           2000           100          100
    Total               Payment          1500           1200          5000         4000
                        Recovery          600            200          1000          200
    The first Column Payment amount, Commission and Total are key figures.
    Payment  and recovery are text of a Characteristic Infoobject ( Flag type : X = Payment, # = Recovery ).
    Now the requirement is not to have Characteristic Infobject as Column but to have them as text beside keyfigure.
    LIike this
                                          Q1             Q2            Q3           Q4
    Payment amount (Payment)             2000           4000          1200         1400
    Payment amount (Recovery)            1200           1400           100          200
    Commission (Payment)                 4000           5000          2000         2000
    Commission (Recovery)                2000           2000           100          100
    Total (Payment)                      1500           1200          5000         4000
    Total (Recovery)                      600            200          1000          200
    How to achieve this kind of result?

    Create Restricted Keyfigures to achieve this requirement.
    create 2 RKF for Payment Amount Keyfigure
    Create RKF1 with Payment Amount keyfigure and restrict flag type with "X" and then
    Create RKF2 with Payment Amount keyfigure and restrict flag type with "#".
    And use the RKF's in the query.
    Similarly create two RKF's for each Keyfigure used in the query and restrict it with flag type.
    --- Thanks...

  • Calculation based on date key figures in BEx

    Hi Friends,
    Hi Friends,
    I need to creat report for sales order data, which involved the calculation based on dates.
    In my cune iam having the data at the granual level with the dates as key figures. the calculation that i need to do is VTW = Actual PGI date - Customer want date.
    1) whn i run the report at the granual level my VTW is working correctly. No issues.
    2) when i run the report at higher levels the date fields are updated with X, as the system is unable to aggrigate the dates. The dates are at the material level in  a sales order. I need to show the VTW at the sales order level (each one of the two dates are same for all the materials). So, when i run the report with out mataril at the sales order level...i wanto sea the bothe date fields in a single line and also the VTW calculated as the different between throse two dates.
    3) Once we get the VTW correctly at the sales orde level. if i drill down the report for material, i want to sea both the dates in every record againest the matarial, but the VTW only aginest the first record...that is againest the sales order. I dont waht the VTW value repeated/duplicated for all the records againest the sales order,as VTW makes sence only at the Sales Order level.
    Please suggest me hwo i can achive the resulsts by meeting both Point 2 and 3.
    Thanks for ur help...in advance.
    Thanks,
    Renu

    Hi..
    I have the data from the extractore and in the cube as below.
    SALES ORDER    ITEM                MATERIAL            DATE1                         DATE2
    101                        Item1               Mat1              01/01/2010                15/01/2010
    101                        Item2               Mat2              01/01/2010                15/01/2010
    101                       Item3                Mat3             01/01/2010                15/01/2010
    I need the reports as below...
    Report1:
    SALES ORDER        DATE1                         DATE2                  VTW (DATE2 - DATE1)
    101                        01/01/2010                15/01/2010                14
    currently iam getting this Report1 output as below...
    SALES ORDER        DATE1                         DATE2                  VTW (DATE2 - DATE1)
    101                             X                                   X                           42
    Report2: Out put required as below
    SALES ORDER     ITEM                MATERIAL            DATE1                         DATE2      VTW (DATE2 - DATE1)
    101                        Item1               Mat1              01/01/2010                15/01/2010              14
    101                        Item2               Mat2              01/01/2010                15/01/2010
    101                   I     tem3                Mat3             01/01/2010                15/01/2010
    currently iam getting this Report2 output as below...
    SALES ORDER     ITEM                MATERIAL            DATE1                         DATE2      VTW (DATE2 - DATE1)
    101                        Item1               Mat1              01/01/2010                15/01/2010              14
    101                        Item2               Mat2              01/01/2010                15/01/2010               14
    101                   I     tem3                Mat3             01/01/2010                15/01/2010               14
    As VTW is need to be measued at the sales order level and we always have the DATE1 & DATE2 as same for all the itesm, it should be shon as only 14 in the first record. It mean once iget the required output from Report one in a single line with VTW as 14, it should not repeat with every line , when i dril down the report for Items or materials.
    Even if i can generate oly report2 as required in a single sheet ...that will be enough.
    Plas kindly provide some solution as how we can achieve this,
    Thanks,
    Renu

  • Can we create variables(prompts) on Key figures in Bex(SAP-BW/BI).

    Hi,
    Can we create variables on key figures, If yes,Please let me know the process step by step.
    My requirement is we have key figures Supply Elements(SE) like purchase order,production order,planned order etc and Demand Elements(DE) like Deliveries,Sales order etc. All these Key figures are dragged and available in Rows.
    Now my clients wants variables on SE and DE.
    For SE  & DE = Variable type is OPTIONAL and Variable input value =LIST VALUES.
    Can any one help me on this.
    Your Effort will be Valued.
    Regards,
    Krishna.

    Hi Kamal,
    These are the Keyfigures with Data type QUAN with unit:0BASE_UOM.
    Under :
    SE - Purchase Req (ZSEOOPR),Purchase Order(ZSEOOPO),Production Order(ZSEOOPRQ) Etc..
    DE-Safety Stock(ZDESS),Sales Order(ZDESRSO),Deliveries(ZDESRD) Etc..
    In column it has structure which displays the month of Jan-Dec.
    The output of the report  snapshot attached
    Now my client requirement is
    S8e
    Demand Elements
    No
    Text
    N/A
    N/A
    N/A
    N/A
    Yes
    Optional
    List Values
    Default to All
    S8e
    Supply Elements
    No
    Text
    N/A
    N/A
    N/A
    N/A
    Yes
    Optional
    List Values
    Default to All
    Regards,
    Krishna.

  • Creating Formula Key Figure in BEx 3.5 Query

    Hello,
      I'm trying to create a formula key figures that gives me the Absolute Value of the Difference of two quantities.  The calculation needs to happen at each plant/material level.  It works great as long as you drill down by plant/material.  The users, however, would like to see the results only by plant.
    Is this possible in the query?
    Any Help Would Be Greatly Appreciated!
    Thanks!
    Tina

    Hello,
    Please try the following steps:
    In the query go to Hierarchieparameter and select expand till level and select secound level and check the results.
    Thanks.
    With regards,
    Anand Kumar

Maybe you are looking for