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.

Similar Messages

  • 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

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

  • 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

  • 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

  • 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 at the end of the value, Need to get Preceeding minus sign.

    Hello gurus,
    I am using following code in web dynpro to get data from a FM and downloading it to excel.
    for the numeric values I am getting minus sign at the end of the value in excel. but If I display the value in alv, it is coming fine. Please let me know where I am going wrong.
    ex: 4568-
          CALL FUNCTION 'Z_EXTRACT'
            EXPORTING
              extract   = z_extract
            TABLES
              it_data       = tab_et.
          DESCRIBE TABLE tab_et.
          IF sy-tfill GT 0.
            CLEAR: text, xtext.
            DATA :    v_fore9ldepl(17)      TYPE n.
            LOOP AT tab_et INTO rec_et.
             MOVE:
              WRITE:  rec_et-fore9ldepl TO v_fore9ldepl DECIMALS 3.
              CONCATENATE  text '1'
                                rec_et-z0g_cwwter                          
                                v_fore9ldepl
                     cl_abap_char_utilities=>newline INTO text SEPARATED BY ','.
                      cl_abap_char_utilities=>newline INTO text SEPARATED BY
                      cl_abap_char_utilities=>horizontal_tab.
            ENDLOOP.
            CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
              EXPORTING
                text   = text
              IMPORTING
                buffer = xtext.
            CLEAR:  filename, wa_files.
            CONCATENATE 'EXTRACT'   '.XLS' INTO filename.
            wa_files-content = xtext.
            wa_files-filename = filename.
            APPEND wa_files TO files.
      DATA izip TYPE REF TO cl_abap_zip.
      DATA output_file TYPE xstring.
      CREATE OBJECT izip.
      LOOP AT files INTO wa_files.
        izip->add( name = wa_files-filename
                    content = wa_files-content ).
      ENDLOOP.
      output_file = izip->save( ).
      CALL METHOD cl_wd_runtime_services=>attach_file_to_response(
      EXPORTING
      i_filename = 'TEST.ZIP'
      i_content = output_file
      i_mime_type = 'ZIP/APPLICATION'
           i_in_new_window = abap_false
      i_in_new_window = abap_true
      i_inplace = abap_false ).

    Hi,
    In the Context attribute tyr to use the properties of formatting where you can have the MINUS sign in the front of the value..
    If this is working fine then when you use any standard export of ALV the same (AS iS) is shown in Excel right...
    Regards,
    Lekha.

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

  • HT5137 Words with Friends has frozen. After double clicking the home button, swiping or pressing the icon does not bring up the minus sign.

    On my IPad Words With Friends has frozen. I have double clicked on the home button and identified the WWF icon. When I press and hold or swipe vertically the icon darkens but does not shake or bring up the minus sign. Any suggestions?

    Force close apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen
    http://support.apple.com/kb/ht5137

  • My iMac keeps typing a minus sign. I switched my wireless keyboard for a plug in Windows keyboard, and it keeps typing this one character. I took the batteries out of the Mac keyboard, so that is not the problem. I am running Mac OS X 10.6.8.

    my iMac keeps typing a minus sign. I switched my wireless keyboard for a plug in Windows keyboard, and it keeps typing this one character. I took the batteries out of the Mac keyboard, so that is not the problem. I am running Mac OS X 10.6.8. In parallels, I don't have any problem, just on the Mac platform.

    tebasj wrote:
    Thanks for your observation. I realize they are different versions, but when I use the "Software Update" menu, this is as far as it would update. Is there some way to update the iMac beyond what "Software Update" does? I've tried it several times.
    Please Note.
    Upgrading OSX 10.6.8 (Snow Leopard) to 10.8.3 (Mountain Lion) is not an update. It is a paid upgrade. Just as with 10.7 (Lion) you must purchase it from the App Store with yor Apple ID and install it after backing up your current computer state for safety.
    Cheers
    Pete

  • When to export a numbers file to csv the minus signs don't work with R

    Friends,
    I have trouble getting the statistic program R to read my exported CSV-files from Numbers.
    The minus sign doesn't work, R reads it as a factoric input rather than numeric.
    Does anyone have a tip how to reformat this?
    Jocke

    Wayne, actually, I'm not sure but I think that factoric - or factorial is the denomination that R uses to say that somthing is rather a text than a numeric number - I'm pretty new to R.
    But, anyway, we solved the problem but in a lillte bit of an awkward way.
    The problem is that the minus sugns in numbers is percieved as dashes in R
    (http://www.R-project.org, a free-ware statistical analysis program)
    So where there is a numeric input with a minus sign R thinks it is a letter rather than a number.
    We solved it by exporting the numbers file to CSV, opened it in text editor, copied the suspisios minus sign and pasted it into the search field to find all dashes/minus sign that didn't work and replaced them with a minus sign. After this operation, nothing different could be seen in the text but R saw the difference.
    So this makes it difficult to explain by posting a screenshot - it looks the same but it isn't.
    The funny thing is that the dashes that numbers use when to express a date are percieved as minus signs by R.
    Can anyone understand what I tried to explain? And if so, is there a simpler way to do this? We have a lot of minus signs to export to R.....
    best regard
    Joachim

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

Maybe you are looking for

  • Unable to allow remote control and deny transfer files in RM

    Hi, we're running ZCM 11 SP1 and I have a question about assiging rights to non-Helpdesk users for remote control only for user application support. It looks like if I deny transfer files that the button for remote control automatically changes from

  • Is there a way to prevent the display from waking up?

    is there a way to prevent the display from waking up when using the (play, next, volume up/down, etc.) keys for itunes?

  • $ORACLE_HOME/appsutil/clone folder missing on DB Tier

    Env - APPS Tier - SLES 10 - SP3 - 12.1.2 DB Tier - zO/S - s390 - SLES 11-SP1 I'm missing my $ORACLE_HOME/appsutil/clone folder on the DB tier Here's the catch - this instance was upgraded to 11gR2 in Sept - and I followed the steps to "Implement Auto

  • Bluetooth off on wake up

    Whenever I wake up my P55-A5200 the Bluetooth is off and I cannot get it to come back on.  Under the airplane mode the toggle is greyed out and it doesn't show at all in device manager. I have to reboot to get it to turn back on. HELP!!!

  • Using API - move course from subsection to another?

    Is it possible - using web services / Java API - to move a course from one section to another? If so, which methods should I use? Either it is a single command (which I could not find), or it is a procedure by which where you recreate an entire album