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...

Similar Messages

  • 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.

  • 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

  • Can I split the contents of characteristic into two key figures?

    Hi experts
    I have a characteristic that represents a discount.  It is entered into SAP as Nnn or Pnn where N means negative and P means positive and the nn is a two-digit number. 
    Within my query, I need to be able to add this discount to another discount type (which IS conveniently entered as -nn.nnn!) and get "total discount".  If I can get the N/P and nn parts of the characteristic into separate key figures I'll be able to create my "total discount" formula.
    This would be so simple to do in code, but can I do it within the query?
    Thanks for any guidance
    Brigitte

    Ravi
    I already tried that but couldn't get it to work.  I thought the offset stuff would do the trick but it didn't work - I just got 0 instead of the two-digit number I was expecting.  (I put in offset start = 1, offset length = 2 to try to get the nn part of the characteristic.)  Also, I couldn't figure out how to get the N or P part of the characteristic as the formula variable dimension doesn't allow characters.
    If you can be more specific about what I should be doing, please reply and I will try what you advise.
    Thanks
    Brigitte

  • How to create a non-cumulative key figure & How to make a info cube as so

    Hi Experts,
    How to create a non-cumulative key figure & How to make an info cube as non-cumulative cube?
    Can any one kindly provide me the steps we need to performe?
    Thanks in Advance,
    Raj

    Hi Azael,
        In the How to Papers, you will find a Guide on how to take a Sanpshot view of the Stocks(How To Handle Inventory Management Scenarios in BW). Basically if you implement the Guide, you will have another cube called ICSNAP1, which will contain stock quantities /values at the end of each month. You will therefore have to take stock at the end of the last month from that cube and add up the relevant receipts and issues to arrive at the current Stock or Stock as on a particular date.
    Hope this helps!
    Regards
    Sriram

  • Add unit to a key figure

    Hi group!!!
    I need to add a unit of measure( i have it as char) to a calculated key figure in the report.  I have done it several times when it is key figure by adding the unit when editing. I do not find the way when it is a "calculated key figure" Does any one know how it can be done?
    Thank in advance for your help!!!!

    Hi Karthik,
    This can be done with percentage functions available at Caluated keyfigure and new selection.
    change CKF Margin % to (margin (ckf) Percentage Variance (%) gross sales (CKF))
    Result will display like this 20.01%.
    [http://help.sap.com/saphelp_nw70/helpdata/EN/e2/16f13a2f160f28e10000000a114084/content.htm]
    Hope this helps.
    Hi David, i am using this thread to answer Karthik's post.
    best Regards

  • Using Characteristic in Calculated key figure

    Hello every one,
    I need a help. Can anyone help me in solving one requirement.
    I want to know if i can use a Characteristic in calculated key figure.
    Thanks in advance.

    Hi,
    You can try to create a formula variable of type replacement path and supply this char to pull the value from. Evaluate this value as a boolean (1 or 0 for if there is a value or not). Then you can create a new formula using this formula variable and your CKF. If the result is 1, then you get the value of the CKF, or if the indicator returns 0, then you get 0 as the result.
    Hope this helps...

  • How to add standard text in smartforms?

    Hi friends,
    How to add standard text in smartforms ?
    points rewarded soon
    Regards
    RH

    Creating the Standard Text:
    Go to SO10
    1. Enter Text Name.  For example, ZABC
    2. Text ID ST
    3. Language EN
    Click on Create.
    And enter the Required Information and save.
    To include a Standard text in SmartForm.
    Follow the steps below:
    1. Create a text node in the window.
    2. Under general attributes select "Include text" as Type.
    3. Specify the fields under Text.
    Text Name ZABC
    Text Object TEXT
    Text ID ST
    Language EN.
    Hope it helps.
    Regards.

  • How to add a text box in the layout (View)

    How to add a text box in the layout (View)

    Hi.
    Right Click in the RootUIElement container.
    Click Insert Element.
    Give Name: Input
    Type : Input Field.
    Press Enter.
    Regards
    Bala.

  • How to add new text field in standard report

    how to add new text field in standard report?

    Hi,
    I presume you are talking about a report display in ALV and u wish to add a column to it .
    If it is a global requirement ,as in table being used there in ALV can be modified, then you can append the table and the system should pick up the same automatically from there.
    Otherwise , you can make a Z program . Modify the catalog being used in ALV.
    Regards,
    Shweta

  • How to write conversion routine for key figure?

    Our customer has this requirment:
    we need to know the last time of some TV program in BEx report, If a TV program last 500 seconds, we need show the key figure like this:  00:08:20, If a TV program last 100000 seconds, we need show the key figure like 27:46:40 (27 hours and 46 minitues and 27 seconds), If we define a key figure as time,  BW system will report a error that say it is not acceptable time.  If we want to define a integer, but we need display it like hhmmss format.  We know we can write conversion routine for char.  but I don't how to write conversion routine for key figure.   Please give me any hint if any other solutions?
    Edited by: SY DONG on Dec 2, 2010 3:36 AM

    If you want to do in Transformation Layer :
    You can use routine ...break up the seconds into minute hour and seconds
    you will have to handle few cases in this:
    let say your variable lv_seconds holds the number of seconds you want to convert to hour min and seconds
    DATA: lv_seconds type i,
               lv_hrs  type  i,
              lv_sec type i,
              lv_min type i.
    lv_hrs = lv_seconds / 3600
    if lv_hrs >= 1.
    lv_min = (lv_hrs - trunc(lv_hrs))*60
    here again handle seconds if min >60.
    else.
    lv_hrs = '00'.
    lv_min = lv_hrs*60
    It is just hint ..how you can manipulate the seconds to get it...you will have to think about the complete algorithm
    Regards,
    RK

  • How to add standard text in PO and how it is maintained ?

    How to add standard text (paragraph) in PO and how it is maintained ?

    Hi
    Please go through this document.which has a step by step
    Working with Frequently Used Texts
    Use
    You can copy texts from various sources to create PO texts:
    Standard texts
    Certain standard texts are supplied with the system and can be assigned to a purchasing document in Customizing.
    The content of some standard texts is predefined by your system administrator.
    You can also create standard texts yourself and copy them into purchasing documents.
    Master records
    Database fields
    Activities
    Creating Standard Texts
    You can create your own standard texts via Tools ® SAPscript ® Standard text.
    Inserting Standard Texts
    You can insert your standard text on the long text screen via Insert ® Text ® Standard.
    For more information, refer to the Basis documentation under BC Word Processing with the SAPscript Editor:  Including Texts.
    You can display the print preview via Text ® Print ® Print preview.
    Inserting Texts from the Master Record
    There are three ways of linking texts from a master record with a purchasing document. The relevant settings are made for each text type in Customizing for Purchasing. The indicator in the status column shows the nature of the linkage.
    Option                                              Indicator in status column
    The text is copied:               
    It is then independent of the text                 None
    in the master record. Changes to
    the text in the material master record
    have no influence on the text in the document.
    The text is displayed only:
    It cannot be adopted.                                          N
    The text is offered for copying:
    It can be copied via Header or Item ® Texts ® Adopt text. (In requisitions: Goto ® Texts ® Adopt text.) Changes made in the master record will also be adopted in the document until such time as you copy the text.
    Inserting Texts from Database Fields
    You can include the content of a database field at any point in the text on the long text screen. A value specific to the relevant document is displayed in the printed document.
    Choose Insert ® Symbols ® Program symbols.
    Choose DDIC fields.
    Search for the relevant table/structure (in the case of PO items, this is EKPO) and then choose ENTER .
    Choose the relevant table field.
    Choose Text ® Print preview to see the print preview.
    Reward if useful
    Aasif

  • How to add a feild as key combination for existing condition table

    Hi all,
    please any body can inform me about how to add a feild as key combination for existing condition table ex 901 having the key combination of sales organisation and material
    for this cond. table,how  to add a new feild ex:price list
    iam unable to add it in change mode of v/03.(even after removing this 901 table from Acc.seq.)
    Edited by: rajendraprasad vasam on Apr 25, 2008 10:08 AM

    mr.Rajendra
         I you have the access key - you can copy the 901 table and create a new table along with your required field. v/03
    Or
    in the access sequence for the condition type - add 1 more step and add your field.
    ie 10 - 901
    and in 20 - your required field
    regards,
    Reshmi
    Edited by: reshmi bhaskar on Apr 25, 2008 10:21 AM

  • How to create Variables for the Key Figures

    Hi All,
    How to create Variables for the Key Figures
    Thanks
    Bhaskar

    Hi,
    It is not possible to create the variables on Key figures directly. But we can create a formula variable with processing type 'User Entry' ,SO that the user entered value can be used in the calculations of the query.
    With rgds,
    Anil Kumar Sharma .P

  • Added new key figure in the report

    Experts,
    I have added new key figure in the report .If i display this key figure value in the report it is populating correct value with ERROR(example 22.5 ERROR).The report is on the multiprovider .i have check the value for this in multiprovider it is populating correctly .There is no calculation in the report for this .While extracting in to report i am getting this. Help me to resolve this issue.
    Thanks
    Murali

    Hi,
    I have already created a formula like NODIM(Key field).that only i am using .
    and mapping I did in this way. I went to multiprovider and I have selected this key figure and right click and select (assign) then I have click on create proposal for all infoobjects option.
    Please suggest any thing need to do.
    I am sorry .I did not understand the lonterm solution suggested by you .what is UOM .Please tell me how to map.can you pls tell me clearly please
    Thanks
    Murali

Maybe you are looking for

  • Mini dvi to hdmi cable??where

    i want to view the itunes visualizer on my 52" hd lcd sony bravia3. i would like to stay in the digital domain, thus use the hdmi connection. I searched everywhere. where can i get a mini dvi to hdmi cable. i saw mini dvi to dvi, is this the same con

  • No sound effects with firewire audio device

    I use an external (firewire) sound device for better sound. When I'm in a call, the audio output is routed correctly to that device. But, sound fx, such as when someone sends me an IM or when someone is calling are NOT routed to that device. If I unp

  • Need help adding services to clusrter

    I'm trying to add two new services to an existing 2 node 11Gr2 RAC cluster. I want to use them for application partitioning. I want some apps to always connect to node 1 and others to always connect to node 2, unless a node is down in which case I wa

  • My SSM messaging quit working.  Only iMessages seem to be functioning correctly.  Ideas?

    My iPhone 5 SSM messaging isn't working any longer.  Only iMessages seem to be functioning correctly.  Tried restarting, updating network settings.  Would prefer not to wipe phone and hope it works.

  • How to ignore segment occurances in IDoc

    Hi I have a IDOC to file scenario. How do i ignore the first segment of a multiple accuring segment. For Example if the segment E1EDXX occurs 5 times in the IDOC i have to ignore only the first (segment)occurance and the remaining 4 (segment )occuran