Changing Minus sign to brackets in smartforms

Hi Gurus.
I would like to ask if there is a way to change the minus sign of a type int variabel into brackets.
for example in smartforms,
the value is   "900-"
and i want to show it as (900).
is there any mask provided in the smartforms?
thx & rgds,
William Prawira

write a simple logic before printing this value
define charater variable in global
data : v_string type char20.
in program line.
data : v_value1 type i,
         v_str(20) type char.
if v_value <= 0.
v_value1 = v_value.
v_str = v_value1.
concatenate '('  v_str ')' into v_string.
endif.
in text node you can print this v_string.
OR ELSE
create a Alternate Node.
in general tab create condition like
filed < = 0.
In true place text node
place brackets before and after of variable
In false place a text node
as it is variable
Edited by: murali papana on Sep 15, 2008 12:46 AM

Similar Messages

  • 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.

  • 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)?

  • 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

  • Quick selection tool always contains minus sign

    I am obviously not a very experienced Photoshop user and I have a question about the Quick Selection tool. I am using CS6 on a Mac with OS X 10.9 Mavericks.
    I watched a couple tutorials and my system is behaving differently. In the tutorials I watched, when the quick selection tool is chosen the "brush" contains a plus sign. If too much area is selected, that can be corrected by holding the option/alt key and this changes the brush to a minus sign. On my computer, when I select the tool the brush always contains a minus sign. I think the tool is working OK but I wonder why I never see the plus sign inside the brush.
    Please advise.
    Thank you.

    Be sure the tool isn't set to subtract in the options bar. Otherwise, try resetting the tool by right- or control-clicking the blue arrow just to the right of the tool preset (under the blue PS icon in the below screenshot) to reset the tool.

  • - minus signs appearing in Query

    Hi
    Certain key figures get minus signs in front of them in one of our queries. When the data is browsed in the Infocube / ODS, there is no minus sign.
    We have checked the +/- symbol in 'sign change' for the key figures in Bex but no matter what setting I choose, I still get the minus sign displayed.
    Anyone have any ideas?
    Thanks
    Conor

    Hi,
    edit the query properties. Goto Tab Page: Value Display.
    Display of +/- Signs
    Here you specify how the minus sign is displayed. The following display options are available for negative values:
    &#9679; Before the Number -123.45: The minus sign is positioned before the value (default setting).
    &#9679; After the Number 123.45-: The minus sign is positioned after the value.
    &#9679; In Parentheses (123.45): Negative values are displayed in parentheses.
    http://help.sap.com/saphelp_nw70/helpdata/EN/1e/99ea3bd7896f58e10000000a11402f/frameset.htm
    Hope this helps.
    Regards
    Andreas

  • Entering minus sign in CWNumEdit

    Environment: Visual C++ 6.0.
    I add a CWNumEdit control to a dialog. I disable range checking on the control. The user can enter digits into the control or change the value with the arrow buttons. However, the user cannot type a minus sign into the control. If the arrow buttons are used, a negative value can be generated, and then modified by typing digits, but the minus sign can't be entered directly from the keyboard. Is this a bug?

    I have tried to reproduce this behavior with our tools for VC++ 6.0 It behaves as expected in both VC++ and VB. Try building a very simple project from scatch where you just drop a Numeric Edit on the panel, and give it a run. It should be able to behave as expected. If it still does not, post back to this thread, and make sure to include what version you are using. Thanks.

  • Having trouble with Red minus signs on folders shared to my computer

    Here's the situation as best as I can describe it.
    We are working on 2 imacs.  iMac A as a 1TB harddrive attached to it via USB that has all the folders on it that we use to work.  iMac B is connected to A wirelessly and can "usually" access the contents of the harddrive through A with no problems.  However, every once in a while I click a folder on the harddrive and I get access (I'm on iMac B) to that folder but the subfolder inside that I need to access (the others are fine) has a red minus sign on it which is infuriating.  So far the only way we've been able to re-grant access to the folder for me is to either restart my computer or unplug and replug the harddrive into iMac A.
    Steps we have taken:
    Added full "read & write" permissions to both computers and users on both the folder, the sub folder, and the harddrive itself
    Attempted to set up additional users to access the folder differently
    Checked and unchecked "ignore ownership" on all of the above access points
    We find it strange that it's only sometimes I get locked out of the folder and other times I'm not.  It has to be some sort of glitch unless there's some sort of setting that locks me out if I make too many changes to the contents in that specific folder.  Any ideas or help would be greatly appreciated.

    The procedure below will reset the permissions of a home folder in OS X 10.7.4 or later. If you're running an earlier version of 10.7, update to the latest version first. This procedure should not be used in OS X versions older than 10.7.4.
    Back up all data before you begin.
    Step 1
    Click the Finder icon in the Dock. A Finder window will open.
    Step 2
    Press the following key combinations, in the order given:
    Command-3
    Shift-command-H
    Command-I
    The Info window of your home folder will open.
    Step 3
    Click the lock icon in the lower right corner and authenticate with the name and login password of an administrator on the system. If you have only one user account, you are the administrator.
    Step 4
    In the Sharing & Permissions section of the window, verify that you have "Read & Write" privileges. If not, use the "+" and "-" buttons in the lower left corner to make the necessary changes.
    Step 5
    By default, the groups "staff" and "everyone" have "Read Only" privileges. With those settings, the files at the top level of your home folder will be readable by other local users. You can change the privileges to "No Access" if you wish, but then your Public and Drop Box folders will be inaccessible to others, and Personal Web Sharing won't work. Most likely, you don't need to change these settings.
    Step 6
    If there are entries in the Sharing & Permissions list for users or groups besides "me," "staff," and "everyone," delete them.
    Step 7
    Click the gear icon at the bottom of the Info window and select Apply to enclosed items... from the drop-down menu. Confirm. The operation may take several minutes to complete. When it does, close the Info window.

  • 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

  • Accordian panel with plus and minus signs to indicate state of panel

    I want the text to show [+] next to the title of the panel when it is collapsed and [-] when it is expanded
    just like http://www.reddit.com/r/indesign/comments/1jewqq/custom_kerning_applied_to_a_single_charac ter/
    the comments on this page can be expanded or collapsed by clicking the plus or minus sign
    how do i do this?

    I've started filling the accordion with my content and the
    cookie works fine. But I see some things I'd like to have changed
    if possible?
    a) When I load the page all accordion panels flips open at
    the same time and they stay open until the page has loaded. It's
    probably not visible in the demo because it's only a few bytes to
    load there. After the page has loaded the cookied panel stays open
    and the rest of the panels close. Is it possible to hide the
    loading of the panels somehow? This is kinda messy right now.
    b) I'd like to use the cookie to control the panels but only
    during the current session. When a new session occurs I'd like to
    start with all panels closed a) (or use the script that states
    default panel). The standard accordion use a small script to set
    the default open panel. I tried modifying this script but it looks
    like the accordion is following the laws of the cookie and is now
    ignoring this script.
    Panel 4 set to be default (0, 1, 2, 3):
    <script type="text/javascript">
    var Accordion1 = new
    Spry.Widget.Accordion.prototype("Accordion3");
    </script>

  • Updated my iphone4 with ios6.1 software. App store is not working. Tried rebooting, restoring, changing date, signing with another apple id etc. but no luck. can someone please help?

    Updated my iphone4 with ios6.1 software. App store is not working. Tried rebooting, restoring, changing date, signing with another apple id etc. but no luck. can someone please help?

    I guess I will wrap this up. I have abandoned iPhoto and viewing my Photo Streams using it and moved to Adobe products (Bridge + PS). So that's that.

  • 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.

  • Before I upgraded my iPad mini, you could turn off apps to save battery power by double clicking the control button and then holding your finger on the app button until the minus sign appeared.  That doesn't work anymore.  How do you turn off the apps wit

    Before I upgraded my iPad mini, you could turn off apps to save battery power by double clicking the control button and then holding your finger on the app button until the minus sign appeared.  That doesn't work anymore.  How do you turn off the apps with ios7

    Now you swipe downward, the app will appear and you delete, keep scolling to the right as in the past.  With the new operating system you also swipe downward to get the search bar to find an app

Maybe you are looking for

  • SOLVED: Suspend not working on a laptop

    I have Asus A53U laptop, running all the latest updates and KDE I can't suspend the system truly, it only really turns the screen off (fan is still running and and the LED is not blinking as it is supposed to) Running pm-suspend switches me to text m

  • How to handle the multiple line items in the Inbound idoc FM

    Hi , Can any body give me how to handle the multiple line item in the idoc when we reprocessing it from workitem.... Thanks in Advance,,,, Regards, Bharani

  • I use an A4 Tech Mouse which has a zoom in/out function which has worked fine until now.

    The zoom function still works from the browser menu (Ctrl+ +/-) but no longer works via the mouse. This (wireless) mouse uses the A4 Tech 2X -Office Mouse Driver 7.80.0.6 Driver which still works with Microsoft Office, Paintshop Pro, IE8 etc, as norm

  • How to handle this Rework Scenario.

    Hello friends, Following is the rework scenario that is in Pharma. My client produces finish product quantity extra than required. Suppose i have order of 1,00,000 tablets. Production order is created and production is completed. Suppose for this ord

  • How to portfoward with other ip then range?

    Hi! Im having trouble portforwarding a ip from hamachi on my Aiport Extreme. I know you can change ip range from 10.0.1.xx to 192.169.xx etc, but its not really what im looking for. When I want to portforward a program or game, am I stuck to choosing