Supress zero with space

hi all,
I have a coulmn in my hierchial list display which will have
whose type is CURR , and its values is 0.00 .
my query is i dont want to dispay 0.00 , and it should be space ... how to do it..
things i have done..
i have moved this value to a varaible type 'char' and then moved space to that new variable but it didnt work.
please help.

Hi,
loop at itab into wa.
if wa-price = '0.00'.
continue.
endif.
write:/ wa-price.
endloop.
Regards.
Sriram.

Similar Messages

  • Why Won't Hunspell Work With Zero Width Spaces?

    Hello,
    I was excited to hear that Hunspell dictionaries are now supported in InDesign CS5.5 and I was able to try it out for the first time today.  Unfortunately I ran into some problems when using a dictionary for Khmer (the language of Cambodia - UTF-8 - using the World Composer).
    Khmer does not have spaces between words, and so to get around this issue (for line breaks as well as spelling/grammar checking), we use zero width spaces between words (U+200B).
    The Khmer Hunspell spelling checker dictionary works with zero width spaces in OpenOffice (http://extensions.services.openoffice.org/en/project/khmersbbic - I am the lead author of this Khmer spelling dictionary), but in InDesign (I manually added the dictionary - InDesign uses the Khmer dictionary files fine), the zero width space is not seen as a space that denotes a break between words, therefore words that are correctly spelled are jumbled together as if there are no spaces between them.
    Does anyone know how to get InDesign to recognize a zero width space to be a word seperator for spell checking purposes?
    Example of sentence correctly spelling using zero width spaces between words (But this is viewed as one long word in InDesign): បើសិនជាអ្នកចង់ទៅយើងអាចទៅបាន។
    Example of same sentence with words sperated by "real" space which then allows the Hunspell based Khmer dictionary to correct spelling but makes the text unuseable because Khmer does not have spaces between words): បើ សិន ជា អ្នក ចង់ ទៅ យើង អាច ទៅ បាន។
    Any help would be much appreciated.  I have already submitted a bug report to Adobe, but not sure how much that will help.
    Thanks again,
    Nathan

    Make a character style with the Horizontal scaling set to 1%, and replace your zero width spaces with a regular space and this character style. That way your own spaces will be unharmed.
    nathanwells wrote:
    The only issue is that in a book of 400 pages, 1% might actually add up to something.
    Yes, that's a possibility. However, I suppose your text, even though in Khmerian, is divided into lines and paragraphs and pages as usual, so the chances of actually changing even a single page break are pretty slim.

  • How to padding the zeroes and space befoer sending from XI to R3 system.

    Hi Experts,
       How to padding the zeroes and space befoer sending any data from XI to R3 during mapping, how to write a java code to implement this logic, please help me with the coding or any other alternative.
    thanks
    dhanush

    to pad spaces you need to write a simple UDF
    for right padding use the following
    while( inputField.length() < Integer.parseInt(totalLength))
    inputField = inputField + " ";
    return inputField;
    for left padding use the following
    while( inputField.length() < Integer.parseInt(totalLength))
    inputField = " " + inputField ;
    return inputField;
    Note:in the above examples <i>inputField</i> will be the input to UDF i.e. the sender field which you need to pad and send to receiver , and <i>totalLength</i> will be a constant i.e length of the field you want on receiver side after padding.
    also i m not a Java expert so please check for syntax and semantics for code:) to me it looks correct
    Thanx
    Aamir
    Message was edited by:
            Aamir Suhail

  • Supressing Zeros

    Hi All,
    In my SAP Script Form,for the material number its showing up the leading zeros on the print.I tried using &LTAP-MATNR(Z)&,but it didn't worked out.
    I want to know how to write a subroutine for this and assign this to a integer and send back to the script by supressing zeros.
    For this what declarations do I need and how to do the programing part,Please kindly let me know.
    Thanks in Advance.
    Regards,
    Praveen

    Hi,
    It didnt worked out.
    what I did is
    given command lines in the script
    /: define &gv_matnr = &ltap-matnr&
    /: perform zero_padding_matnr in program zscm_get_mat_no
    /: using &ltap-matnr&
    /: changing &gv_matnr&
    /:endform.
    and in SE38 created a subroutine program .
    *& Form ZERO_PADDING_PO
    FORM ZERO_PADDING_MATNR TABLES TAB_IN STRUCTURE ITCSY
    TAB_OUT STRUCTURE ITCSY.
      DATA : GV_MATNR(10).
      CLEAR GV_MATNR.
      REFRESH TAB_OUT.
      PERFORM GET_VALUE TABLES TAB_IN USING 'GV_MATNR' GV_MATNR.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = 'GV_MATNR'
        IMPORTING
          OUTPUT = GV_MATNR.
      CLEAR TAB_OUT.
      TAB_OUT-NAME = 'GV_MATNR'.
      TAB_OUT-VALUE = GV_MATNR.
      APPEND TAB_OUT.
    ENDFORM. " GET_VALUE
    *& Form GET_VALUE
    -->I_TAB_IN
    -->I_NAME
    -->O_VALUE
    FORM GET_VALUE TABLES I_TAB_IN STRUCTURE ITCSY
    USING I_NAME
    O_VALUE .
      CLEAR O_VALUE.
      READ TABLE I_TAB_IN WITH KEY NAME = I_NAME.
      O_VALUE = I_TAB_IN-VALUE.
    ENDFORM. " GET_VALUE
    but its not working out, where is the mistake.please help me out.
    Thanks so much,
    Praveen

  • Supress zeros data

    Hi,
    I want to supress zero data in my input schdule. How to do supress zero data.
    Cheers,
    Reddy.

    Hi Reddy,
    In fact, it depends of the type of Input Schedule you are using.
    If you are using Dynamic Schedule template or a Input Schedule using EVSND() function, then step-by-step explanation from Vijay should halp you to suppress zeros.
    If you are using EVDRE Input Schedule, after having built it, please unhide the control panel on the left and in the second block of the control panel (defining Parameters and Expansions), you should find a Suppress line. By filling one or several expansion intersections with Y, then you should be able to suppress zeroes by rows/columns.
    There are some other options to suppress zeroes or specific Null values. You can fin this additional information in the BPC Office User Guide, available on the SAP Service Marketplace.
    Regards,
    Julien

  • Bug in the copy cluster roles wizard - CSV reparse points cannot have names with spaces

    Hi All,
    I have identified a bug in the copy cluster roles wizard in 2012 R2, which is preventing me from migrating my clusters from 2008 R2 & 2012 to 2012 R2.
    The bug surfaces when you attempt to copy a VM role from a 2008 R2 or 2012 cluster that has a CSV reparse point name that contains spaces as follows:
    The role appears to copy across fine, but once you've migrated the CSV and brought it online followed by starting the VM, the VM configuration resource promptly fails along with the VM.
    The issue can be spotted inside the copy cluster roles wizard, where it presents itself by removing all text after the first space in the name to read "C:\ClusterStorage\CSV" rather than "C:\ClusterStorage\CSV
    Test Disk 3" as follows:
    The bug only appears for VMs on CSVs with a reparse point name containing spaces - all other scenarios succeed.
    After searching through the registry on the new cluster, you can clearly see that the VM role hasn't been correctly copied.
    It shows a value called SharedVolumeMappings with the data C:\ClusterStorage\CSV|<guid>|<integer>
    Whereas it should show the data C:\ClusterStorage\CSV Test Disk 3|<guid>|<integer>
    If you modify the data in the SharedVolumeMappings value in both
    0.Cluster\Resources\<VM guid> and Cluster\Resources\<VM guid> keys, the VM will start and work correctly.
    The problem for me is that I have many VMs on many different CSVs all with spaces in the names of the reparse point! Its not feasible for me to go through the registry for every copied VM on every node of the new cluster, as this would take a very long time
    and would be prone to errors that could cause further problems.
    Can anyone provide any help on this? A hotfix for the issue would be great, if anyone from Microsoft is reading :-)
    My deadline to get the VMs migrated to the new cluster is the 21st February, so I would really like to have a solution to the problem before then if at all possible.
    Many thanks in advance,
    Tom

    Hi Subhasish,
    Thanks for the reply, glad that its something that is reproducible!
    Do you have any idea of timescale? Or is it likely that I will have to modify the registry as above to get this working?
    If I am going to have to modify the registry, please can you let me know if the resolution I have tested above is safe and viable? Or are there other settings that I will need to change to make the cluster fully aware of the proper path to the CSVs for its
    VMs?
    Also, is there a known procedure for renaming the reparse point whilst VMs are running on it? This would allow me to negate the issue before copying the roles to the new cluster :-)
    Thanks again,
    Tom

  • Problems with spaces in file or directory names and Word.exe

    Hi
    I'm trying to open a file with Word from my java aplication, and I have a problem with some file/directory names.
    I have this
    String cmd = "c:\\Program Files\\Microsoft Office\\Office10\\WINWORD.EXE" + " " + path;
    try {
    Runtime.getRuntime().exec(cmd);
    } catch (Exception errorea){ }
    Here is what happens:
    if path is something like this: "c:\people\info.doc" , there's no problem, Word opens the document, but if path contains blank spaces somewhere, it doesn't work. For example:
    path = "c:\Documents and Settings\info.doc"
    path = "c:\Hi everybody\info.doc"
    path = "c:\tests\test results.doc"
    with the above examples it doesn't work :( Word tries to open "c:\Documents", "c:\Hi" or "c:\tests\test".
    Can anyone help? thanx a lot ! : )

    Hint: use the variant Runtime.exec(String[] args).
    Create a command array, with each token in a separate argument. The entire filename with spaces goes into one argument.

  • [SOLVED] problem with spaces and ls command in bash script

    I am going mad with a bash script I am trying to finish. The ls command is driving me mad with spaces in path names. This is the portion of my script that is giving me trouble:
    HOMEDIR="/home/panos/Web Site"
    for file in $(find "$HOMEDIR" -type f)
    do
    if [ "$(dateDiff -d $(ls -lh "$file" | awk '{ print $6 }') "$(date +%F)")" -gt 30 ];
    then echo -e "File $file is $(dateDiff -d $(ls -lh "$file" | awk '{ print $6 }') "$(date +%F)") old\r" >> /home/panos/scripts/temp;
    fi
    done
    The dateDiff() function is defined earlier and the script works fine when I change the HOMEDIR variable to a path where there are no spaces in directory and file names. I have isolated the problem to the ls command, so a simpler code sample that also doesn't work correctly with path names with spaces is this:
    #!/bin/bash
    HOMEDIR="/home/panos/test dir"
    for file in $(find "$HOMEDIR" -type f)
    do
    ls -lh "$file"
    done
    TIA
    Last edited by panosk (2009-11-08 21:55:31)

    oops, brain fart. *flushes with embarrassment*
    -- Edit --
    BTW, for this kind of thing, I usually do something like:
    find "$HOMEDIR" -type f | while read file ; do something with "$file" ; done
    Or put those in an array:
    IFS=$'\n' ; files=($(find "$HOMEDIR" -type f)) ; unset IFS
    for file in "${files[@]}" ; do something with "$file" ; done
    The later method is useful when elements of "${files[@]}" will be used multiple times across the script.
    Last edited by lolilolicon (2009-11-09 08:13:07)

  • Unable to access files with spaces in the path

    Hi all, I am accessing files which reside on the server using a java applet.
    The typical path of a file could be:
    http://192.168.0.2/agat/data/AF190701 0003.agt
    (not the space in the filename).
    When I try to open this file using a URL object:
    URL file = new URL(filename);
    BufferedReader in = new BufferedReader(new InputStreamReader(file.openStream()));
    I get exception 400 ( I think) whihc I assume is file cant be found.
    However when I rename the file (to get rid of that space) and also change the filename variable to suit. The file is opened as expected.
    What should I do to make the applet able to open paths with spaces? Or is this just not possible.
    I did try including quotes with the special characte precessor:
    filename = "/"http://192.168.0.2/agat/data/AF190701 0003.agt/""
    But this didnt work either, please could someone tell what I need.
    Thanks.

    Thanks guys, although before I got your replies I did the following - it seems to work, but shall try your suggestions.
    while (file.lastIndexOf(" ") >0)
    String temp;
    int num = file.lastIndexOf(" ");
    temp = file.substring(0, num) + "%20" + file.substring(num+1, file.length());
    file = temp;
    }

  • How to access a url in file receiver CC with space in the folder name?

    Hi
    PI 7.11 sp4:
    In a file receiver channel I would like to send the message to this folder:
    de-prod.dk\bu\something\something\PTI eventstanden\archive\"
    But I get this error message:
    "Target directory 'F:\usr\sap\XP7\DVEBMGS02\j2ee\cluster\server0\"\de-prod.dk\bu\something\something\PTI eventstanden\archive"' does not exist"
    My question is: where the f.... does it get the 'F:\usr\sap\XP7\DVEBMGS02\j2ee\cluster\server0\  from, and how can I fix it?
    One issue is the space in the folder name. I have tried to replace the space with %20 and then remove the "" s around the whole url, but without any luck.
    When I log on the server on which Pi is running I can access the folder using the mentioned url including the ""s.
    All suggestions would be highly appreciated!
    MIkael

    > But I get this error message:
    >
    > "Target directory 'F:\usr\sap\XP7\DVEBMGS02\j2ee\cluster\server0\"\de-prod.dk\bu\something\something\PTI eventstanden\archive"' does not exist"
    >
    > My question is: where the f.... does it get the 'F:\usr\sap\XP7\DVEBMGS02\j2ee\cluster\server0\  from, and how can I fix it?
    It comes from the "
    Anything else but \ is treated as local folder under working directory of PI
    > One issue is the space in the folder name. I have tried to replace the space with %20 and then remove the "" s around the whole url, but without any luck.
    It works for me just to copy the folder from Windows explorer into channel config. With space and without ".

  • How to delete the file with space in name

    Hi
    I want to delete the file "test ex.txt" file.
    i run the following command in command prompt.i can delete the file successfully.
    /bin/rm -f /mnt/"test ex.txt"
    I want to run the command from java.So i am using the following code
    String cmd = "/bin/rm -f /mnt/\"test ex.txt\"";
         Runtime rt = Runtime.getRuntime();
    process = rt.exec(cmd);
    The file was not deleted.
    How to delete the file with space in name?
    Help me

    Use the form of exec that takes an array of command + args.
    arr[0] = "/bin/rm"
    arr[1] = "-f"
    arr[2] = "/home/me/some directory with spaces";Or use ProcessBuilder, which is the preferred replacement for Runtime.exec, and which Runtime.exec calls.

  • Error in query " Value '' of characteristic  is not a number with  spaces "

    Hi Gurus,
    I am facing an error in a query with the description:
    Error
    Value '' of characteristic  is not a number with  spaces
    System error in program SAPLRRK0 and form RSRDR;SRRK0F30-01-
    Description
    This error is occuring in Production system only, the report is running fine in Development environment.
    The error is also visible when I execute it in RSRT, I am not able to find the cause of error through RSRT.
    Can anyone please help me with the possible solutions.
    Thanks & Regards,
    Shreyas

    Hi Juergen,
    thanks for the input, I tried to run the report after loading the master data but still there was no improvement.
    I am not sure why this kind of problem is rising, some of the similar reports on same infoprovider are running fine.
    Please let me know if you know anything about the cause of error.
    Thanks & Regards,
    Shreyas

  • Handling flat file conversion with spaces inbetween  at sender side

    Hi,
       I am facing some problem in configuring the sender JMS adapter file content conversion. Please find the structure of my file below
    010AG  07/17/2007 000130800 TOZ07/17/200710:48:46
    010AU  07/17/2007 006682800 TOZ07/17/200710:48:46
    010-Record key
    AG-Metal code
    07/17/2007 -price Date
    000130800 -pricevalue
    TOZ-Unitofmessure
    07/17/200710:48:46-Unitofmessure
    there are 2spaces inbeween 1and 2nd fields and one space beween 2nd and 3rd ,one space between 3rd and 4th fileds
    I declared my source data strucute like below
    <source_MT>
    <PriceData>
         <Metal code>
          <price Date>
          <pricevalue>
          <Unitofmessure>
           <shipDate>
    </priceData>
    </source_MT>
    I am using this PDF to configure my serder communication channel https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b7
    . but i got struck up in declaring these two fields as i need deal with spaces.
    xml.NameA.fieldNames
    xml.NameA.fieldFixedLengths
    It would be great if sombody tell me how ican decalre content conversion rules for the file
    Thanks
    sudheer

    Hi,
    Please check some links on FCC.
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    File Receiver with Content Conversion
    Content Conversion (Pattern/Random content in input file)
    NAB the TAB (File Adapter)
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    How to send a flat file with various field lengths and variable substructures to XI 3.0
    Content Conversion (Pattern/Random content in input file)
    NAB the TAB (File Adapter)
    File Content Conversion for Unequal Number of Columns
    Content Conversion ( The Key Field Problem )
    The specified item was not found.
    File Receiver with Content Conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    Phani

  • Export Excel Table in .txt File with space delimited text in UNICODE Format

    Hi all
    I've a big unsolved problem: I would like to convert an Excel table with some laboratory data in it (descriptions as text, numbers, variables with some GREEK LETTERS, ...). The output should be a formatted text with a clear structure. A very good solution is
    given by the converter in Excel "Save As" .prn File. All works fine, the formattation is perfect (it does not matter if some parts are cutted because are too long), but unfortunately the greek letters are converted into "?"!!!
    I've tried to convert my .xlsx File in .txt File with formatting Unicode and the greek letters are still there! But in this case the format is not good, the structure of a table is gone!
    Do you know how to save an Excel file in .prn but with Unicode formatting instead of ANSI or a .txt with space delimited text?
    Thanks a lot to everyone that can help me!
    M.L.C.

    This solution works in Excel/Access 2013.
    Link the Excel table into Access.
    In Access, right-click the linked table in the Navigation Pane, point your mouse cursor to "Export", and then choose "Text File" in the sub-menu.
    Name the file, and then under "Specify export options", check "Export data with formatting and layout".  Click "OK".
    Choose either Unicode or Unicode (UTF-8) encoding.  Click "OK".
    Click "Close" to complete the export operation.

  • Photoshop not working with "Spaces"

    Whenever I try to view multiple, open photoshop documents with spaces, I'm unable to see each document in their assigned space. Anyone else having this problem?

    I apologize, I meant to say the "all windows" function. All of my open photoshop documents will only show up as a white and gray checkerboard image.

Maybe you are looking for

  • ITunes won't install because of error 1327

    I'm really in need of some major help. My iTunes won't connect to the music store, and when I tried to update it, it says there's Error 1327, something wrong with my E drive. Only problem is that I don't have an E drive and no longer have the flash d

  • Transfer of Service master short text  from PR to PO

    Hi All, We have a scenario where we use Generic service number to order one time services. Based on the requirement we keep on changing the short text (description) of the service master in PO or Purchasing requisition. The issue is - Short text on g

  • How to set multiple styles on a tree component?

    Hi. I really need help...i wanted to know hot do i set multiple styles on e tree component using actionscript2.0...i need to change color, font size and font weight...Thanks for the help in advance

  • Function module parameters for L_TO_CREATE_TR

    Hi All, Can someone help me out in using the function module 'L_TO_CREATE_TR'. What are the necessary import and export parameters along with the table parameters? If i want to pass IT_TRITE (table) as export parameters, what are the requisite fields

  • Accessing Discoverer...

    Could anyone tell me how to connect to Discoverer via Oracle9iAS??