How to add a dollar sign $ to a formatted currency field

Any idea how to add a $ sign to a formatted field?

Hi Kim,
Right click on the field and click on Format Field.
In the !Format event type: $@_$_.
This should place a $ before your output value.
James.

Similar Messages

  • Add a dollar sign in the output of a field.

    How do I add a dollar sign to a dynamic money field? I am not allowed to leave a space between the dollar sign and the money amount. My data contains 200.00 or 1000.00 and I need a dollar sign in front of any amount.

    Hi,
    there are a few ways that you can achieve this...
    if you are using the transformation agent to transform your data you can add it in the tdf...
    eg
    ^field price
    $@price
    not using tranformatio agent ? then in output
    you can also do it in the form by using the format event...
    In the properties of the field click the full format option and add the following...
    $@(Ltrim ("@_$_."))
    the @_$_. contains the current value of the field so this expression will left trim the field to make sure there are no spaces and then add the dollar symbol to it before inserting it onto the form.
    Syntax is very important when using events and preambles..
    the above is:
    dollar at openbracket Ltrim space openbracket openquote at underscore dollar underscore dot closequote closebracket closebracket.
    You can also use text substitution.
    To do this you need to make the variable global before you can use it...
    so... move your price field out of the way and in its properties make it global. (change it to noprint font to hide it)...
    Now when the field is filled, it will be saved in the global variable library and can be used again...
    Now create a text field and type in it $@price.       (assuming that your field was called price, the new variable is called price...)
    now in the text properties box of your new text click the text substitution field box...and that it...
    You can use your new variable as many times as you like on the page.

  • How to get the dollar sign ? onle get 4 or €  ?

    How to type the dollar sign? i dont seem to push the right buttons ...

    Try pressing the Shift key (the key with an up arrow) and the 4 key at the same time, so the dollar sign should appear. Note that this may be different depending on the keyboard you have. That keyboard combination works for my Western Spanish keyboard

  • How to add a SPACE as suffix to the last field in the downloaded text file?

    Hi Experts,
    By using GUI_DOWNLOAD am saving the data(only 3 fields) in a text file on my desk top.
    fine.
    example current record1 : 010001                      354.999            26.000
    here, after 3rd field 26.000, immediately the cursor is jumping to next line in text file.
    but, wanna a SINGLE SPACE after 26.000, say 26.000+space.
    tried with CONCATENATE, OFFSETTING, but no use(may b am using incorrectly)
    so, pls. suggect me, How to add a SPACE as suffix to the last field in the downloaded text file?
    thanq

    Sorry...Typo error...Too many in the last few days -:(
    Wanted to say AFTER -:)
    Do it like this...
    FIELD1 TYPE XXX,
    FIELD2 TYPE XXX,
    FIELD3 TYPE XXX,
    SPACE(1) TYPE C,
    That way you should end with...
    26.000+SPACE
    Greetings,
    Blag.

  • How do u handle the user parameters for a currency field.

    How do u handle the user parameters for a currency field.
       Decimal saperator and a hundreds saperator. (depending upon the user parametes set for the user the saperators may differ)
          Eg: currency field: 13.896,01 (In this case u2018,u2019 is a thousand saperator and u2018.u2019 is a decimal saperator) How to handle this one.
    Regards,
    Ram.

    Hi,
    Try this code....
    DATA: V_KURSF1 TYPE c LENGTH 10,
            v_kursf2 type c LENGTH 10,
            v_dcpfm    TYPE xudcpfm, "Decimal or Thousand Notation
            v_thousand TYPE char1,   "Thousands Notation
            v_decimal  TYPE char1.   "Decimal Notation
      CONSTANTS:    c_x      TYPE char1 VALUE 'X',
                    c_y      TYPE char1 VALUE 'Y',      "Value Y
                    c_comma  TYPE char1 VALUE ',',      "Comma
                    c_point  TYPE char1 VALUE '.',      "point
                    c_blank  TYPE char1 VALUE ' '.      "Blank
      IF v_dcpfm IS INITIAL.
        SELECT SINGLE dcpfm
        FROM usr01
        INTO v_dcpfm
        WHERE bname = sy-uname .
        IF sy-subrc = 0.
          CASE v_dcpfm.
            WHEN c_x.
              v_decimal  = c_point.
              v_thousand = c_comma.
            WHEN c_blank.
              v_decimal  = c_comma.
              v_thousand = c_point.
            WHEN c_y.
              v_decimal  = c_comma.
              v_thousand = c_blank.
          ENDCASE.
        ENDIF.
       ENDIF.
               Find c_point in  wa_segment-exchange_rate.  ( Eg:ield)
              if sy-subrc = 0.
                replace c_point in wa_segment-exchange_rate with v_decimal.
              endif.

  • How to add the Match code object for the requisitioner field in TCODE ME51N

    Hi,
    How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
    Please  do the needful to me.
    Regards
    Rajesh

    don't you think that posting your question to a microsoft developer site would be more efficient?
    regards,
    anton

  • How to add CSV file extension in output format of sap document in SCOT

    Hello All,
    i have added CSV in conversion rule through “SAP Customizing Implementation Guide–> SAPNetWeaver –>SAP Web Application Server -> Basis Services -> Communication Interfaces -> SAPconnect Client-Wide Settings -> General Settings -> Conversion Rules”. but it is not showing in SCOT (o/p format for SAP document).
    Please do needful

    i found this string on net
    add a Conversion-rule (transaction SCOT like this:
    CSV CSV 1 SX_OBJECT_CONVERT_TXT_INT
    How i Add .

  • Format Currency field with $ sign and condense

    I want to format the currency field output by appending '$' sign to it and removing the gaps so that the '$' sign occurs immediately before the amount. Can anyone tell me how to do it so that it displays like given below in ALV. Thanks.
    Before                    
       $____25.00           
      $__130.00        
    $___1000.00       
    After
    $25.00
    $130.00
    $1000.00
    Edited by: Sheetal on May 27, 2009 12:23 PM

    Hi Sheetal,
    You can try this-
    1) copy currency field to a text field.
    2) Append $ to the field. CONCATENATE can be used on text fields.
    3) Remove any spaces by using CONDENSE.
    Of course you can combine step 1 and 2 depending on the logic you choose.
    There are of course many other ways and you may have found out some yourself. The above steps can help.
    Regards,
    Nimish

  • How to delete zeros in layout for quantity and currency fields

    Hi All
    Iam getting zeros in place of quantity and currency field records, which i doesnt require in layout SAP-Script.
    Please let me know if any one has an idea.
    Regards
    Bhaskar

    Hi,
    Add NO-ZEROES statement to it.
    or
    U can use CONDENSE statement.
    Cheers,
    SImha.

  • How to change config to allow posting to group currency field

    Hi,
    I am experiencing a problem whereby the asset for my local currency (USD) is different from my group currency (USD). There are many wrong postings causing this difference.
    And it is too late & tedious to do all the correction.
    Area 01 Local Currency (USD)
    Area 03 Group Currency (USD)
    However, I would like to do a posting to asset in both loc & group currency. My current config does not allow changes to group currency field when posting a transaction to an asset. It is grey off. System auto generate the figure.
    How to I change the config so that I can also input a different figure for the group currency ?
    Please help urgently.
    Thanks.
    Angel

    Hello,
    I contact you because I need to maintain a "Person Group" (PERS_GROUP in ADRP table) for 1 sales organization (SD module), but I have no idea how to do that... I checked the customer master data views (transaction XD02) but I did not find anything...
    Do you know which transaction I should use?
    Thanks a lot in advance!

  • How to add a PERCENTAGE sign to the formula

    I was using %A in a fomula to calculate variance %age.
    Because %A is based on absolute value that eliminates the sign it wont work for us.
    I am planning to do direct calculation without %A to calculate pecent varaince but then I lose the % sign from the cell.
    I am sure you can help.
    I need to calculate %age and then also display % sign in the cell. For example the cell should show 20.00 % not just 20.00.
    If I get a prompt reply not only I will be thankful will also give full credit.

    Hi Ram,
    you can display the % sign in the query report
    In the formula select , instead of using percantage share , I think you can use either try with (%CT) or (%GT) and this will be available in percantage functions
    I have done for one my report and able to display % sign.
    kindly try with the above options if not able to achieve then let me know, I will provide the step by step doc.
    thanks

  • How to add a -ve sign into a quantyty field

    Hi,
          I have a requirement where i need to loop  the internal table with a condition if the condition becomes true then a  particula field  of that row should be added with a -ve sign,and modify that row.
    The field is of type quantity.

    hi,
    check this.
    if it_bsis-shkzg = it_bseg-shkzg.
    if it_bseg-shkzg = 'H'.
    it_bsis-wrbtr = it_bsis-wrbtr * -1 .
    it_bsis-dmbtr = it_bsis-dmbtr * -1 .
    IT_FINAL-wrbtr = IT_bsis-wrbtr.
    IT_FINAL-dmbtr = IT_bsis-dmbtr.
    else.
    it_bsis-wrbtr = it_bsis-wrbtr .
    it_bsis-dmbtr = it_bsis-dmbtr .
    IT_FINAL-wrbtr = IT_bsis-wrbtr.
    IT_FINAL-dmbtr = IT_bsis-dmbtr.
    endif.
    endif.
    it_final-waers1 = 'INR'.
    APPEND IT_FINAL.
    CLEAR IT_FINAL.

  • How to add a dynamic saerch help for a standard field

    Hi,
    As per my requirement I need to add a search help to a Satndard Field in PO.
    The search help is dyanimc.
    CAn anyone suggest how can we achieve this functionality.
    The values to be selected are stored in some Z table.
    Smriti.

    Ya,But In my case the value which is being displayed in the search help will depend on the value of werks being enterd in the PO.Taking the PO the Ztable will be queried and from there The value of unloading point will be calculated and displayed.
    So only adding the search help to the standard field will not help.

  • How to add date in MM/DD/YYY  format at the end of a string

    Hi
    I want Description to look like
    ' PARTICIPATION ON TEMPORARY TV SHOW EXPIRING ' and include the "latest show expiration date" as "MM/DD/YYYY"
    Pls help ......
    try {
                            Date date= new Date();
                             System.out.println("THE TODAYS DATE is :"+date);
                               DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
    //                         DateFormat df = new SimpleDateFormat("MM/DD/YYYY");   -----> Its not allowing this format ????????
                             begin_Date = hashDateE.get(id);
                             System.out.println("THE LATEST TV SHOW DATE is :"+begin_Date);
                             Date d1 = df.parse(begin_Date);
                             String relation;
                             if(d1.equals(date))
                                  relation = "both the dates are same";
                             else if(d1.before(date))
                                  relation = "BEFORE";
                             else
                                  relation = "AFTER";
                             //System.out.println(d1 + "is" + relation + ' ' + date);
                             if("10".equals(latestShow)){
                              if("BEFORE".equals(relation)){
                                   System.out.println("The latest show date is expired");
                              Code =3;
                              Description = "PARTICIPATION ON TEMPORARY TV SHOW EXPIRED ";
                              else if("AFTER".equals(relation)) {
                                   System.out.println("The latest show date is non expired");
                                  Code = 2;
                                   Description = "PARTICIPATION ON TEMPORARY TV SHOW EXPIRING" + d1; -------------> I TRIED THIS WAY ( d1 should be in this format MM/DD/YYY
                              }else {
                                   System.out.println("The latest show date is non expired");
                                 Code = 20;
                                  Description = "PARTICIPATION ON TEMPORARY TV SHOW EXPIRING" + d1;
                        

    If you have a string like 2008-12-15 and you want to interpret it as a date and format it as 12/15/2008, then you need two DateFormat objects.
    One to parse the String in the first format into a Date, -------> i could do this
    try {
              String begin_date = "2008-12-15";
              System.out.println("The begin date is :"+begin_date);
              DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
              Date d1 =  df.parse(begin_date);
              System.out.println("the Date value is d1 :"+d1);
    catch() {
    }Output is :The begin date is :2008-12-15
    the Date value is d1 :Mon Dec 15 00:00:00 EST 2008
    Pls help me with the second part :- ?????/
    and one to format that Date into a String in the second format. MM/dd/yyyy --- how to do this ..after i tried several times with different statements , i am asking this piece of code to achieve this

  • How to add Value Table or Search Help for a field which is on Standard SAP?

    Hi All,
        I have a field HERST (tcode IE01) which doesnt have any value table or search Help. I have the same field in a Z table which I should display for the standard screen field in tcode IE01. So Pls suggest me on this.
        Thanks in advance.
    Regards
    Jaker.

    Hi, Tamas,
    I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    The correct code is like:
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
    Xin

Maybe you are looking for

  • Restrict creation of inspection lot for certain work centers

    Hi My client needs to restrict the creation of inspection lot at certain work centers although QM is active for all material processed in these work centers. I am using the  function module 'EXIT_SAPLQAAT_002' of QAAT0001 for this purpose. Z04 inspec

  • Passing variable data into XSLT

    Hai all, I am trying to pass variable contents into a XSLT. I am trying the procedure given in the link below.I am not able to pass the parameter values into XSLT file.I am failing in the last step. Has anyone tried this example http://blogs.oracle.c

  • MacBook Pro - XP - Labview

    Does anyone have experience with operating Labview 8.2 on a MacBook Pro when booted in XP?  I would like to get a MacBook Pro as my home computer, as understood in the NI license agreement, to run my Developer Suite.  It would be nice to know before

  • How  to automatically activate the indicator u2018Capital Goods Affectedu2019 in MI

    Dear Expert; I've created a specific document for asset purchases order, I want at the MIRO automatically activate the indicator u2018Capital Goods Affectedu2019. Is it possible by setting via the SPRO or my document. Thank you in advance for your he

  • RE 2000 Bootloop Known issue

    After 8 months and 4 new units and then repeatedly contacting support and receiving replacements, one has to ask themselves why do I keep trying. There are a lot of post and chat sites discussing the boot loop issue with this product and even warning