Displaying Sign left side

Hi ,
How to get - sign in left side of a varable.
Say for exaple a = 100-
report will show 100-
but i want it like -100.
how i can i get  ?.
Thanks,
Regd\jithendra

Hello,
A simple 1 liner will do the trick. This question has been used answered many times in the forum but i rarely find this simple solution.
DATA:
V_AMT1 TYPE WRBTR,
V_AMT2 TYPE CHAR16.
V_AMT1 = '100.00'.
V_AMT1 = -1 * V_AMT1.
WRITE V_AMT1 TO V_AMT2.
SHIFT V_AMT2 BY 1 PLACES RIGHT CIRCULAR.
WRITE: V_AMT1, / V_AMT2.
BR,
Suhas

Similar Messages

  • How do I get bookmarks to display on left side of screen

    I would like to get the bookmark section back on the left side of the screen which is a much more convenient spot for my application. It appears mozilla has discontinued this, why? The bookmark saving is cumbersome at best. It makes no sense to remove things that work for something that is not necessarily better.

    *Toggle the Bookmarks sidebar on/off via "View > Sidebar > Bookmarks" or Ctrl+B (Command+B on Mac)
    *Toggle the History sidebar on/off via "View > Sidebar > History" or Ctrl+H (Command+H on Mac)

  • How to fix facebook page loading with white screen and text on left side

    When I log into facebook, there is a white screen with the text displayed on left side of screen. I have tried to delete cache and cookies but page will still not display properly. Please help!

    1) First of all '''Download & Install Firefox 3.6.19'''. This version and Firefox 5.0.x are the only Stable and Still Maintained versions of Firefox.
    http://www.mozilla.com/en-US/firefox/all-older.html
    2) Your User Agent shows that you have the '''Fast Browser Search toolbar''' (Fast Browser Search Make The Web Better - FBSMTWB) installed. This toolbar has been causing many problems in the Firefox 3.6.13+ versions. '''Uninstall''' that extension.
    -> Control Panel > Add or Remove Programs. Uninstall "Fast Browser search protection" and "Fast Browser Search" (MyWebTatoo) (My Tattoons) (mywebtattoo.com) (www.tattoodle.com)
    -> Files: fast-browser-search.xml, fbstoolbar.jar, fbstoolbar.manifest
    http://www.tattoodle.com/uninstall.aspx
    See these pages and threads about Fast Browser Search (FBSMTWB in the user agent, Help > About).
    * http://www.fastbrowsersearch.com/FBS_Toolbar/Help/helpUninstalling.aspx
    * http://www.pccybertek.com/2009/05/remove-fast-browser-search
    * http://forums.mozillazine.org/viewtopic.php?f=38&t=1430845
    3) After all of that has been done, you can see these links:
    -> '''Websites look wrong'''
    https://support.mozilla.com/en-US/kb/Websites%20look%20wrong
    -> '''Problems using Facebook in Firefox'''
    https://support.mozilla.com/en-US/kb/Problems%20using%20Facebook%20in%20Firefox
    Check and tell if its working.

  • How to get JHeader Type on Left side of JTable and...

    Hi,
    I want two things...
    1) Header of JTable should display icons how to do this
    2)A Header Type thing displayed on left side of table like microsoft grid have
    Thanks
    -Rana-

    The JScrollPane component contains two methods:
    1) setColumnHeaderView()
    2) setRowHeaderView()
    When you add a JTable to a scroll pane, the table component automatically creates the column header for you using the TableDataModel.
    If you want to add a component on the left side then you must create a component and add it to the scroll pane using the setRowHeaderView() method.
    I have an sample program that uses the row header to display line numbers for a related JTextPane.
    http://www.discoverteenergy.com/files/LineNumber.java
    This LineNumber component can also be used to show row numbers for a given table by adding this code to you program:
    LineNumber lineNumber = new LineNumber( table );
    lineNumber.setLineHeight( table.getRowHeight() );
    scrollPane.setRowHeaderView( lineNumber );

  • "-" sign displays in right side in screen - we want in left side.

    Experts.
    When we are running on SAP Screen in earlier system any where if you see negative value,
    the sign will be shown in " Left Side" of the number like  ( Example : - 3451.00 )
    We are on ECC 6.0
    when we see similar case in ECC 6.0 system it shows as 3451.00 -
    Requirement :
    in ECC 6.0 also we want to see "-" sign on left side on SAP Screens.
    Regards

    Hi Dudes,
    I want to post the WHT tax transactions directly at the time payment in Cash journal(FBCJ) transactions.
    Ex: Payment of Stationery expenses
    Stationery Exp Dr 100
    Cash a/c 90
    WHT Tax 10
    I don't want to route this transaction through a Vendor and I want to post it directly and at the time of posting system has to display the above accounting entry.
    what settings required to get the above result?
    Thanks
    MBN

  • How to display sign in left side in ALV Grid Function module?

    Hi,
    How to Dispaly sign in left side for amount fields in ALV GRID function module?
    Ex : Amount = 1234-
    I want to dispaly it as -1234.
    Is there any option in ALV Grid function module?

    Hi sreedhar,
    Use FM  'CLOI_PUT_SIGN_INFRONT'
    it will giv the value like '-1234' if u pass '1234-'.
    DATA : v_field(17).
    MOVE v_amount to v_field.
    CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
    CHANGING
        VALUE   = v_field.
    MOVE v_field to v_amount.
    OR
    FORM change_sign changing var type c.
    if var LT 0.
    shift var right deleting trailing  '-'.
    shift var left deleting leading  ' '.
    concatenate '-' var into var.
    else.
    shift  var left deleting leading  ' '.
    endif.
    ENDFORM.
    reward pts if it helps.
    Edited by: venkat reddy on Jan 2, 2008 7:19 AM

  • I want to constantly display my bookmarks in V6.0.2 on left side of screen

    I just upgraded to FF v6.0.2 and love the new look, however I would like to display my bookmarks on the left side of the screen such as I was able to do in 3.6. I know how to display them by clicking on the button top right. Using Win 7 64 bit on Asus laptop
    Thanks for any help

    To open or close the Bookmarks Sidebar, do one of the following:
    *CTRL+B
    *ALT+V+E+B
    *Press the ALT key or the F10 key to temporarily display the Menu Bar, then click View > Sidebar > Bookmarks
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Not printing negative sign on left side

    hi all,
    i am trying to display negative sign to left side but it is displaying in smartforms
    i edit  w_test-t1(c) like this .. w_test-t1(>)
    but it is not displaying negative sign to left side.

    Hi,
    Actually &fld(<)& should work if you want leading sign to be on the left, if you are not getting the desired results, may b we have to put it manually by concatenating.
    Regards,
    Narendra.

  • Move negative sign (minus) to left side of value in gui_download

    Hi,
    While downloading data using gui_download I want to bring the negative sign to the left side of the value. Is this possible?
    Regrads,
    Madhu

    Hi,
    Use FM
    CALL FUNCTION  'CLOI_PUT_SIGN_IN_FRONT'
    Regards.
    Eshwar.

  • How can I display all of my bookmarks along the left side of my browser window like earlier versions of Firefox?

    I like the bookmarks on the left side of the screen. I don't want to be navigating through a tree of all of my various bookmarks. How can I display all of my bookmarks along the left side of my browser window like earlier versions of Firefox?

    View > Sidebar > Bookmarks (Ctrl+B)
    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily if the Menu Bar is hidden.
    *https://support.mozilla.com/kb/how-do-i-use-bookmarks

  • I've connected my external monitor (LG) to my new Macbook Pro 15" laptop, using the adaptor for VGA...the display now has a large black bar along the left side.  No adjustment on the monitor will fix it, no "options" on System Prefs either...any ideas?

    I've just purchased a new Macbook Pro, and connected it ot my external monitor (24" LG HD) using an Apple VGA adaptor.  The only resolution that looks good is the 1920 x 1080, but the image does not entirely fill the screen.  There is a large black gap on the left side of the screen now.  It worked fine with my "last generation" Macbook Pro...no adjustment on the monitor will help, and cannot find any System Setting in displays such as "options" or widescreen setting.  I've gone to the LG site, but no "Mac" related tech support issues come up...no forum here seems to deal with this particular issue either...any ideas?

    I have the same thing but with a 23 inch HP, worked fine with my MBP 13 from 2009 but the 2011 2.4 i5 does the exact same thing as yours!
    Very confused and hoping that some one else can help.
    Thanks

  • IMac display monitor problems, left side darkens and flickers

    I have an iMac with 2.7 GHz Intel Core i5, 16 GB 1333 MHz DDR3,  AMD Radeon HD 6770M 512 MB running Mac OS X Lion 10.7.5 (11G63). The last year the left side of the monitor was flickering intermittingly. I didnt think much of it. Then in July, one big flicker caused the left side of the screen to darken slightly. Fortunately, my AppleCare was still in effect,. I contacted Apple and they had me zap the PRAM and also reboot into Recovery mode. The darkness was still apparent. So I took it to an authorized dealer and they fixed the display. Now tonight, one big flicker happened and I noticed that the left side had darkened a little again. I zapped the PRAM and it seems to be ok now, but I'm afraid that the same thing will soon happen. And of course the AppleCare has expired finally. Has anyone encountered this?  I have four external hard drives on a shelf right next to the display. This sounds silly, but could they be affecting the display in any way? I moved them a few feet below where they were, hoping that they werent the cause of the problem.
    Any advice would be most welcome.
    Thanks!

    had zapped pram not helped then I would had said that the lcd panel itself was close to the end of it's life and replacement would be required but since it did then I have no real cause to believe the issue would come back

  • How do I have a constant display of my bookmarks along the left side of the page as was possible in past editions of Firefox/

    I previous versions you could have all of your bookmarks displayed down the left side of the page (I cannot recall the technical term for this). With this version when I open bookmarks I get something called the library which looks like what I want but it's in it's own window which is not the way that it was in previous versions. How do I set up Firefox so that my page had my bookmarks always displayed. I do not like the toolbar option.

    You can make the Bookmarks visible in the sidebar via View > Sidebar > Bookmarks or the Ctrl+B keyboard shortcut.
    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily if the Menu Bar is hidden.

  • Why is the left side of my iMac screen darker than the other, and why does the display randomly go black?

    My family has a late 2010 27" Imac. A few months ago, we noticed that the left side of the screen was somewhat darker than the right. As time went on, it continued to get worse and worse. When you turn the computer off for an hour or so, it helps the display out somewhat, but it eventually goes back to being darker on the left. About two months ago, the display started to go completely black. When the screen is black, everything still runs. My itunes library will still play, everything is functioning even though the screen is out. It has started to become more frequent. It is extremely annoying, almost unbearable. Since the one year warranty went out in November, what are we supposed to do about this?

    Contact Apple Service, iMac Service or Apple's Express Lane. It's a known issue with 27" iMacs and you might be eligible for replacement. I had mine replaced shortly after buying it. BTW, AppleCare's extended warranty is the cheapest insurance policy one can have for desktop machines. Too bad you missed the deadline.

  • Display anomalies ang got death pixel on middle left side

    my friend brought an iPhone 5c and after 6 months the problems came out which is the display anomalies ang got death pixel on middle left side, so i just wonder what is the problem?? the phone are never drop on the floor is the main point.

    Take it back as it is still covered under warranty.

Maybe you are looking for