Blank Space displayed as # character - Smartform

Hi Guys,
I am facing a strange issue in printing a smartform. I would like to have any expert advice on the same.
I am displaying the VAT no on the PO form and the VAT No is like this '110 012'. There is space between 110 and 012, it is a single field value. But when I take a print preview or a printout. It is showed as '110#012'.
When I check it in debug mode, it does not display the # sign. The domain for VAT No is STCEG which is a character field.
Please let me know if anyone has any solution for the same.
Thanks,
Mayank

Hurraaaaaaaay..
And here goes the solution..
Sometimes the solution is as simple as that. And the reason was the same..what Stu said. I tried his solution and it worked.
Thanks a lot Stu !
Regards,
Mayank

Similar Messages

  • How to delete blank space from value of Infoobject in the transfer rule

    does anyboady know how to write a routine in the transfer rule in order to delete ending blank spaces from value of Infoobject 'ORDTEXT'. E.g. value: 'ABM    '?  After routine, the result should be 'ABM'.
    Thanks for any input.

    Deleting 'ending blank spaces' from a character type field (ie info-object or text) in SAP is not meaningful. For all usage, a char type field of length 8 having value  'ABM     '  is same as 'ABM'.
    Ok, HTML is changing the display in the above, so let me restate it
    For all usage, a char type field of length 8 having value  'ABM_____'  is same as 'ABM', take the underscore character (_) in the first string as a placeholder for space character.
    Edited by: Ajay Das on Jul 29, 2009 12:07 PM

  • How can I change a string to a numeric when the numbers are separated by blank spaces?

    I would like to change a list of numbers in string to a list of number in numeric like in the attached vi. Unfortunately, the numbers are not separated by commas but by blank spaces. Which character can I use for the blank space?
    Ninskaya
    Attachments:
    readcommdelim.vi ‏19 KB

    Why don't you just use the Spreadsheet String to Array function instead. You can specify any delimiter you want. See the attached picture.
    Attachments:
    string_to_array.jpg ‏6 KB

  • Change Filenames with blank spaces in the Filename

    I want to change many filenames with blank spaces and replace
    blank spaces with underbar character.
    Example:
    File One change to File_One
    File Two change to File_Two
    Here is my script:
    for file in `ls`
    do
    i=`ls -1 *" "*`
    b=`ls -1 *" "* | sed -e s/\ /_/g`
    done
    mv "$i" $b
    Please advise what is wrong with my script that isnt
    working. The script works if I only have one filename
    with a blank space. But if I have several filenames
    with blank spaces in the name then it doesnt work.

    I want to change many filenames with blank spaces and replace
    blank spaces with underbar character.
    Example:
    File One change to File_One
    File Two change to File_Two
    Here is my script:
    for file in `ls`
    do
    i=`ls -1 *" "*`
    b=`ls -1 *" "* | sed -e s/\ /_/g`
    done
    mv "$i" $b
    Please advise what is wrong with my script that isnt
    working. The script works if I only have one filename
    with a blank space. But if I have several filenames
    with blank spaces in the name then it doesnt work.

  • Error Blank spaces smartforms

    Hello,
    I have an smartform who recibes a table of char255 lines. The only thing I do is a loop over it and show each line.
    My problem is I have some lines with a lot of blank spaces (for example"01                    7,50     10,30") and on the screen those spaces doesn´t fill the same space each char so it get shown with bad format.
    Do you know why is this happening??
    Rgds
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Dec 17, 2009 11:43 AM

    You may display the OTF spool in RAW mode so that to make sure that the COURIER font has been used (because it might have been automatically replaced by SAP, if your device type does not allow COURIER, see SE73 printer fonts and also "Font conversion" button which converts all existing system fonts).
    Moreover, if you use SAPWIN, SAPlpd program may have a replacement font defined for Courier, run saplpd.exe manually and check this option.

  • Since upgrading to Mavericks, 10.9.1, pictures that come attached to emails no longer display.  There is only a blank space that after about 1 minute, has a small box with a question mark.  How can I go back to attached images?

    Since upgrading to Mavericks, 10.9.1, pictures that come attached to emails no longer display.  There is only a blank space that after about 1 minute, has a small box with a question mark.  Double clicking on the box will open the image in a separate window.  It's very slow and tedious for multiple images.  How can I go back to attached and displayed  images?  If I click on "Forward", the images appear instantly in the email to be forwarded.

    Scott,
    My problem seemed to fix itself.  Or, by shutting down the computer one night, instead of putting it to sleep, may have reset something.  Since updating to Mavericks, I always (or usually) let the computer sleep overnight or anytime I'm walking away from it.  A few days ago, I was updating notes for my kids about how to find all my stuff and how to turn on my computer, so I wanted to rewrite the start-up procedures for the iMac, just in case they ever need to.  Well, I shut it down one night so the following morning, I could write down each step.  Lo and behold, the images, etc. are all there again!  Solved, but I'm not sure why.
    Tom

  • How to replace a character in a string with blank space.

    Hi,
    How to replace a character in a string with blank space.
    Note:
    I have to change string  CL_DS_1===========CM01 to CL_DS_1               CM01.
    i.e) I have to replace '=' with ' '.
    I have already tried with <b>REPLACE ALL OCCURRENCES OF '=' IN temp_fill_string WITH ' '</b>
    Its not working.

    Hi,
    Try with this..
    call method textedit- >replace_all
      exporting
        case_sensitive_mode = case_sensitive_mode
        replace_string = replace_string
        search_string = search_string
        whole_word_mode = whole_word_mode
      changing
        counter = counter
      exceptions
        error_cntl_call_method = 1
        invalid_parameter = 2.
    <b>Parameters</b>      <b> Description</b>    <b> Possible values</b>
    case_sensitive_mode    Upper-/lowercase       false Do not observe (default value)
                                                                       true  Observe
    replace_string                Text to replace the 
                                         occurrences of
                                         SEARCH_STRING
    search_string                 Text to be replaced
    whole_word_mode          Only replace whole words   false Find whole words and                                                                               
    parts of words (default                                                                               
    value)
                                                                               true  Only find whole words
    counter                         Return value specifying how
                                        many times the search string
                                        was replaced
    Regards,
      Jayaram...

  • Af:inputText problem : how to display text containing blank spaces

    Hi,
    I have a inputText in af:table with clickToEdit mode, when I commit a value from input text
    for e.g
    "This is______________ a ________text with_________lot________of_______blank spaces"
    (_ undescore represents spaces)
    it get saved perfectly fine to db, but when I am in display mode , it removes all spaces leaving one space
    "This is a text with lot of blank spaces"
    seems like problem is with while displaying, component is not rendering more than one blank spaces
    Message was edited by:
    user626222

    Hi Frank,
    Thanks for your response,
    I am using inputText in af:table with editingMode="clickToEdit"
    so, when its in edit mode, it deplays the correct value as its saved in db
    as soon as you come back to view mode , it eliminates extra spaces replaces with one space
    Thank you

  • Getting a 0 to display instead of a blank space in query

    Hi Experts
    My colleague has been writing a query in SAP to show when a delivery was late or early etc, the problem we have is when the 2 dates match signalling that it was neither early or late, it displays a blank space, is there a way he can get it to display a 0 instead?
    Edited by: Cunningham David on Aug 11, 2010 11:37 AM

    SELECT T2.WhsCode, T2.BaseRef AS SONum, T2.ItemCode, T2.Dscription AS Description, T2.Quantity, T2.ShipDate AS ReqdDespatchDate, T2.ActDelDate AS ActDespatchDate,
    ((DATEDIFF(dd, T2.ShipDate, T2.ActDelDate))
      -(DATEDIFF(wk, T2.ShipDate, T2.ActDelDate) * 2)
      -(CASE WHEN DATENAME(dw, T2.ShipDate) = 'Sunday' THEN 1 ELSE 0 END)
      -(CASE WHEN DATENAME(dw, T2.ActDelDate) = 'Saturday' THEN 1 ELSE 0 END))
    AS [Early/Late], T1.CardCode, T1.CardName
    FROM   dbo.DLN1 T2 INNER JOIN  dbo.ODLN T1 ON T2.DocEntry = T1.DocEntry
    WHERE T2.ActDelDate Between '[%0]' and '[%1]' and T1.DocType = 'I' and T2.[ItemCode]  Like '%.____.__' 
    UNION
    SELECT T2.WhsCode, T2.BaseRef AS SONum, T2.ItemCode, T2.Dscription AS Description, T2.Quantity, T2.ShipDate AS ReqdDespatchDate, T2.ActDelDate AS ActDespatchDate,
    ((DATEDIFF(dd, T2.ShipDate, T2.ActDelDate))
      -(DATEDIFF(wk, T2.ShipDate, T2.ActDelDate) * 2)
      -(CASE WHEN DATENAME(dw, T2.ShipDate) = 'Sunday' THEN 1 ELSE 0 END)
      -(CASE WHEN DATENAME(dw, T2.ActDelDate) = 'Saturday' THEN 1 ELSE 0 END))
    AS [Early/Late], T1.CardCode, T1.CardName
    FROM   dbo.INV1 T2 INNER JOIN  dbo.OINV T1 ON T2.DocEntry = T1.DocEntry
    WHERE T2.BaseType = 17 AND T2.ActDelDate Between '[%0]' and '[%1]' and T1.DocType = 'I' and T2.[ItemCode]  Like '%.____.__'
    Edited by: Cunningham David on Aug 11, 2010 5:16 PM

  • Plz reply urgent!!!!!!!!!!!!!!!!!!!displaying the blank space with $0

    Hi all,
    Plz help Its very urgent!!!!!!
    I have a requirement to show the data of consecutive two months in the report with the difference of two months in another column "variance".
    ex: mm1/yyyy , mm2/yyyy, variance = mm1/yyyy-mm2/yyyy
    I have made a new selection "&MNTH / Amount" , where in it calculates the prior month with the amount. On the new selection i need to make the amount = amount*-1 and display $0 whenever there is a blank space.
    I tried achieving this with a customer exit, but could not succeed.
    the final output should show
    mm1/yyyy = prior month amount
    mm2/yyyy = current month amount
    amount needs to show negative value
    the blank space should be filled with $0
    Thanks
    rani
    Edited by: rani on Dec 27, 2007 2:08 PM

    hi
    to show negative values for amount
    Select mm1/yyyy & mm2/yyyy one by one .
    Then in the properties hit the DISPLAY tab.
    Then look for SIGN CHANGE.
    Use "REVERSE SIGN"
    do it for both keyfigures
    Secondly,
    Hit QUERY from the menu and then select properties
    Go to Value Display tab
    Here select Zero instead of space or Zero with currency unit....
    Try following options until u get required output.
    Let me know.

  • How to Remove Blank spaces in the text elements for a smartform

    Hi All,
    Can any one please help me out to remove the blank spaces in the text elements.
    We are printing Labels using the Zebra Printer and we have rotated the windows to 90 degrees.
    We are able to see out text and barcodes. But the issues is when we are printing the label. We are getting spaces in the Text and in the Text elements fields. I have tried to give &g_name(C)&. But it is not working even i worked with style sheet spaces no luck.
    Currently out text and fields are printing like this
    s h r i y a n
    material number
    1111  -001  -000
    They should print like
    shriyan
    1111-001-000
    According to the ZEBRA suggestions we are using the font helve.
    Plase help us it is very urgent.
    Reward point will be given.
    Thanks

    Hi,
    Just use Condense g_name inside the program lines.
    Just to see how it behaves put a hard breakpoint.
    Break Username. and check the condense statement.
    condense <your field> no-gaps.
    Create program lines ahead of printing. give the field you want to condense in the input and output parameters of the program lines.
    Use condense inside the program lines.
    Thanks,
    Vamshi.

  • Assign blank space to numeric variable

    Hi
    val1 type numc.
    In the invoice programe, we are showing the free issue qty.
    free issue qty is assign to the val1.
    if val1 = 0
    i need to print blank value in the smartform .
    so i need to assign blank space to the val1 (type numc).
    for the blank purpose i m using below code.
    currently val1 type string.
    CONCATENATE '' '' INTO val1 RESPECTING BLANKS.
    rgds
    pramod

    Hi,
    There are 2 ways viz:
    1. Define another variable val2 with type char. Put a check if val1 = 0 then pass the value of val1 into val2.
    2. In smartforms  I hope you are displaying free issue qty by a text element. Double click on the text element. Go to 'Conditions' tab and put a check If val1 NE 0 or val1 NE INITIAL.
    This means free issue qty will be displayed as a blank space if val1 having 0 value and free issue qty will have some value if val1 is not equal to 0.
    If you are using smartforms you can go for option 2. Hope this clarifies.
    BR,
    Atanu
    Edited by: Atanu Mukherjee on Jul 28, 2011 11:45 AM

  • Blank spaces in alv report

    hi experts,
    i have a requirement that i need to develop a report which is same as t-code cs11,
    but in cs11 we are getting the report for a single material and its bom components  .
    in my require ment  i need to develop a report for range of materials, i almost did that but the problem i am facing
    is how to obtain a blank space in alv report, after completion of single material  and its components r displayed.
    can any body pls suggest me.
    thanks&regards
    maheshlap

    hi srihari,
    i tried that but the blank lines r appending at the end of internal table.
    the following is the table ( t_main ) i am passing to the function module
    LOOP AT T_STKO INTO W_STKO.
        W_MAIN-STLNR = W_STKO-STLNR.
        W_MAIN-STLAL = W_STKO-STLAL.
        W_MAIN-STLST = W_STKO-STLST.
        W_MAIN-BMENG = W_STKO-BMENG.
        W_MAIN-BMEIN = W_STKO-BMEIN.
        READ TABLE T_MAST INTO W_MAST WITH KEY STLNR = W_STKO-STLNR .
        W_MAIN-MATNR = W_MAST-MATNR.
        W_MAIN-WERKS = W_MAST-WERKS.
        W_MAIN-STLAN = W_MAST-STLAN.
        READ TABLE T_MAKT INTO W_MAKT WITH KEY MATNR = W_MAST-MATNR .
        W_MAIN-MAKTX = W_MAKT-MAKTX.
        APPEND W_MAIN TO T_MAIN.
        CLEAR W_MAIN.
      ENDLOOP.
    can u pls send me some sampe code.
    thanks.

  • Instead of showing 0 in report its getting blank space

    Hi Sap Gurus.
    I am running the query in rsrt, in my report i am getting instead of 0 values it is showing Blank space. But in my source data there is value is 0. But when i execute the query its getting blank space. How to over come this problem.
    could u please let me know.
    Best Regards,
    venkat.

    Hi,
    Check out this.. it might solve your issue.
    in Query Properties
    Tab: value display >> Zero value Display >> Select "zero as Default Text"  under Display Zeros
    And Tab:  Rows/Columns >> Supress Zeros Option  >> "Do not Supress"  is selected.
    Thanks
    Jitu
    Edited by: Jitenderkumar Danduvia on Feb 23, 2010 12:45 PM

  • How do I clear the blank space between content and footer?

    In the process of revising a Muse website, I deleted some content from one of the pages and revised the content that remained on the page. Now I have a blank area between the bottom of the revised content and the top of the footer, and I can't seem to get rid of the blank space. It doesn't appear that there are any text blocks or other images in that area, so I can't find any objects to delete. Help?
    The website is currently published in a draft mode for client review. You can examine it at: http://page7creative.com/clients/coremove_jun2012draft/retreats.html. The page in question is the Retreats page. Restarting Muse made no difference. I work on the Mac platform.
    Before I sent this post, I decided to try creating a new page, then copy/paste the content onto the new page, and save the Muse site under a different name. Lo and behold, the page (and the site) works like it should...without any extra space above the footer on that page. It would appear that something went astray when I deleted content on that page. I can use the new page to get the site working properly, but decided to go ahead and send this post so that you can look at the page code and perhaps see what is wrong that is causing the blank space...in case I ever run into this again.
    Thank you.
    pyxis83

    Thanks for sending your file.
    There is a graphic at the bottom of the content area of the Retreats page that's been cropped to a size of zero width and 2 pixels in width.
    Unfortunately, there's a bug with pointer tool drag selection (aka marque selection) that prevents it from selecting an item that has zero width or zero height. Therefore the easiest way to select this item to delete it is to select any other item on the page, then hit the tab key repeatedly to cycle through every item on the page. When you get to this item you should see a little pile of selection handles at the left edge of the third column and right at the bottom of the content area. The width and height will display as zero and 2. Delete this item and the page will resize to fit the remaining content.

Maybe you are looking for

  • Automatic creation of Batch using mvt type 311

    when i am trying to transfer material from one storage location to another using mvt type 311. the system is not creating the batch automaticcally. I have already maintained allthe basic configuration required for this.even in IMg ->logistic general-

  • Connection Reset issue in Weblogic 8.1

    Hi, We have an application running on weblogic 8.1. Please let men explain the steps that we carried out: 1. A new user was being enrolled through the applciation. 2. To make the connection object the value of the properties DriverClass, ConnectionUR

  • Use of Tcode SE54..

    Hi SDNers, Could anyone explain what is use of the Tcode SE54 and why do we use it? Regards, Ranjith N

  • Export/import to clone database -- please advise

    Hi All, Need help especially from exports that are strong in export/import. can someone advise me how to use export/import to clone a database? I know how to clone database using cold backup and hot backup. But wish to know the full steps in using ex

  • Doubt in duty values (CIN)

    Hi All, When I try to capture excise invoice in J1IEX for GR number the duty values are showing in percentage and not in amount. Kindly let me know what is the change to be done show that it will show the amount. Thankyou