Can we add a description in a Formula Editor in u201CCalculated Key Figureu201D

Hi All,
I am new to SAP - Infact beginner, I started doing Bex Reporting. However I got stuck in Calculated Key Figures...
Here is my Scenario:
If (0QUANTY_B) > Max[ZREQMTS, ZINVUSAGE] then u201CExcessu201D else u201CNo Stocku201D
Note: OQuant_b, ZREQMTS, ZINVUSAGE are the key figures from Info Cube.
Here I am able to incorporate all the formula items , however i am not able to mentin Excess & No Stock in Calculated Key Figure. Is there any way where we can include words in the results...
Please let me know how I can achieve thisu2026
Regards,
Srikanth

Hi Srikanth,
SO as to populate the dynamic text you will have to use virtual characteristics in your report. Please see the following link for creation of virtual characteristics.
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/007c46ec-1185-2d10-da82-b9a994ef5809]
Regards,
Durgesh.

Similar Messages

  • How can I add a description to a photo so it will be emailed with the photo?

    How can I add a description to a photo that I am going to email so it will be emailed with the photo? For that matter how can I add a description to a photo that will stay with (or on?) the photo?

    Add your description as you normally would. Then export the photo using the File -> Export command. In the resulting dialogue you have a number of options. If you check the box at Titles and Descriptions then these wil be written to the IPTC metadata of the files, and available in any app that understands this metadata.
    Regards
    TD

  • Can we add any fonts to Infoview format editor?

    Hi Expert!
    Can we add any fonts to Infoview format editor?
    When editing CR file on INFOVIEW, "Format Editor" has just 4 fonts to use,
    How can we add any fonts to "Font Editor" at infoview??
    Could you please give me any advices?
    [A SCREENSHOT|http://zealias.byus.net/bo/addfont.JPG]
    As attached screenshot, we can use just 4 fonts on format editor.
    Thanks in advance
    Tony (Customer Assurance)
    Edited by: Tony Song on Nov 17, 2008 8:10 AM
    Edited by: Tony Song on Nov 17, 2008 8:11 AM

    It's self answering.
    1. I assume, "D:\Program Files\Business Objects" is the install dir.
    Add below line
    D:\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\adhoc\res\adhoc_en.js
    D:\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\adhoc\res\adhoc_ko.js
    there is an line "var L_IMPACT="Impact";"
    and ADD next new line "var L_ARIAL="(what you want)"; "
    2 Edit below file
    D:\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\adhoc\formatfield.html
    1) Add option[5] like below
    fontChoiceElement.options[5] = new Option(getLocalisationStringsObject().L_ARIAL, 'arial', false, false);
    2) Also search similar sentence and add like below
    case 5: // Arial
       previewPaneElement.style.fontFamily = 'arial';
       break;

  • SAP Query - How can I add the description

    Hi,
    I need to add in my ueries descriptions for different filed: Ex. Condition Type (I only have the BO01, I need to display "Mat/Group Rebate"), Status of the agreement (in stead of C,B, D etc, I need Settlement parrtyaly done.. etc) , Reason for rejection, and so on..
    Any idea what is the table where I can find this descripions?
    Thank you all!,
    Kind regards,
    Cris

    Hi,
    Can you tell me all the fields you need to put description for (if possible). It seems you have diffrent status and indicators in your output. if yes, all will be coming from diffrent tables and hence description also lying in diffrent tables.
    rgds

  • How can I add highlighting to my simple text editor?

    Hi ...I wrote a simple text editor ..but I want to add Sysntax highlihting to my editor ...ilke I will enter some words in sourse code (new..import.. ext ) and when I write in text those words I want to see whit a different collor ..how can I do this? here is source codes for my text editor..and I want your help
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    import javax.swing.plaf.ComponentUI;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.io.File;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.util.*;
    import java.util.regex.*;
    public class JText extends JFrame{
         private JTextArea textarea ;
         private JFileChooser fileChooser = new JFileChooser();
    private Action open =new OpenAction() ;
    private Action save = new SaveAction();
    private Action exit = new ExitAction();
    public static void main(String args[])
              JText pencere= new JText();
              pencere.setBackground(Color.lightGray);
              pencere.setSize(400,300);
              pencere.setVisible(true);
         //Text Area
         public JText(){
         textarea = new JTextArea(15,90) ;
         JScrollPane scroll = new JScrollPane(textarea);
         JPanel content = new JPanel();
    content.setLayout(new BorderLayout());
    content.add(scroll, BorderLayout.CENTER);
         //Menu Bar
    JMenuBar menu=new JMenuBar();
    JMenu file=menu.add(new JMenu("FILE"));
    file.setMnemonic('F');
    file.add(open);
    file.add(save);
    file.addSeparator();
    file.add(exit);
    setContentPane(content);
    setJMenuBar(menu);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setTitle("Project");
    pack();
    setLocationRelativeTo(null);
    setVisible(true);
         class OpenAction extends AbstractAction {
         //============================================= constructor
         public OpenAction() {
         super("Open...");
         putValue(MNEMONIC_KEY, new Integer('O'));
         //========================================= actionPerformed
         public void actionPerformed(ActionEvent e) {
         int retval = fileChooser.showOpenDialog(JText.this);
         if (retval == JFileChooser.APPROVE_OPTION) {
         File f = fileChooser.getSelectedFile();
         try {
         FileReader reader = new FileReader(f);
         textarea.read(reader, ""); // Use TextComponent read
         } catch (IOException ioex) {
         System.out.println(e);
         System.exit(1);
              class SaveAction extends AbstractAction {
              //============================================= constructor
              SaveAction() {
              super("Save...");
              putValue(MNEMONIC_KEY, new Integer('S'));
              //========================================= actionPerformed
              public void actionPerformed(ActionEvent e) {
              int retval = fileChooser.showSaveDialog(JText.this);
              if (retval == JFileChooser.APPROVE_OPTION) {
              File f = fileChooser.getSelectedFile();
              try {
              FileWriter writer = new FileWriter(f);
              textarea.write(writer); // Use TextComponent write
              } catch (IOException ioex) {
              JOptionPane.showMessageDialog(JText.this, ioex);
              System.exit(1);
                   class ExitAction extends AbstractAction {
                   //============================================= constructor
                   public ExitAction() {
                   super("Exit");
                   putValue(MNEMONIC_KEY, new Integer('X'));
                   //========================================= actionPerformed
                   public void actionPerformed(ActionEvent e) {
                   System.exit(0);
    }

    i looked it ...it is the one which i want to do ..But i want to use my window which i gave above ..But i cant mix them ..:( this codes for highlighting.... is any body can add this codes and my codes which i gave above connect together? pleaseeeee... :))
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    public class SyntaxTest extends DefaultStyledDocument
    Element rootElement;
    String wordSeparators = ",:;.()[]{}+-/*%=!&|~^@? ";
    Vector keywords = new Vector();;
    SimpleAttributeSet keyword;
    public SyntaxTest()
    rootElement= this.getDefaultRootElement();
    keyword = new SimpleAttributeSet();
    StyleConstants.setForeground(keyword, Color.blue);
    keywords.add( "abstract" );
    keywords.add( "boolean" );
    keywords.add( "break" );
    keywords.add( "byte" );
    keywords.add( "case" );
    keywords.add( "catch" );
    keywords.add( "char" );
    keywords.add( "class" );
    keywords.add( "continue" );
    keywords.add( "default" );
    keywords.add( "do" );
    keywords.add( "double" );
    keywords.add( "else" );
    keywords.add( "extends" );
    keywords.add( "false" );
    keywords.add( "final" );
    keywords.add( "finally" );
    keywords.add( "float" );
    keywords.add( "for" );
    keywords.add( "if" );
    keywords.add( "implements" );
    keywords.add( "import" );
    keywords.add( "instanceof" );
    keywords.add( "int" );
    keywords.add( "interface" );
    keywords.add( "long" );
    keywords.add( "native" );
    keywords.add( "new" );
    keywords.add( "null" );
    keywords.add( "package" );
    keywords.add( "private" );
    keywords.add( "protected" );
    keywords.add( "public" );
    keywords.add( "return" );
    keywords.add( "short" );
    keywords.add( "static" );
    keywords.add( "super" );
    keywords.add( "switch" );
    keywords.add( "synchronized" );
    keywords.add( "this" );
    keywords.add( "throw" );
    keywords.add( "throws" );
    keywords.add( "true" );
    keywords.add( "try" );
    keywords.add( "void" );
    keywords.add( "volatile" );
    keywords.add( "while" );
    public void insertString(int offset, String str, AttributeSet a) throws BadLocationException
    super.insertString(offset, str, a);
    int startOfLine = rootElement.getElement(rootElement.getElementIndex(offset)).getStartOffset();
    int endOfLine = rootElement.getElement(rootElement.getElementIndex(offset+str.length())).getEndOffset() -1;
    //highlight the changed line
    highlightKeyword(this.getText(0,this.getLength()), startOfLine, endOfLine);
    public void remove(int offset, int length) throws BadLocationException
    super.remove(offset, length);
    int startOfLine = rootElement.getElement(rootElement.getElementIndex(offset)).getStartOffset();
    int endOfLine = rootElement.getElement(rootElement.getElementIndex(offset+length)).getEndOffset() -1;
    //highlight the changed line
    highlightKeyword(this.getText(0,this.getLength()), startOfLine, endOfLine);
    public void highlightKeyword(String content,int startOffset, int endOffset)
    char character;
    int tokenEnd;
    while (startOffset < endOffset)
    tokenEnd = startOffset;
    //find next wordSeparator
    while(tokenEnd < endOffset)
    character = content.charAt(tokenEnd);
    if(wordSeparators.indexOf(character) > -1)
    break;
    else
    tokenEnd++;
    //check for keyword
    String token = content.substring(startOffset,tokenEnd).trim();
    if(keywords.contains(token))
    this.setCharacterAttributes(startOffset, token.length(), keyword, true);
    startOffset = tokenEnd+1;
    public static void main(String[] args)
    JFrame f = new JFrame();
    JTextPane pane = new JTextPane(new SyntaxTest());
    JScrollPane scrollPane = new JScrollPane(pane);
    f.setContentPane(scrollPane);
    f.setSize(600,400);
    f.setVisible(true);
    }

  • How can I add an appoggiatura using the score editor?

    I'm using Logic Pro X to write an ensemble piece and I need to add an appoggiatura, how do I do it?

    Hi
    I'm not sure what your issue is: add extra notes, convert them to Independent Grace notes, and adjust the positions using the Layout tool as needed.
    CCT

  • How can i view 10 descriptions for a member in a web form

    Hi can some one help me with this
    How can i add 10 descriptions for a member in a web form usually, if it is one description i can add that in alias
    ACNT ACNT-DESCRIPTION
    12345 communication cost
    but how can i get that if i had 10 descriptions

    Hi Abhi,
    Are you saying you want ten different aliases for a given account?
    e.g.
    Member name: Profit
    alias 1: profits
    alias 2: excess cash
    alias 3: прибыль
    alias 4: ganancia
    alias 5: Gewinn
    alias 6: hagnaður
    alias 7: Winnings
    alias 8: The Take
    alias 9: Bail out money we didn't spend
    alias 10: My big fat bonus
    There is an option in the web form definition to show alias, but not 10 of them, and AFAIK you can't add an alias via a web form.

  • How can I add metadata to iWeb pages hosted on .mac?

    How can I add title/description/keyword metadata to my website?
    Is there an easy solution?
    I publish my site to my .mac account.
    Any direction would be appreciated. I work in the web marketing industry, so it bugs me not being able to add metadata to my site.
    Thanks!
    Macbook   Mac OS X (10.4.7)  

    So I find the folder: Welcome_files for example
    Then do I open up the Welcome.js file using text
    editor?
    When I add the metadata, then do I Save As and put
    the file back into the Welcome_files folder?
    Actually every page like Welcome has a Welcome.html file and then a folder "Welcome_files". The file you want to edit is the Welcome.html file. Not anything in the folder.
    Do I need to Publish again, or is that process
    automatic since the site is pulling from down from my
    iDisk?
    Nope don't publish again. That would just overwrite you changes again. Just save the file in the same place and you're done.
    Will I have to re-enter metadata every time that the
    page changes, or every time the site changes?
    Anytime iWeb thinks the page needs to be republished, your edited file will be overwritten.

  • How can I add KeyListener to JTable editor

    Hi, I want to know how can I add a KeyListener to a JTable editor?
    I want to capture the event when any of the cell in the jtable has a key typed.

    If your goal is to check the entered value, it's more elegant to do this in overriding
    DefaultCellEditor#stopCellEditing and return false when the value is not correct.
    Example from a DateEditor:
            @Override public boolean stopCellEditing() {
                String value = ((JTextField)getComponent()).getText();
                if(!value.equals("")) {
                    try {
                        formatterE.parse(value);
                    } catch (ParseException e) {
                        ((JComponent)getComponent()).setBorder(new LineBorder(Color.red));
                        return false;
                return super.stopCellEditing();
            }

  • I am putting together a slide show using iphoto and I wanted to add a description on each slide/photo. How can I do that? Also on the choice of music for the silde show, if the slide show is longer than one song can you chose a different song for backgrou

    I am putting together a slide show using iphoto and I wanted to add a description on each slide/photo. How can I do that? Also on the choice of music for the silde show, if the slide show is longer than one song can you chose a different song for background music?

    This might help
    http://www.apple.com/findouthow/photos/#slideshow
    Regards
    TD

  • In iPhoto (09) I can add a description to a photo which will display when running the slideshow, however when I sync the Album to my iPad and I run slideshow the description does not display, WHY?

    In iPhoto (09) I can add a description to a photo which will display when running the slideshow, however when I sync the Album to my iPad and I run slideshow the description does not display, WHY?

    I'd ask that on the iPad forum.

  • I can add  a description and it displays on a slideshow but when I sync it to the iPad the description does not display, Why?

    I can add a description to a photo by clicking o the "i" and it will dsiplay on a slideshow but when I sync the album to my iPad the description does not disply, why?

    I'd ask that on the iPad forum.

  • How can i add formula to waveform data type?

    I want to interpolate my acquired data in terms of voltage to temperature. For this i need to use polynomial equation, but i am not able to directly attach formula node to the waveform data type. I want to know how can i add formula node to waveform data, and then also have it real time.

    One additional thought that may be helpful. Once you get the Y component of the waveform graph you are going to attempt to wire this into a formula node. You can do one of two things with that array. Put a for loop around the formula node and index the array into and out of the for loop. This allows you to do scalar math on the data. It is also possible to index and array in a formula node. The following KnoledgeBase demonstrates how to do this: http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/9d72b6069346942386256a0d00604ed4?OpenDocument

  • Can not add function to pages-document created with Applescript

    If I create new document using the GUI (New document) I can place the cursor within any table-cell, type "=" (equal sign) and f.e. "2+2" which will result in a cell showing a "4".
    If I create a document with Applescript, I can not add new functions (neither by typing = nor by using Insert >> Function (may be different, I have German version here). Already existing functions (which already were in the template) can still be used and work as expected but can not be altered.
    Any idea?
    I use Pages '08, Version 3.03
    Code I used to create the document:
    tell application "Pages"
    launch
    make new document at front with properties {template name:templateName}
    # Angebotsnummer ins Dokument schreiben
    tell body text of front document
    make new paragraph at after paragraph 1 with data angebotsNr
    set paragraph style of paragraph 2 to "Überschrift"
    end tell
    # Datei abspeichern
    set dateiName to missing value
    repeat until dateiName is not equal to missing value
    set dateiName to text returned of (display dialog "Datei Name:" default answer angebotsNr & "_" & kundenName) as text
    end repeat
    save front document in angebotsOrdner & dateiName
    end tell

    I apologize but the given script can't run.
    The variable templateName is undefined.
    The variable angebotsNr is undefined too.
    About the described behavior, it's a bug which I never discover before.
    It's always striking in Pages '09.
    Here is the report which I filed :
    Bug ID# 8704270
    Summary:
    +Odd behavior of tables in Pages documents created by a script+
    +Steps to Reproduce:+
    +Run this huge script+
    +tell application "Pages"+
    +make new document at front with properties {template name:"Blank"} (* "Vierge" on French systems *)+
    +end tell+
    +Insert a table+
    +try to insert a formula+
    +Expected Results:+
    +I assumed that I will get the formula editor which I get when the document is created by hand+
    +Actual Results:+
    +There is no way to get the editor, no way to insert the equal character.+
    +This odd behavior strike in all versions of Pages '09 and Pages '08+
    Regression:
    +None to my knowledge+
    Yvan KOENIG (VALLAURIS, France) dimanche 28 novembre 2010 11:30:29

  • Can I add my existing, licensed apps to my list of 'Purchases' on the Mac App Store so I don't have to buy them twice?

    Hello,
    I was wondering if I could add my existing, licensed apps to the list of app 'Purchases' that I have on the Mac App Store.
    The reason for this is that I recently suffered the inevitable hard disk failure and I had to rebuild my MacBook Pro from scratch (with the help of Time Machine and Migration Assistant, etc.). As usual, I hadn't really maintained my MBP for quite a while and things sort of got away from me, in terms of data, apps, preferences, permissions, users (my personal account, my wife's account, my old work account...), etc.
    So I wanted to rebuild my MBP on a clean slate. I like having the ability to quickly download and install just the right apps that I "really" need from MAS safe in the knowledge that:
    they are there (assuming they're still available through MAS) with a full description of what they do and when I bought them, etc.
    they are going to be in the most up-to-date version,
    I'll be able to download and install them cleanly with no corruption from years of multiple user preference changes and permissions, etc.
    that they will be managed and maintained (updated) through the same mechanism,
    so much more.
    The benefits of having apps from MAS are easy to see when compared to going through my downloads folder and emails looking for the latest installers, working out what they're for in the first place, finding the license key in some forgotten e-mail, etc.
    I am aware that I can build a clean machine and then restore just the right apps in their most up-to-date version as I had them on my backups.  The one thing to say about that is that the apps may have been used and abused once too many times and their preferences, etc. may not be in the most desirable form. It's just not as elegant as the MAS solution.
    I realise that not all apps, app versions, or app vendors, are available through MAS. But I still have a fair few apps currently available on MAS that were bought prior to the existence of MAS, prior to them becoming available on MAS, or were bought directly for some other reason (by mistake).
    So I wondered if there was any way I could convert my legitimate licenses from simply a direct purchase to one through MAS and have those apps listed under my 'Purchases' list. It would reduce the amount of work I'd have to do, not only to rebuild my machine but also to maintain it.
    I cannot find any reference or way of having this work the way I would like it to. But I was hoping that some Apple guru would enlighten me.
    I have thought about the possible mechanisms something like this would need to work and I must admit I see some not insurmountable issues (not as much technical as legal or possibly logistical). I realise that MAS is a service in its own right and as such has its own Terms, Conditions and Licensing that may not be compatible with the licenses that I already have. I also realise that when I purchase an app from MAS that I'm paying for the entire service including updates and use on multiple machines that I may own, etc. Obviously I do not want to pay the full purchase cost again for the same app twice, but I am willing to pay a small conversion/upgrade fee to have it managed as part of my 'Purchases' on MAS.  Think of it in the same terms as iTunes works.  I can purchase music, etc. but I can also add my own CD collection and have it managed by iTunes and store it in the cloud should anything go wrong with my local machine, etc.
    So if this is currently not possible, then for the Apple MAS product managers out there, consider this as a suggestion/feedback.  I'd be happy to discuss my thoughts in more detail about not only how to achieve this for now but also for the future when you may add existing applications to MAS that people may have previously bought direct and would like to have managed through MAS going forward. The benefits to the users are hopefully clear, but from Apple's perspective I hope that you can see the advantages too, commercially, etc.
    PS: I apologise for the wordiness of my query and overuse of 'etc.', etc.

    Can I add my existing, licensed apps to my list of 'Purchases' on the Mac App Store so I don't have to buy them twice?
    No. Only apps purchased from the App Store can be re downloaded for free including updates.

Maybe you are looking for

  • I have been hacked and A$179.98 stolen!

    This post is out of frustration of not being able to contact Apple through formal channels. I have had $179.98 of in-app purchases deducted from my iTunes balance through an application I have never bought. I have tried contacting Apple the only way

  • How to write-protect a document at the time it is opened?

    is it possible to request a password from a user at the time he is opening a document (the password "quality" does not matter - it can be a string predefined in a macro), so that in the case the password is not submitted correctly, a document is forc

  • Help! Time machine says my backup disk is too small

    I have a 500 gig back up disk for time machine back up and my hard drive on my imac is 500gigs but for some reason it is saying I don't have enough space on my back up disk for time machine to back up. how can that be if they are the same size.

  • HT204380 I do not have Face Time Icon in the Info Section of my Contacts

    I don't have FaceTime, , though I have input their email addresses? How can I get FaceTime? I have an iPhone 4 with the latest OS installed! (this iPhone was purchased overseas, would that be the problem)? Is it an Apple problem or my carrier (AT&T)?

  • Which programs cretaes the general log texts for TR copies in CRMD_ORDER

    Hi All, After the creation of TR copies in CRMD_ORDER transaction, some texts are displaying under GENERAL NOTE section. Could you tell me which program creates this text and also which table stores this text? Thanks in advance. Arun