'-' 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

Similar Messages

  • How to I make pop up windows go back to the left side of the screen when they are moving to the right?

    Whenever I click on a link, a new window pops up. That's good, that's what I wanted. They've always opened on the left side of the screen. However, they are now opening in the middle of the screen. This has happened before and the screen eventually opened completely on the right. Last time this happened, I ended up having to delete something. I don't remember what, but it solved the issue. Please help!

    You can check for problems caused by a corrupted localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf
    You can also try to emove the Firefox plist file (org.mozilla.firefox.plist).
    *http://www.macfixit.com/article.php?story=20060606082246983 How .plist files become corrupt and troubleshooting the results
    Go to "~/Library/Preferences" and remove the plist file for Firefox (org.mozilla.firefox.plist)

  • I put in my memory card to the left side of the computer, but I cannot find the file of pictures anywhere. Its not even on my desktop. What should I do and how can I get it to show up on my desktop?

    I put in my memory card to the left side of the computer, but I cannot find the file of pictures anywhere. Its not even on my desktop. What should I do and how can I get it to show up on my desktop?

    If your Mac is new-ish and has one of the Lions as its OS, the drives, cards, USB sticks no longer show up, even though they're there. Go to Finder's Preferences and tick the corresponding items in the General and Sidebar tabs.

  • Mozilla crashed yesterday and now bookmarks are not showing along the left side of page as they did before. They are on the menu bar but hubby does not like this location. Anyway I can get it back to the left side of the page?

    This spring we changed from IE to Mozilla after upgrading to Win 7. Everything has been fine with Firefox until yesterday when it crashed when I attempted to open an email. Since then the bookmarks (or favorites as my husband calls them) have not been in their usual place which was along the left side of the page. They are located in the Bookmarks bar at the top of the page but husband prefers the old IE way which we had until yesterday PM. Is there any way that we can get them back to the left side of the page other than going back to IE? Now that I have gotten used to Firefox I like it just fine.

    *You can open the Bookmarks in the sidebar via View > Sidebar > Bookmarks (Ctrl+B)
    *You can open the History in the sidebar via View > Sidebar > History (Ctrl+H)
    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily.
    You can find toolbar buttons to open the bookmarks (star) and the history (clock) in the sidebar in the toolbar palette and drag them on a toolbar.<br />
    Firefox 4 versions and later have two bookmark buttons with a star in the Customize window.<br />
    One star button has a drop marker that open a Bookmark menu.<br />
    The other star button without the drop marker opens the bookmarks in the sidebar.<br />
    *http://kb.mozillazine.org/Toolbar_customization
    *https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • My HP color LaserJet 3700 has begun leaving a multi-colored band along the left side of the page.

    Now there is a colored band of ink on the left side of the page running from top to bottom. A local tech says the printer needs vacuuming. I am dubious. I have emptied the toner bottle already.

    Mine's doing the exact same thing. It's been suggested to replace the image transfer kit but I'm dubious....that part is rated for 60k pages and I have less than 17k - ?

  • So i have this macbook pro and when i put my phone on the left side of the touch (pad?) my laptop just goes to sleep every time.

    When ever I put my Iphone on the left side of the (Pad?) my laptop goes to sleep, sometimes does come back on until I change the position of the phone. Can anyone explain this?

    Sleep function in the MBP is triggered by magnets placed in the lid.
    There is an advisory from Apple against stacking portable computers to prevent this.
    http://support.apple.com/kb/TS2917
    Just keep gadgets that have magnets away from the computer.
    Best.

  • The top button on my iphone 5 stopped working recently.. Well it works but barely at all if every. Most of the time it only locks the screen if I click on the left side of the button. Also my Camera causes a blue pixelated spot on pictures I take.

    The top button on my phone recently stopped working. Well sometimes. Majority of the time if I click it hard enough on the left side of the button it will lock the screen... Otherwise it doesnt work at all anymore. Also the camera appears to be placing a blue pixel on pictures I take. Its annoying. What should I do?

    It's completely situational. Without being able to directly compare the "scratch" on the original poster's iPhone with your iPhone, what gaamcc had happen could not be extrapolated to guess what Apple may do in your situation. It will depend entirely on what the Apple technician diagnoses after examining your iPhone. He/she may decide that any damage is strictly cosmetic and didn't have any connection with the problem you're taking your iPhone in for, or he/she may diagnose the problem as stemming from user damage. You'll just have to see when you go to the Apple Store.
    Regards.

  • My iPad keyboard divided in half with one side on the left side of the tablet, the other on the right side and an equal blank space separating them.  The entire keyboard also became smaller.  How can I get it back to normal?a

    My iPad keyboard (spontaneously?) divided in half with one side on the left side of the tablet, the other on the right side and an equal blank space separating them.  The entire keyboard also became smaller.  How can I get it back to normal?

    You can also turn OFF Split Keyboard
    Settings>General>Keyboard>Split Keyboard>OFF

  • My scrollbar unexpectedly has moved to the left side of the screen (only in Firefox), and I don't know how to move it back

    my scrollbar has unexpected moved to the left side of the screen in stead of the right side, and I don't know how to move it back. This only occurs in Firefox.

    Set the pref layout.scrollbar.side to ''2'' to place the scroll bar at the right side.
    See:
    * http://kb.mozillazine.org/layout.scrollbar.side (default is 0: user interface)

  • Good evening every one! recently, i noticed that my macbook pro make a weird sound when i open the screen, it's like there is something keeping the screen from moving correctly.the little noise comes exactly from the left side of the axis.please advice me

    Good evening ! recently, i noticed that my macbook pro make a weird sound when i open the screen, it's like there is something keeping the screen from moving correctly.the little noise comes exactly from the left side of the axis.please advice me what to do
    (i live in morocco and i need to know where i should take ma macbook to get it fixed and if the warranty take this problem in charge)
    thank you in advance
    macbook pro mid2012 i7 (here is my e-mail adress : [email protected])

    You should take it to an Apple store or an AASP (Authorized Apple Service Provider) Carefully inspect the hinge joint and make sure there is no debris that you can see, you can try carefully sliding some sticky tape thru the joint to clear any loose stuff out. But this sounds like there might be more going on here, and the hinge is something that you do not want to fool with.

  • When I render my video I get a black bar on the left side of the screen

    I just upgraded to FCS 2 and so far it's been a complete waste of money. I'm having nothing but problems with FCP, Compressor, and QMaster. I will just post my FCP problem here.
    I've edited a weekly video podcast and everything looks great, until I render it and export it. When I render it, I get a constant, solid black bar on the far left of the video that takes up about 5% of the screen. My layers are definitely sized correctly to fill up the entire canvas, and they are all centered. I cannot figure out why I am getting this black bar or how to get rid of it without ditching the upgrade and going back to FCP5.1.
    I have already tried completely uninstalling the FCS suite and reinstalling. No luck. Any help would be GREATLY appreciated.

    Thanks for the reply.
    My original source material is in Apple Intermediate Codec, with 32-bit float audio and a variable frame rate. This has not been friendly to FCP, so I use Quicktime to convert it to Apple ProRes with 24-bit audio and 29.97 frame rate. This is what I import into FCP.
    My sequence settings are set to the same specs as my source material. 854x480, square pixels, no field dominance, Apple ProRes compression.
    The black bar on the left side of the screen shows up before I even export. It shows up when I render everything.
    I am exporting with Quicktime Conversion to:
    MP4
    h.264 codec
    720x405
    1000 video bit rate
    Main Profile
    No cropping/filters or anything.
    The ONLY thing I did different before upgrading to FCP6 was that I used Apple Intermediate Codec all the way through. I was told by an FCP instructor that writes and publishes all kinds of FCP training material that I should upgrade to FCP6 and use the Apple ProRes422 Codec instead, so that's what I'm trying to do.
    I am going back to restart my project using Apple Intermediate Codec all the way through like I used to, but it will be awhile before I can tell if that solved the problem. Either way, I would like to be using the ProRes codec....
    Thoughts?

  • How do I get the "playlist" window to open on the left side of the Itunes library

    When I first started using Itunes, the playlist window was located on the left side of the library window. Somehow it got moved to the right side and being a creature of habit, I'd like it back on the left side. I'd also like to know how to lock it so it won't move again. Thanks

    Cntrl + S will enable the sidebar.

  • On FaceTime contact are on the left side of the screen...they use to be on the right side much better how do I change this listing to the right side?

    FFace time contact listing are on the left side of the screen they use to be on the right side...why the change and how can I change the listings to the right side?

    There doesn't seem to be a setting for that. As to why Apple made the change, only they would know.
    Submit your feedback directly to Apple using the appropriate link on the Feedback page:
    http://www.apple.com/feedback

  • My macbook pro is probably only 2 months old and there is a buzzing/grinding noise coming from the left side of the laptop every time I open it.  It may buzz 5 times in a span of 30 seconds then not make the noise the remaining time that it is open.

    My macbook pro is probably only 2 months old and there is a buzzing/grinding noise coming from the left side of the laptop every time I open it.  It may buzz 5 times in a span of 30 seconds then not make the noise the remaining time that it is open.  I have read that it may have to do with my fan or HD.  I am under apple care for a good amount of time but am wondering if this is a mjor issue.  I would not be able to get to an apple care center in the near future due to being at school.  Should I be worried or will it last by the time I am home in 2 months.

    Sounds like the disk in your MBP is accessing data on wake up
    If you are still concerned you can take it into the Apple Store where they can hear it to be sure
    Allan

  • Move the "X" from the left side to the right side in the Document Name Tab

    I just installed CS5 MC for MAC and realized that the "X" to close the file is by default located to the left side of the Document  Name in the Tab or Bar rather than to the right when multiple files are open in an application.  I haven't checked all the Adobe Apps yet, but found this to be the case so far in AI, PS, ID.
    Where do I go in the master or individual app settings to reconfigure the file name/document name tab or bar so the little "X" that closes the file is to the right of the name rather than the left?
    I did notice that in many of Deke's Lynda training videos, the "X" was on the left in a few sessions, but most were on the right.  Really hope this isn't a MAC/PC centric thing or that it is mandatory to download Deke's custom settings for the fix.
    Thanks to anyone with the magic answer!!!
    Cheers!

    Bob --- Thank you for that very quick response.
    Bugger for the unfortunate answer, but thank you for advising/confirming the sad reality.
    Sure wish some code would fall from the sky and do a fix or workaround on this so users have the option.  I may be one of the few hung up on this, but it sure would be nice.
    Seems this is yet another "...centric" reason to use a PC in lieu of a MAC when working with Adobe products these days.
    Flip/Flop go the platforms!
    Cheers!

  • The "+" appears on the left side of the open tabs, when I re-open a closed window. The tab that should be first on the left doesn't have a tab!

    The "+" appears on the left side of the open tabs, when I re-open a closed window. The tab that should be first on the left when the window is re-opened doesn't have a tab! If all the other tabs are closed, the webpage appears, but still has no tab! If more tabs are then opened, it is again inaccessible without closing all tabs!

    In Finder, go command - F. On the top left set "Kind" to Date Created, finish selecting the criteria and hot "Save" on the top right. You'll get a new smart folder with an option to add it to the sidebar.

Maybe you are looking for

  • Application not found asha 305

    Hey! Am back again. All my asha 305 pre-installed apps display "application not found" upon trying to launch anyone of them. Help me out coz I still regard those apps essential to me and am not about to change my phone.

  • "File is already open or in use by another application"

    I get "File is already open or in use by another application" when opening a PDF in Acrobat and Reader. Only happens intermittently.Files are on a network share. It doesn't seem to happen as often if Acrobat/Reader are already running. Sometimes it w

  • Front Row No updating Itunes

    I have a strange problem in Front Row and ITunes. When I watch a new video in from my library in Front Row the little blue ball showing a new items goes away but when I open ITunes it's still there. If I go back in to Front Row it's gone. I have had

  • Save report output automatically into html

    Hi Gurus! I have few reports that give a simple list output as result. Now I want to put an option in the output , an option that will be   a save buttom which when clicked will automatically save the output into an html file and archive it to a part

  • Unhandled event loop exception (open a log file in NW Developer Studio)

    Hi! SAP NetWeaver Developer Studio SAP NetWeaver 7.1 Composition Environment When I try to open a log file at the SAP Management Console View (i.e. available.log) I get a "Unhandled event loop exception" and the log file content is not shown. Any hin