Problem with thousands separator

Hi,
I'am working on dunning letters print and i've a problem with the thousands separator.
Data is stored in a table field typed CURR. The intern format is 119600,60
When i print directly this value on my SmartForm, there are many blanks before the number, corresponding to the size of the variable (15 caracters). I don't know hax to remove this blanks.
I tried to change the type of the variable by moving the value into a CHAR variable. The result is better : the blanks have been cleared out but unfortunatelly, the thousands seperators too.
Does someone know how to put the value of a variable typed CURR in a string or a char variable with thousands separators ?
To sum up my query :
The CURR variable contains 119600,60
I want a String or a char variable containing 119 600,00
Thanks a lot
regards
Edited by: Larrière Dorian on Jun 19, 2008 11:53 AM

Hi...
write : wf_cu LEFT-JUSTIFIED.
This state ment removes the blanks at the beginning....
The wf_cu may be of curr type
Edited by: Rudra Prasanna Mohapatra on Jun 19, 2008 12:08 PM

Similar Messages

  • Amount field with thousand separator

    Hi friends,
    i want to display amount field (5794.00)with thousand separator as (5,794.00).
    i defined amount field as character data type for my requirement.
    user want to see this value with thousan separator.
    Please help me hoe can i get thousand separator.
    Thanks
    ramesh

    Hi Ramesh,
    There is two functions for converting display currentcy
    CURRENCY_AMOUNT_SAP_TO_DISPLAY
    Convert currency value from value stored in SAP to displayed currency
    CURRENCY_AMOUNT_DISPLAY_TO_SAP
    Convert currency value from displayed currency value to value stored in SAP
    Try below,
    DATA declaration
    WMTO_S-AMOUNT =  Type DEC :: length 15 :: Deciamls 4
    parameter: p_discur like TCURC-WAERS,     "Display currency
               p_intval like WMTO_S-AMOUNT.   "Internal Amount
    data:      gd_disval  like WMTO_S-AMOUNT. "Display Amount
    *Start-of-selection.
    START-OF-SELECTION.
    CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_DISPLAY'
         EXPORTING
              currency        = p_discur
              amount_internal = p_intval
        IMPORTING
             AMOUNT_DISPLAY   = gd_disval
        EXCEPTIONS
             INTERNAL_ERROR   = 1
             OTHERS           = 2.
    IF sy-subrc EQ 0.
    You are now able to manipulate the returned value.
                            I.e. Convert it to GBP
    Without using this function module you would only be manipulating the
    SAP stored value, which is often missing a number of zeroes.
          I.e. 28000 JPY is stored within SAP as 280.
    ENDIF.
    *End-of-selection.
    END-OF-SELECTION.
    write:/(30)  'Value stored in SAP:', p_intval,
          /(30)  'Displayed currency:',  p_discur,
          /(30)  'Ammount is displayed Currency:', gd_disval.
    Hope it help
    Wiparat

  • Problem with thousands and decimal  separator (Excel 2000)

    Hi, i have a problem with the download option to excel 2000.
    When downloading numbers over 1000 the thousands separators change in decimal separators.
    My config is:
    Locale (location): Español - España
    User Interface Language: Español
    For example, if I have a value as 1800:
    1) in OBIEE show "1.800" (ok)
    2) in Excel 2000 show "1,8" (bad)
    If i choose Locale (location): English - United Stated and
    User interface language Español.
    1) in OBIEE show "1,800" (bad)
    2) in Excel 2000 show "1.800" (ok)
    Can someone help me solve my problem?
    I need to show the same result in OBIEE and Excel, that is, "1.800" with "." not with ",".
    Thanks

    Hi,
    The thousands separator change in the backend dind't work. (+ it only works for text input fields, not for text fields)
    Anyhow, this is how we created a workaround :
    Suppose we did this : <b>NSTR(@CREDITLIMIT,"C.2")</b>
    This resulted in the field being displayed as <i>67,234.56</i>
    The 'dirty' way to convert this to an european format is :
    <b>REPLACE(REPLACE(REPLACE(NSTR(@CREDITLIMIT,"C.2"),",",";"),".",","),";",".")</b>
    Output is <i>67.234,56</i>
    (we just replaced the '.' by ',' and vice versa)
    I still feel quite uncomfortable with this solution, but this is the only way we got it to work.
    I really hope a next patch/servivepack provided a more elegant solution for this problem... (hint hint)

  • Problem with Data Separation in SOLMAN 71.

    We are using Data Separation in SOLMAN 7.1 SPS10  to control the Solutions that our customers can work with in MOPZ. It works fine in most cases, but we have found some customers that can see the right Solution but, when they search for the associated product versions with the match code, no product appears. We have also found that, if we try to access these product systems from SMSY, no system appears. Taking a look at the product systems with LMDB, the field Business Partner (customer) is empty. I think it is the reason why the systems do not show. But I have tried to change it in the LMDB but, although it lets me assign the correct Partner and save it but, when I close the LMDB and call it again, the field is empty. It seems as if the change was not saved. I have tried to do it also with data separation inactive but, in this case, the field does not even appear in the LMDB. Maybe it has to be changed somewhere else, not here. Has anybody had this problem? Any help wil be appreciated.
    Best regards,
    Jose

    Hola Lluis,
      I have applied the note that you suggested, but it did not solve the problem. It is strange because, in the Product System Editor, when I add the BP and save, if I go back to the LMDB initial screen and select again the same system, or even a different system, and then go back to the one I have modified, it still shows the right BP. But once I close the LMDB windows and call it again, the BP has disappeared.
    Thanks anyway for your help,
    Jose

  • Issues with thousand separator

    Hi all. can anyone help me. In my PDF form i create a numeric field. I set numeric format with these parameters:
    Decimal places = 0
    Separator style = 1,234.56
    Currency symbol none.
    but for all that feild displayed value as "1234.00". to remove zeros i add javascript for this field: this.getField('1').value=0+this.getField('1').value; Now it show like "1234". but I'm still looking for solution to show thousand separator. Please help

    It doesn't help. I forgot to say 1 detail. field works fine when I change value manualy in Acrobat, but I use web service to fill data in pdf (when it done the file becomes read-only). and when pdf is filled I don't see separator

  • To show the data from BI query in bar graph with thousand separator

    Hello Experts,
       I am using Visual composer 7.0.I have designed an application where i have user BI query to show data as a bar graph.I have roundoff the data to 2 places of decimal an i have to show the data with thosand separator as well.
    i am using the formula
    NVAL(NSTR(@Actual_value,"C.2"))
    Where @Actual_value is a value which comes from BI queryand is to be displayed as a bar graph.
    Points will be awarded for reply.
    Thanks ,
    Rakesh

    Hi Rakesh,
    I have found some links which may help you.
    http://help.sap.com/saphelp_nw70/helpdata/en/38/2d9b732beb4c68bba2962602a7d6bd/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/26/64fb472a144a0dbaf88f5ec75d9270/content.htm
    http://oregonstate.edu/dept/computing/warehouse/PDF/8-reports.pdf

  • Problems with film separation

    When I run the same job the film using CS5 or CVS4 the film separation is differently.  The screens aren't the same,  It looks like the is a profile that effects the film while running using CS5. I have check and under Color setting -Preserve Numbers (Ignore Linked Profile) is selected in CS5. I have saved thge image in Photoshop  with "Embed color Profile" selected and deselected. I have changed the profile to the usual U.S. Web Coated. I am out of ideas, any suggestion would be helpful.
    Thanks

    CS4 color setting click on save
    CS5 load the .csf file you saved
    That will eliminate color settings as part of the problem, but somehting else may be the cause.
    Without seeing what the area of you artwork look like there are too many other possibilities: transparency flattening, doc ras effect setting, is it in your rip or in the file. How are you saving and ripping your files? What is different about the screens the density, rotation, dot shape.

  • Sender File Adapter - Problem with field separator

    Hi,
    I want to upload a CSV file into XI.
    The file contains a text part which uses from time to time quotation marks like this:
    SD,575757,383838,N/A,XYZ,"This is a text part",7676
    But besides there are lines like this:
    SD,575757,777722,N/A,XDE,FREETEXT,7575
    Has anyone any idea how to configure the file adapter to get it recognize the quotation marks not as field separator?
    I've already tried the enclosureSign parameters but that leads to an total unconverted line.
    Is it maybe possible to customize two field separators like this:
    Structure.fieldSeparator - ,"
    Thanks for any answer,
    Christina

    No, it doesn't work.
    I've specified now:
    Structure.fieldSeparator        ,
    Structure.enclosureSign         "
    Structure.enclosureSignEscape   ""
    Every line without quotation marks is converted fine. Lines with quotation marks stay like in the original CSV file and the whole line is put into one XML tag (still comma separated).
    Also the parameter fieldContentFormatting - nothing doesn't make a difference.
    Other ideas?

  • Problem with End separator in Sender FCC channel

    Hi Experts,
    If i use a special character as field separator it is working.The same character is not recognized as end separator.
    We tried all different options ,still its not working.
    Thanks,
    Karthikeyan.

    Hi Aamir,
    We tried with single quotes and also as Hex values too.
    As mentioned earlier, it is working as Field separator not as end separator.
    Thanks,
    Karthikeyan.

  • Problem with decimal separator

    How to change default settings for decimal and group separators?
    Example:
    - 10g database
    - APEX v.3.1.2.00.02
    0.00: S H O W: application="1" page="6" workspace="" request="" session="1327891581523707"
    0.00: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: hr
    0.01: alter session set nls_language="*CROATIAN*"
    0.01: alter session set nls_territory="*CROATIA*"
    0.01: NLS: CSV charset=*EE8MSWIN1250*
    *0.01: ...NLS: Set Decimal separator="."*
    *0.01: ...NLS: Set NLS Group separator=","*
    - 11g database
    - APEX v.3.1.2.00.02
    0.00: S H O W: application="1" page="6" workspace="" request="" session="124256584707880"
    0.00: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: hr
    0.00: alter session set nls_language="*CROATIAN*"
    0.00: alter session set nls_territory="*CROATIA*"
    0.00: NLS: CSV charset=*EE8MSWIN1250*
    *0.00: ...NLS: Set Decimal separator=","*
    *0.00: ...NLS: Set NLS Group separator="."*
    Both applications are same and in both applications Application Primary Language globalization attribute is set to Croatian (hr) but I'm getting different decimal and group separators.
    Querying v$nls_parameters view I saw that, in first case NLS_NUMERIC_CHARACTERS parameters are set same on database and apex ('.,') but in second case they are different. On database is '.,' but on apex application ',.'
    Why?
    Please help!

    Make changes in the regional configurations of your PC.
    Maybe its solve your problem.

  • Problem with time separator and other separators

    When trying to browse a java-based website (ok, trying to play java games.. :P), the time separators go wrong. That is to say, instead of the separator, the browser shows <* separator>. For example, if the game is supposed to show time 1.12 it give 1<time separator minute>12
    I find this rather annoying, and would be very grateful, if someone gave me advice. Thx already

    Contact the game provider.

  • Receiver File content conversion problem with newline separator

    Hello Experts,
    My scenario is IDOC To file..At output we are generating an csv file wherein we have got records in new line.
    somethng like these..
    ITEM1,ITEM2,ITEM3
    ITEM1.ITEM2,ITEM3.
    But when i open these csv file using notepad,we are getting records in same line.
    i.e item1,item2,item3item1,item2,item3
    Also we have specify in FCC,endseparator value as 'nl'
    My target structure is somethng like these,
    MT_PRODUCT_MASTER
       -Product master
          -item1
          -item2
    Pleasee advise.

    What is exactly parameter that you have set on channel?
    endSeparator = 'nl'
    NameA.endSeparator
    If you enter a character string here, the system adds it to the last column as a closing character. You can also make this specification in addition to NameA.fieldFixedLengths. To include a line break following the closing character, you must explicitly define it by attaching ´nl´ (including the quotation marks) to the string.

  • How to print thousands separator on a report.

    Hi everybody,
    I am trying to print a report with thousands separator but I'm not able to do it.
    I tried using the currency addition to the write statement but doesn't work.
    Any help will be appreciated.
    Orlando.

    Hi orlando,
    1. It comes by default.
       - thousand separators.
    2. just try this.
    report abc.
    data : m type p decimals 2.
    m = '1500.66'.
    write :/ m.
    m = '765123.66'.
    write :/ m.
    m = '9765123.66'.
    write :/ m.
    regards,
    amit m.

  • Has anyone else had a screen separation problem with the ipad?

    Has anyone else had a screen separation problem with the ipad?

    Does it really matter whether anyone else has? If you have, that's a problem for you whether or not anyone else has experienced the same issue. Call Apple tech support or take the iPad to an Apple Store, if there's one in your area, and they'll replace the iPad unless it's determined that the problem was caused by some sort of accident rather than a factory defect.
    Regards.

  • ITunes needs to fix the problem with there gift cards not being activated this is not up to the retailer and they will not return scratched coded cards! There is thousands of people having this problem please fix it

    iTunes needs to fix the problem with there iTunes cards not activating properly! This is not the retailers fault and they will not return iTunes cards that have had the code area scratched there for apple needs to credit and or activated the cards there is thousands of people having this problem please bite the bullet and fix it already I will not be using iTunes until this is corrected...

    If you haven't received the item then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

Maybe you are looking for

  • Header prob. in ALV report

    Hi All, Hope you all are doing fine!!! In the below program am trying to print the top-of-page/header in alv report,,but am unable to do it.. Am working on 4.6c version,,,,,its working fine in ECC 6.0 but i really dont understand why its not working

  • A change in apex 4.1?

    Hi, In my app, I have a process running after submit that prints out some javascript to close a modal popup, which worked pre 4.1 and now it doesnt. It only worked when there was no branches defined on the page. Now it doesnt work anymore, and it see

  • Business partner determination at login time.

    when a user (john doe) logs in to web channel B2B, how does the system know which business partner the user represents? how does the system know that john doe is the contact for company Miller Ltd for instance.

  • Absurd keyboard repair issue question

    So I've had issues with the space key not working well on my MacBook Pro for awhile, and I finally took it into the local Apple store to have them look at it. Apparently the sensor's not working and needs to be fixed. Here's the absurd part. $330.00

  • Macbook Air Hard Disk is occupied by 15 GB of DocumentRevisions-v100, is it deletable if yes than how can I do that

    The hard disk of my Macbook Air 128 gb is having hard disk filled by upto 80 gb. of which 15 GB I find is unacceptable is from "DocumentRevisions-v100". This is hidden file, How can I delete it.