MINUS SIGN IN FRNT OF AMOUNT INSTEAD OF LAST

HI
I want minus '-' sign  in front of amount
currntly it is showing 12345.45-
but i want -12345.45.
pls help me on this
Regards
Rajan.

>
prashanth kishan wrote:
>
Can you send me a sample code
> Fortunately or unfortunately, it never came
>
> pk
Cause i gave him a hint to use SPILIT also
May be other wise he would come
Cheers

Similar Messages

  • Minus Sign in the Downloaded DME file using F110 Transaction

    Hi All,
    From the F110 Transaction I navigate to the DME Administration from the menu bar in order to download the DME file into my system. I could open the txt file that is downloaded. Now my requirement is to add a minus sign to the invoice amount of the txt file.
    I tried debugging the program to find out where the data is populated but was unable to. I can see the FM GUI_DOWNLOAD that downloads the file but the internal table contains hexadecimal data.I don't understand how this is converted to the text data.
    I'm unsure of what to do.... Any body has any suggestions.
    Regards,
    Shipin Paul

    Hi Anmol,
    Your answer helped me a lot. I am really thankful. But my issue is not solved.
    I went to the DMEE Transaction and gave the correct format and the tree type as input.
    Inside the format i went into the amount element as you have mentioned and included an exit module with the respective coding.
    Then i execute the transaction F110 with the Run date and Identification.
    I then navigate to the menubar Enviroment->Payment Medium->DME Administration so as to download it into my system as notepad.
    I select one of the entries and press the download button. But it does not stop at the exit which i included in the DMEE Transaction
    even though i have created a breakpoint there..
    Do you have any idea about this.
    Regards,
    Shipin Paul

  • Minus sign in smartforms

    I want minus '-' sign in front of amount
    currntly it is showing 99999.45-
    but i want -99999.45.
    please help....

    use Fm CLOI_PUT_SIGN_IN_FRONT
    DATA: WA_VALUE(6) TYPE C VALUE '20.00-'.
    CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
    CHANGING
    value = WA_VALUE.
    WRITE: / WA_VALUE.
    or
    gv_netwr2 = gv_netwr .
      concatenate '-' gv_netwr2 into gv_netwr2.
      condense gv_netwr2 no-gaps.

  • Show a minus sign as an output instead of the parentheses

    When I save a minus value, the output comes as (500.00). I
    think the parentheses are default for the minus value in cf. How
    can I display –500.00 instead of (500.00)? I looked at the
    numberformat function, but could not find the mask for it.

    I think that can be one of the solutions.
    However,
    the first time when I insert a minus value, it goes through
    w/o any problems, but when I update the minus value, i got an error
    message. so before I use ur select stmt, I need to have a
    conditional stmt to find a parenthesis to check if the value that I
    pass to the database is negative or positive. It would be nice if i
    can find any cf function to display a minus sign instead of a
    parentheses, "( )" for any minus values.
    what i did on this issue before saving into database,
    <cfif find("(", form.myprice)>
    <cfset form.myprice = ReReplace(form.myprice,
    ",|\$|\(|\)", "", "ALL")>
    <cfset form.myprice = "-" & form.myprice>
    <cfelse>
    <cfset form.myprice = ReReplace(form.myprice, ",|\$", "",
    "ALL")>
    </cfif>
    but I wonder if there are other solutions. thanks
    again.

  • '-' minus sign on the left side of the value

    Hi all,
    My requirement is to put the minus sign appearing the amount field
    on the left hand side instead of right as it appears in the database fields.
    Is there any direct functionality for the same instaed of using concatenation .

    use an edit mask
    edit: Didn't read well. Where are you trying to put the sign? a database table? ALV? others?
    TYPE-POOLS: SLIS.
    types: begin of this_Type,
    one type p,
    two type p,
    end of this_Type.
    data itab type table of this_type with header line.
    data: field_cat type sLIS_T_FIELDCAT_ALV,
         wa_fcat like line of field_cat.
    itab-one = '-1'.
    itab-two = '-2'.
    append itab.
    wa_fcat-fieldname = 'ONE'.
    wa_fcat-edit_mask = 'V_______'.
    append wa_fcat to field_cat.
    wa_fcat-fieldname = 'TWO'.
    wa_fcat-edit_mask = 'V_______'.
    append wa_fcat to field_cat.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    *   I_INTERFACE_CHECK              = ' '
    *   I_BYPASSING_BUFFER             =
    *   I_BUFFER_ACTIVE                = ' '
    *   I_CALLBACK_PROGRAM             = ' '
    *   I_CALLBACK_PF_STATUS_SET       = ' '
    *   I_CALLBACK_USER_COMMAND        = ' '
    *   I_STRUCTURE_NAME               =
    *   IS_LAYOUT                      =
       IT_FIELDCAT                    = field_cat
    *   IT_EXCLUDING                   =
    *   IT_SPECIAL_GROUPS              =
    *   IT_SORT                        =
    *   IT_FILTER                      =
    *   IS_SEL_HIDE                    =
    *   I_DEFAULT                      = 'X'
    *   I_SAVE                         = ' '
    *   IS_VARIANT                     =
    *   IT_EVENTS                      =
    *   IT_EVENT_EXIT                  =
    *   IS_PRINT                       =
    *   IS_REPREP_ID                   =
    *   I_SCREEN_START_COLUMN          = 0
    *   I_SCREEN_START_LINE            = 0
    *   I_SCREEN_END_COLUMN            = 0
    *   I_SCREEN_END_LINE              = 0
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER        =
    *   ES_EXIT_CAUSED_BY_USER         =
      TABLES
        t_outtab                       = itab
    * EXCEPTIONS
    *   PROGRAM_ERROR                  = 1
    *   OTHERS                         = 2
    IF sy-subrc  0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Edited by: Ramiro Escamilla on Jan 8, 2009 11:49 AM

  • Minus Sign in front

    Hello all,
    I have a requirement where in I need to bring the minus sign in front for the amount field in ALV Grid Display.
    I used the FM CLOI_PUT_SIGN_IN_FRONT, but after I pass back the values, the sign gets set at the end. Moreover, I cannot create a character filed because the business might want to do sum on it.
    Please advice.
    Regards,
    Salil
    P.S. the below piece of code
    DATA : gv_bill_rev  TYPE string,
             gv_balance   TYPE string.
      LOOP AT gt_master INTO gs_master.
        gv_bill_rev = gs_master-bill_rev.
        gv_balance  = gs_master-balance.
        CLEAR : gs_master-bill_rev,gs_master-balance.
        CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
          CHANGING
            value = gv_bill_rev.
        CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
          CHANGING
            value = gv_balance.
        MOVE : gv_bill_rev TO gs_master-bill_rev,
               gv_balance  TO gs_master-balance.
        MODIFY gt_master FROM gs_master INDEX sy-tabix
                                        TRANSPORTING bill_rev balance.

    You can directly specify an edit mask for output.
    Field EDIT_MASK in the field catalog is a 60 character field in which you can specify an edit mask.
    fieldcat-edit_mask = 'V___.__'
    The V at the left indicates that you want the sign to appear at the left.  The _ will be replaced by the values of the number.  Put as many underscores as required.  You may also want to specify commas (,), if desired, for thousand's separators and a period (.) for the decimal point, if needed.
    Alterntively, if an appropriate conversion exit exists to put the sign in front, you can assign the conversion exit in the field catalog table.
    Field CONVEXIT in the field catalog can be used to specify the name of the conversion exit.
    Brian
    Edited by: Brian Sammond on Jan 27, 2009 8:08 PM
    Simplfy example edit mask because forum was displaying it funny

  • How to get a minus sign with the cost  field in ALV.

    Hi ,
    How to get a minus sign with the cost field in ALV.
    The Ouput will be displayed like  Rs -1500 instead of 1500-
    I can't use concatenate also as i may have to use the sum functionality of ALV .
    Cheers
    Sunny

    Hi sunny,
    1. The OTHER FIELD
       has to be character field of say length 15.
    2. Write the original numeric value to
       this character field (in a loop)
    3. But simply writing won't help.
    4. use this kind of logic.
    5.
    REPORT abc.
    DATA : m TYPE i.
    DATA : chr(15) TYPE c.
    m = -100.
    WRITE m TO chr.
    IF m < 0.
      SHIFT chr RIGHT BY 1 PLACES.
      CONDENSE chr.
      CONCATENATE '-' chr INTO chr.
    ENDIF.
    WRITE chr.
    regards,
    amit m.

  • JTree not showing plus/minus signs

    Hi,
    I'm having a strange problem with JTree when implementing my own DefaultTreeCellRenderer: the renderer is shown correctly, but the plus and minus signs are gone!
    My getTreeCellRendererComponent implementation actually creates a new JPanel and returns it instead of the default one. Can that be the problem? How can I make these plus/minus signs come back?
    Thanks, U

    I have seen something a little different on my CustomCellRenderer where the plus minus sign is replaced with some default arrow icon and where it comes from I have no clue. I basically have a 3 level deep tree and its at the B level where this icon appears.
    http://www.matthewscorp.com/images/JTreeError.jpg
    For the life of me I can't figure this one out. I have tried all ideas like set all the renderer icons or the LAF properties icons and still this blue arrow appears. Any ideas would help on both mine and the original poster.

  • How to convert trailing minus sign into the leading minus sign

    Hi
    Can any plz tell me How to convert trailing minus sign into the leading minus sign? I mean in PI the amount filed shows like 150.00- i want to convert that into -150.00.
    Thanks
    Govinda

    Hi Shabarish,
    The code works but what if the input is something like [   10.000-] i.e. with some spaces before 10.000- and the output as per your code comes as [-     10.000]. How do we tackle such cases if there is inconsistency in data i.e. some values come as [    10.000-] i.e. spaces before the number and some values as [12.000-].
    The output of this will come as
    [-    10.000]
    [-12.000]
    How to make it as
    [-10.000]
    [-12.000]
    Regards,
    Shaibayan

  • Datasource has a minus sign

    Hi,
    I created a datasource on R3 and saw it from RSA6. I checked the Datasource Overview and saw it is there, but the sign for the activation column is a minus and not a plus. I tried to assign datasource to an infosource, and the datasource did not show up in the list of the available datasources.
    How can I fix this? I was able to run RSA3 on R3 and got some data. It's the BW side that it can't see the datasource.
    Thanks

    Hi Sat,
    I just created it and tried to assign it right away but initially I didn't see it either, that's when I tried to check RSA6, RSA3, Datasource Overview, etc. I am sure that it is not being used elsewhere.
    I compared it with other datasource and it has a minus sign instead of the green plus sign.
    Thanks

  • Display of minus sign

    Well I want to display minus sign in front of credit amount.
    though i have multiplied the amount by -1. it shows the minus sign after the amount. i want to display it before the amount. is there any function for it.
    i'm making a classical report using se38.

    Hi ,
    execute the code and check the output.
    data : val1 like vbap-netpr.
    val1 = '12345.21'.
    val1 = val1 * -1.         "ur value
    write:/ val1.               " negative at the end
    data : val(13) type c.   " declare a char variable
    move val1 to val.        
    write:/'Still', val.
    CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
      CHANGING
        value         = val.          "sign is put ot front.
    write:/'Now', val.
    regards,
    vijay

  • I transferred data from my external hard drive to my restored Mac Book Pro via migration assistant and now my external hard drive in time capsule has red minus signs. How do I get rid of that without getting rid of any of my data?

    I used Migration Assistant to transfer my data from my external hard drive via Time Capsule to my restored Mac Book Pro. When I now go into Time Capsule I there are red minus signs in the corner of all the folders that are contained in my back up. How do I get rid of this and access my previous back-ups?

    Select the drive and Finder > Get info and at the bottom "ignore permissions on this volume"
    You can copy the files, but the ownership on the files still belongs to the other user account, once your done copying, then perform a #6 Reset Users Permissions and that will set all the ownership to that account.
    ..Step by Step to fix your Mac
    Another method is to copy the entire folder, then change it's permissions.

  • I increased my font with zoom for the first time & got it too large. It will not decrease using Control & minus sign.

    I use Firefox 4. Windows XP. I have tremors & must have accidentally clicked on something that made it open up with weird colors like it was in safe mode. It was in 8-bit so put it back on 32-bit and 1280 x 1024 pixels. Then the font was so small it is almost unreadable. Tried to change it in Firefox Tools, Options, & Content. This did not work. I then used Zoom after checking in Help but got the font so large I can't view my email right. It will not decrease when trying Control with the minus sign as suggested.

    Did you change the resolution in Control Panel > Display ?
    What is the native resolution of your video display (monitor)?

  • HT5137 I updated to ios7.0.2, when I double click on home button it brings up an app list but when I hold my finger on an icon it won't show any with a minus sign, is it no longer necessary to close apps?

    In ios 7.0.2, when you double click the home button it brings up the icons but won't allow you to show them with minus signs, is it no longer necessary to do this?

    jim96776 wrote:
    is it no longer necessary to do this?
    It was never necessary except in certain unusual circumstances.

  • Iphone 5 - can't delete albums in the albums no minus sign when in edit

    I need to free up storage on my Iphone 5...when I am in ALBUMS ...I chose EDIT and NO MINUS sign appears to the left.  I have old photo albums from a blackberry torch and photos from various camers got loaded up I am guessing through Itunes on a PC that no longer works.  I do not want these photos on my phone I have them stored on a external drive.  I love my phone I just don't want all these darn photos taking up so much room.  What the heck can I do??? ahhh! HELP

    You need a 3rd party iPhone file browser such as TouchCopy. See: https://discussions.apple.com/docs/DOC-3141. This covers more than photos, but it should still be useful.
    Note, however, that if the photos were taken with a higher resolution camera than the iPhones the images that you copy back to your computer will be lower quality than the originals, as images in the Photo app are optimized for the iPhone's screen.

Maybe you are looking for

  • How do I make the form/pdf fit to one page?

    I designed my first form today and it's two pages long.  How do I get it all to fit on one page?  It will be saved as a pdf.

  • A way to have my upload BRAS profile lifted withou...

    I work a lot with remote desktop/management software and my company will soon issue us with SIP phones for enhanced telephony and will also require video conferencing from home. I asked a simple question to the broadband help team: I'm wondering if s

  • Unable to set (ssl) certificate on a SQL Server 2012 clustered instance

    Hello everyone! I'm trying to encrypt the SQL Server communication with SSL but I can't add the certificate in the configuration manager. I've found and tried a lot of different explaination but none of them worked. I'll described what I've done and

  • Query Publisher items using the PRC Search API

    Does anyone know if it is possible to query Publisher items from the PRC API? In my tests, even if I leave the filters blank and do a generic search for '*' I don't get Publisher items back. (Doing the same generic search from the portal does return

  • Calculate serial no according to groups

    Name   ID Prime    12    Prime    12   Prime    12    Prime    12    Prime    12    Prime    16    Prime    18    Prime    18    Prime    18  I have 2 colums say Name and iD. I want result of sql as:   Name   ID      Order Prime    12    1 Prime    1