Replacing space with special char in reporting

I have created a calculatd Keyfigure where if the consition given in the calculated KF satisfies then it displays 1 otherwise space ,now mu user wants space to be replaced by some special charcter
Example
My ckf is like this overallscore >= 90 & Iam applying count on this
Vendor   CKF
X              1
Y
Z                1
As vendor y is not satsifying the condition its showing with space now I want to replace space with some special char how is this possible

Hi Priya,
You can try this: Instead of space, fill this with a 0. Then in the query properties, set the Show Zero As and give your special char, like may be *. But this will be okay if you do not have other zeros in the report...else you may need to do some VB coding.
Hope this helps...

Similar Messages

  • Replacing space with some char in report display

    dear friends
    hw can i replacs space in report display with char .
    there is disply like
                     site 1    site2   site3
    matnr1           space      10        space
    matnr 2            2        space     space
    site in x -axis  ,matnr in -y-axis.
    i want to replace this space  by some char like nd or ns  etc
    can any one give solution....
    regards
    veera

    hi this my condtion .....
    if the first condtion satisfed i have to replace by ND
    which is now mentioning as space.if send condtion satisifed  having 10(na) in display
    loop at it_final1.
                        read table it_final2 into wa_final2 WITH KEY matnr = it_final1-matnr.
                               IT_RESULT-matnr = IT_final1-matnr.
                               IT_RESULT-WERKS = IT_final1-vstel.
                        if it_final1-LFimg = wa_final2-vsolm.
                             it_result-LFimg = 'nd'.
                            ELSEIF IT_FINAL1-LFIMG < WA_FINAL2-VSOLM.
                                 it_result-LFIMG = WA_FINAL2-VSOLM - IT_FINAL1-LFIMG.
                                 ELSEIF WA_FINAL2 IS NOT INITIAL.
                        IT_RESULT-lfimg = IT_final1-lfimg.
                        else.
                        IT_RESULT-lfimg = IT_final1-lfimg.
                                     ENDIF.
                        COLLECT it_result.
        ENDLOOP.

  • Problem with special chars in BLOB datatype using contains keyword

    Facing problem, when part searching with special chars in BLOB datatype. It is considering the non alpha-numeric chars as a separtor in a provided string
    EX:
    SELECT *
    FROM RESUME_TEST P,grst_candidate d
    WHERE d.candidate_id = p.candidate_id
    AND CONTAINS(P.CAND_RESUME,'%VB.NET%',1) > 0
    Strings: , VB.NET , PL/SQL AS/400 , C etc..
    Followed the below approaches
    1) created a table:
    Syntax: create table resume_Test(cand_id number(10),cand_resume blob);
    2) inserted the values into this table upto 60,000
    3) created a context index
    3.1 created preferences
    Syntax:
    BEGIN
    ctx_ddl.create_preference('try_lexer3','BASIC_LEXER');
    ctx_ddl.set_attribute('try_lexer3','printjoins','-_~!@#$%^&*(){}[],=?\;|><.+');
    END;
    3.2 created context index
    Syntax:
    CREATE INDEX CANDRESUME_CTX_IDX ON resume_test (cand_resume)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS ('LEXER try_lexer3 memory 500M');
    4) while executing this index, it is taking much time approx 6 hrs(plz explain why it is taking time)
    5) Problems:
    5.1 when searching with string(VB.NET , PL/SQL AS/400 , C etc..) it is considering the special char as a separator
    5.2 used escape char (\) also, but no effect
    5.3 when searching with single char, it is giving error (ORA-29902,ORA-20000,DRG-51030)
    5.4 getting the above error with wild card chars (& ,_, (),{},[])
    So, please explain the clear scenarios, why am getting this error , and how to get the proper results.

    Have you tried adding the / char to the printjoin characters?
    Indexing can take a lot of time, depending on the amount of data and your machine's power. You could try to parallelize the index creation and / or assign more memory
    CREATE INDEX CANDRESUME_CTX_IDX ON resume_test (cand_resume)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS ('LEXER try_lexer3 memory 2000M') PARALLEL 8;

  • Filename: Replace spaces with underscores

    Greetings,
    I have searched the forum and online and have not found an
    answer.
    So posting here for assistance.
    What is the proper syntax for replacing spaces in file names
    with under
    scores prior to cffile upload? -or- what is the best method
    to accomplish
    this process?
    Example:
    document name.doc >> document_name.doc
    Thanks
    Leonard

    you can't change the filename before the file has been
    uploaded to your
    server.
    upload a file using cffile.
    #cffile.serverfile# variable will contain the name with which
    the file
    has been saved on your server.
    check if the name contains any spaces using find() cf
    function.
    if it does, use cffile action="copy" to copy the file as a
    file with no
    spaces in the name (use replace() cf function to replace
    spaces with
    whatever you want).
    [you may want to make sure prior to copying the file that
    there is not
    already a file with same name (with no spaces) in that
    folder, otherwise
    the copy action will overwrite existing file]
    delete original file.
    details of all the functions are in the CFML Reference. if
    you do not
    have one - download free from adobe.com
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • Layers to files: replace spaces with underscores

    How can I update the script to replace spaces with underscores on export? I assume I need to add a line somehwere between 183-195 but I don't know what it needs to be. Thanks in advance.

    Where did you get the Layers to files script. Photoshop versions ship with a "Export Layers To Files.jsx" CS6 lines 183-195 look like this I see nothing about filename
      var layerSetsCount = app.documents[docName].layerSets.length;
             if ((layerCount <= 1)&&(layerSetsCount <= 0)) {
                if ( DialogModes.NO != app.playbackDisplayDialogs ) {
                    alert( strAlertNeedMultipleLayers );
                            return 'cancel'; // quit, returning 'cancel' (dont localize) makes the actions palette not record our script
            } else {
                var rememberMaximize;
                var needMaximize = exportInfo.psdMaxComp ? QueryStateType.ALWAYS : QueryStateType.NEVER;
                if ( exportInfo.fileType == psdIndex && app.preferences.maximizeCompatibility != needMaximize ) {
                    rememberMaximize = app.preferences.maximizeCompatibility;

  • Replace spaces with a + sign

    Hi,
    In on of my columns I have a text... I want to replace spaces with a plus (+) sign... something linke this
    select
    text_field,
    Function_replace(text_field, " ", "+") new_field
    from
    table_A

    It's almost that:
    SQL> with table_a as (
      2  select 'abc dd   efg ' text_field from dual)
      3  -- end of sample data
      4  select text_field, replace(text_field, ' ', '+') new_field
      5    from table_a;
    TEXT_FIELD    NEW_FIELD
    abc dd   efg  abc+dd+++efg+
    SQL> edit:
    If you want to replace any number of consecutive spaces for a single + sign, then:
    SQL> with table_a as (
      2  select 'abc dd   efg    h' text_field from dual)
      3  -- end of sample data
      4  select text_field,
      5         regexp_replace(text_field, ' +', '+') new_field
      6    from table_a;
    TEXT_FIELD        NEW_FIELD
    abc dd   efg    h abc+dd+efg+h
    SQL> Edited by: fsitja on Mar 31, 2010 12:27 AM

  • Syncing hebrew notes with icloud distorts them by replacing spaces with exclamation marks. how do i fix this?

    syncing hebrew notes with icloud distorts them by replacing spaces with exclamation marks. how do i fix this?

    I'm syncing my iPhone 5 and my iCloud account. I open the account on my PC with a Google Chrome browser.
    iPhone:
    The same note on iCloud:
    So.. Any ideas?

  • CLOB to BLOB replacing spaces with Â

    I have a CLOB that we are converting to a BLOB using DBMS_LOB.CONVERTTOBLOB and then serving it up as a file using WPG_DOCLOAD.DOWNLOAD_FILE. When you open the file, it is replacing the spaces with a Â.
    Any thoughts?

    Most likely, the spaces in the original CLOB were not regular spaces (0x20) but rather non-breaking spaces (0xA0).
    What's the target encoding used to convert to BLOB? I suppose UTF-8?
    UTF-8 encodes non-breaking spaces as 0xC2A0, where 0xC2 is specifically the codepoint for "Â". So I think the tool you're using doesn't support UTF-8, or doesn't recognize the file as being properly encoded.
    Edited by: odie_63 on 14 août 2012 14:26

  • Replacing spaces with dashes

    Photoshop CS4 is replacing spaces in the filenames with dashes. How do I make it stop doing that?

    in save for web? look at the options. probably set to unix file systems. you know that file names on the web (if that's your intended use) may not contain spaces, rigth?

  • SLM2048 - Password problems with special chars

    Hi all,
    We´ve got a SLM2048 in use  (most current FW) and I wanted to apply our new password standards  onto that switch. So I changed the password of the user admin and used  special chars, which were =&!= and clicked update and save changes. I  now know, that I should have been using only alphanumerical characters,  but why is there no routine that checks the PW for conformance, before  writing it onto the switch.
    Problem now is, that I am unable to login and  don´t want to do a hard reset, because the configuration would be lost. I  know there should have been a rescue admin user, but there is none.  What can I do now? Any chance that a cisco engineer could get in contact  with me to debug the entered password in the lab and who could then  tell me what was saved to ROM or how I can login again?
    Thanks,
    Philip

    If your switch has a console port, you can try this:
    http://www.opendreams.net/jesse/doc/linksys_srw_switch_password_recovery.txt
    http://www.cisco.com/en/US/products/ps9967/products_qanda_item09186a0080a36735.shtml
    HTH,
    Andrew Lissitz

  • HELP : Replacing Space with any character !

    Hi !
    How do I replace any spaces in a strings passed from a FORM INPUT, with a different character.
    I tried doing this
    String s= request.getParameters("info");
    s.replace(' ','_');
    But it keep giving me error.
    it there any simpler way of doign this?
    Thank you
    K

    Hi !
    I am new to JSP,
    It keep giving a null pointer exception when i use it with JSP
    So i did this it work fine on the try section
    and once it is in the catch section it keeps giving me Nullpointer exceptions again.
    IS there any other way replacing the space with a "-" or anything..?
    Thanks for your help.
    here is the code
    String r_space ="";
    try {
         r_space=value.replace(' ','+');
         out.println("r_space : try " r_space "<br>");
    catch(NullPointerException e) {
    System.out.println("Recaught: " + e );
    r_space=value.replace(' ','+');
    out.println("r_space : cathc" r_space "<br>");

  • When generating layers it replaces spaces with underscores

    Hi All,
    I am working now with RH8, and when I am saving projects and give the name, let's say "my file.chm" it replaces the space with an underscore and the name becomes "my_file.chm". Is it possible to do anything about that?
    Thank you

    I think that what I said means you cannot generate with spaces.
    Bug? It has done it that way for several versions and I believe it is important if you are creating merged CHM help.
    Submit a bug request or feature change request according to your point of view.
    Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Need help in using replace function with special characters

    I have a column in a table where the data can contain ascii code for special characters such as an apostrophe.
    The data looks like this:
    CREEK&#39;S LANE
    ie for a street named CREEK'S LANE.
    I want to replace the ascii representation with the apostrophe and have the returned data show up as: CREEK's LANE
    When I try the query below I get prompted for substitution variable value.
    I don't seem to be able to find the right syntax to make this query work.
    SELECT REPLACE (street_name, '&#39;', '''')
    FROM
    streets WHERE street_id = 1
    Does anybody know how to do this?
    Any help would be much appreciated.
    Thanks.
    George

    george91 wrote:
    I have a column in a table where the data can contain ascii code for special characters such as an apostrophe.
    The data looks like this:
    CREEK'S LANE
    ie for a street named CREEK'S LANE.
    I want to replace the ascii representation with the apostrophe and have the returned data show up as: CREEK's LANE
    When I try the query below I get prompted for substitution variable value.
    I don't seem to be able to find the right syntax to make this query work.
    SELECT REPLACE (street_name, ''', '''')
    FROM
    streets WHERE street_id = 1
    Does anybody know how to do this?
    Any help would be much appreciated.
    Thanks.
    GeorgeHa! The codes you specified rendered in the HTML, but showed properly when I listed your original posting above. I didn't understand what you meant initially because the 5-character string represenation got rendered as the quote that you said you weren't able to get - a display problem.
    You're getting prompted for the substituon variable because of the ampersand; you appear to be doing this in SQL*PLUS. The first thing I would try is to SET DEFINE OFF when using the ampersands to see if that works. If That doesn't work check the docs to delmit the ampersand (I think its a backslash before it but can't remember offhand). Another, harder option might be to use the TRANSLATE function replacing the literal character instead of using REPLACE (though replacing a quote will be a little tricky). If you're on 10g also consider using the advanced quoting
    Good luck!
    Edited by: riedelme on May 22, 2009 12:45 PM

  • How to replace substring with a char

    Hi,
    Suppose i have
    String x = "abcdabcd";
    i need to replace string from index 1 till index 2 ( i mean the initial bc) with "T" so that x becomes
    x = "aTdabcd";
    is there any easier way or direct function in Java 1.3 to do that. i was checking sun website but didnt find any.
    Plz guide me. thanks

    public String replaceSubstring(String string, int start, int end, char c) {
    return string.substring(1, start) + String.valueOf(c) + string.substring(end) ;
    }Not sure if its exactly right but you get the idea (cant be arsed checking it). Honestly, try to come up with something before asking

  • Help Needed - replacing space with non-breaking space on the fly

    Hi,
    I have a text field I'm trying to fiddle the input on. Basically I want to replace all spaces (ascii code 32) with non-breaking spaces (ascii code 160) as they are typed.
    It seemed as though a KeyListener was the way to go, and I've successfully detected whenever a space is sent. I can consume() that KeyEvent, or setKeyChar to change it to another key. But I cannot see how to change it to a non-keyboard character.
    Any suggestions?

    i think you can do smt likeDocument doc = mySwingTextComponent.getDocument();
    doc.setDocumentFilter(new MyDocumentFilter());
    class MyDocumentFilter extends DocumentFilter {
       public void remove(DocumentFilter.FilterBypass fb, int offset, int length) throws BadLocationException {
          fb.remove(offset,length);
       public void insertString(DocumentFilter.FilterBypass fb, int offset, String string, AttributeSet attr) throws BadLocationException {
          replace(fb,offset,0,string,attr);
       public void replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attrs) throws BadLocationException {
          text.replaceAll("SPACE","NB WHITE SPACE");
    }asjf
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/text/DocumentFilter.html

Maybe you are looking for

  • Running OS 10.6.8 on external drive (for Rosetta) and OS 10.7.5 (or higher) on internal drive

    I have a mid-2009 13" MacBook Pro (5,5 - Intel Core 2 Duo - 2.26 GHz) with 8 GB RAM. I am currently running on OS 10.6.8. I want to upgrade to 10.7.5 or higher primarily to make use of iCloud, though I'm sure there are other benefits. However, I have

  • Text on Path (k)

    Is there way in Flash to put text on a path. So that text flows around a circle? I imported a PNG that had text around a circle and it popped it back to horizontal. I converted the text to outlines in Fireworks to overcome this, but was hoping there

  • Suggestion on handling cookies using filter

    hi all, in your opinoion haw can handle cookies using filter? I have to capture request towards a delivery enviroment (i can't touch it!) which use cookie to select the appropriate style sheet. As soon as my filter capture the request i would like to

  • Interesting... iPhoto crashes when editing smart album

    Okay, I'm editing a smart album. Every time I add the second rule, iPhoto just locks up when I click OK. Here's what I do: http://web.mac.com/bookofmac/iWeb/Pure%20Bliss/iPics%20problem.html If I just leave off the album rule, it will get all of the

  • Import error: File is not a valid HTML DB export file

    Hi, This is driving me a bit nuts: I have made a change to a page and want to move it to another HTMLDB environment. I have 3 environments, DEV, TEST and PROD, they are all version 1.6.0.00.87. I export the page from DEV, then when I try and import i