Numbers with negative sign

Hi,
SAP send value to XI as 100.00-
In XI, I send this to standard subtract function where it expect this as -100.00
Which is the good way to move the negative sign to the left ?
Please do note there coould be situation where this value can come as positive so I have to take care of both situations.
Thanks in advance.

Hi,
Check with the below mapping
src--------------\
  Constant[-]-----| replaceString-----neg------
  Constant[]----/                             |
                                              |
                                             then
src---------------\endswith-------------->if         --------->tgt
Constant[-]-------/                          else  <---------src

Similar Messages

  • The option 'Display Credit Balance with negative sign" was not activated.

    I've encountered with a huge problem after load opening balance.
    I forgot to tick the  option 'Display Credit Balance with negative sign"
    It makes my client's Chart of Account  uncommon such as credit balance in Cash Account, AR .....
    However, I've search the sap  note to solve it  as follow:
      Description of the bug::     
    When creating the company in the system the option 'Display Credit Balance with negative sign' was not activated.
    Once transactions were created in the system the functionality can not be changed.
    Limits of the query:     
    After running the update query, please restart SBO first and then   run the restore 'GL account and bp balances';
    otherwise, the cashed value of SBO will not be updated and restore function may not take effect.
    1. Meaning of  restart SBO => restart SBO Service Manager right?
    2. Please help me please to find "The restore G/L account and bp balances" form.  Where is it?;
    Thank you

    Hi,
    I would think that you are following the PEQ instructions for note 970813, correct?
    If this is the case and you are using 2007 then you will find the restorev in the top menu; Help -> Support Desk -> Restore. You will find the functions here. Please note that this should only be used on direct instruction from support or a note like in this case. A backup should also be taken before running restore.
    Regards,
    Jesper

  • Check info "Amount paid is showning with negative sign"

    Hi ppl,
    After the RFFOUS_C program is run and after the check generated, If i go and check the "check inforamtion" in PAYR table. It is showing the paid amount as 2000.00-
    The amount is shown with a 'minus' sign at the end.
    What this means???
    Please help.... Thanks!

    Hi Sri,
    The Amount with negative sign is pulled out from the Payment document against the GL account. This means that the funds are going out or its an outgoing payment.
    Rgds,
    Vinod

  • How to display the number with negative sign in the front in ALV.

    most important, this ALV is also can totalize.
    can someone give me some suggestion?
    thanks   
       jisuwen

    i hope you want a negative sign before a char but holding some number. then that case
    loop at itab.
    concatenate itab-char '-' into itab-char.
    modify itab.
    endloop.
    and you can display in ALV with negative sign...
    Totalling you need to Specify
    DO_SUM = 'X' while populating fieldcatalog...
    If subtotals then you have to Build sort table and based on that you can proceed./.
    examples are there you can find inn SLIS package..
    vijay.

  • How do I activate the 'Display Credit Balance with Negative sign'

    Dear All,
    How do I activate the 'Display Credit Balance with Negative sign'  that is already deactivated ? I checked through Trial Balance and did not find any balance for any BP or GL Account.
    Regards,
    William

    Hi,
    Please check Note No. : [970813|https://b1-support.wdf.sap.corp/sap/support/notes/970813]. The solution is available in the Note.
    Check the link in the Note for solution.
    Hope you are partner. If not, you can contact your partner for further investigation.
    Also, make sure that you have access to the PEQ Wiki page and also that all the instructions mentioned in the PEQ Wiki is followed.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Printing value fields with negative sign??

    Hello Experts,
    I have developed a interface, which writes the invoice data to application server/unix, this is a notepad. My specifications are as below,
    MWSK1(2)   TaxCode                         65     2     KONV-MWSK1     
    KWERT(13)  Condition Value                  67     13   KONV-KWERT     
    KSTEU(1)  Condition Control                80     1     KONV-KSTE
    I have to print KWERT value from 67th position until 13 positions, meaning until 80 positions, fine. My code is as below,
      MOVE: wa_invoice_price-mwsk1  TO unix_file+64(2).
      WRITE: wa_invoice_price-kwert    TO unix_file+66(13) RIGHT-JUSTIFIED.
      MOVE:  wa_invoice_price-ksteu    TO unix_file+79(1),
    So, it printing like below (pls. note 0.04 minus value in right bottom corner)
    P26701ZCG620101006C          100.00         0.00USD  1    UGL            0.00A A 9
    P60001ZF3520101006C          100.00         0.00USD  1    UGLG          0.04-H B 9
    But, business want to have like below (pls. note the DIFFERENCE for 0.04 minus value in right bottom corner),
    P26701ZCG620101006C         100.00        0.00USD  1    UGL               0.00   A A 9
    P60001ZF3520101006C         100.00         0.00USD  1    UGLG             0.04 - H B 9
    meaning, the 13th position should be negative sign (if at all any value does have a negative sign, else its normal)....so, the negative sign should sit on 13th postion. As am using WRITE statement with RIGHT JUSTIFIED am facing thisissue!! as u know we can not send a 'P' type value to unix/apps server, pls. let me know how to get it done?
    Thank you

    why can't the user live with a leading sign, like '-   0.04'?  If possible, do
    shift <fieldname> circular up to '-'.
    Or, if value is less than zero, set another variable to '-', else set to space, and multiply value with '-1', like:
    if <field> < 0.
       lv_sign = '-'.                " neagtive value
      <field> = <field> * '-1'.  "reverse the sign
    else.
    lv_sign = space.          "positive value
    endif.
    then, adjust your field length and insert a sign column or simply add a column for the sign....

  • HFM 9.3 - FR Studio - can't format negative numbers with minus sign prefix?

    How can negative numbers on an account balance report be made to appear with a leading minus sign??
    This is a necessary requirement for generating an export file for loading to our new Tax software, but does not appear to be a format option.

    Have you tried going into Format Cells - Number - Negative Number Symbols - and typing a minus sign in the prefix box?

  • Decimal data type with negative sign

    Hi Gurus,
    I wanted to created a z table with a filed of type decimal with sign.  What I did is I created a field in predifined type with dec type, but -ve sign is not taking at the time of entering the data in SM30. Its saying only +ve values are allowed. Please let me know how can I achieve this. My data will be like -4.1242.
    Thanks,
    David.

    Hi..
    Try using another field as an indicator for negative fields so that you can consider those signs in your program.
    Regards,
    Karthik

  • To mutilpy decimal value with negative sign .

    Hi ,
    I have a decimal value 500.00 and need to multiply it with -1 .
    the result however is 500- . I have made some manipulation to get that sign in front ...now it is -500 , but however Iam losing the decimals. Need the value to be -500.00 . Plz Help
    Regards,
    Sunitha

    Try as :
    data : v_c type p decimals 2 value '500.00'.
    data : v_sign(20).
    v_c = v_c * -1.
    v_sign = v_c.
    concatenate '-' v_sign into v_sign.
    condense v_sign  .
    write :/ v_sign  .

  • Properly displaying currency amounts (negative sign) via WRITE statement

    Dear forumers,
    Using the WRITE statement, how may I properly display a currency amount that has a negative value?
    In my program, the variable, V_AMOUNT to be displayed is originally of the type "WERTV12".
    Using the WRITE statement for this, nothing gets displayed in the screen (blank only).
    So, I assigned V_AMOUNT to another variable of the type "P DECIMALS 2", V_AMT.
    Using the WRITE statement for this, the amount is displayed in the screen.
    But, if the amount has a negative value, the negative sign is not displayed there.
    I.e. If V_AMT has the value '500.00-', only '500.00' is displayed in the screen.
    Finally, I changed the type of V_AMT as type string.
    This works - any amounts with negative sign is displayed in the screen properly.
    But, with this approach, I'm unable to "customize" the display of amounts according to currency, like this:-
    DATA int TYPE i VALUE 12345678.
    WRITE int CURRENCY 'EUR'.
    The output of the WRITE statement is "123456,78".
    Is there a better way to achieve this?

    SAP display amounts/quantities as positive numbers with another field that denotes whether positive or negative.  You could change the value to a character field and put the negative where you need it (or put an additional field next to the amount with the sign)... but using a character field probably would negate the currency display, too....

  • Negative sign display for CURR field in ALV grid report

    I have a field BETRG defined as CURR field of length 15, decimal places 2. The value may be negative or positive. In case of negative values I am using EDIT_MSK option in the field catalog to bring the negative sign to the left of the value as shown below.
    Quote
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = sy-repid
          i_internal_tabname     = 'LT_FINAL'
          i_inclname             = sy-repid
        CHANGING
          ct_fieldcat            = fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
    LOOP AT fieldcat.
        CASE fieldcat-fieldname.
            WHEN 'BETRG'.
            fieldcat-ctabname = ' '.
            fieldcat-cfieldname = ' '.
            fieldcat-edit_mask = 'RRV_______________.__'.
        ENDCASE.
        MODIFY fieldcat.
      ENDLOOP.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_buffer_active    = 'X'
          i_callback_program = sy-repid
          i_grid_title       = 'ABCD'
          is_layout          = gs_layout
          it_fieldcat        = fieldcat[]
          i_save             = 'A'
          is_variant         = gs_save
          it_events          = gs_events
        TABLES
          t_outtab           = lt_final
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    Unquote
    On displaying the report using 'REUSE_ALV_GRID_DISPLAY' as shown above, when the value of BETRG is a smaller number like say 624, then the ALV output appears as '-            624.00' instead of '-624.00'.
    Is there any way that I can remove the space in between the negative sign and the number before displaying the ALV output using 'REUSE_ALV_GRID_DISPLAY'?

    Hi Deepak,
    I tried this and found that this doesn't work in case of currency field. Once you move back the char field (with negative sign to the left and condensed)  to the currency field, the negative sign again moves back to the right.
    I think that the only way a negative sign can be brought to the left of the currenct field is by using edit_mask of field catalog as I have shown above.
    Regards,
    Shayeree.

  • Negative Sign for Asset G/L Account balance

    hi
       I m having one problem....I created the sales invoice for a customer "ABC" of total INR 63000.00 and when the customer paid the amount for that invoice thru "Cheque" .Banking -
    >Incoming Payments and i selected the BP code "ABC" and the invoice related to him get displayed and i choose the related invoice and went to "Payment Means" -
    >"Check" tab
          G/L Account -
    > 124563 ( Initially this account balance is 0.00)
      I entered all the Cheque details and its amount and added that incoming payment.
        After adding when i check the account balance 124563 its showing the balance as -63000.00 , the amount is shown in negative sign
        Company Details
          Display Credit Balance with Negative Sign is unchecked
       Please anyone help me out in making the balance with positive sign
    Edited by: Rajeswari Palaniyappan on Nov 25, 2008 10:00 AM

    Hi Rajeswari
    This is a common error that consultants make when implementing SAP Business One. There is no quick fix for this and the best is to create a new database and re-import all the transactions and masters. Make sure this time that the Display Credit Balance with Negative Sign is ticked.
    Unfortunately this one tick affects the way amounts are posted to the journal tables & others and cannot be fixed manually. You could try raising a support message with SAP but I am sure they will tell you the same thing I have.
    Kind regards
    Peter Juby

  • Negative Sign in Debit (Outgoing Payment)

    Dear Experts,
    I have a problem where the in outgoing Payment (overpaid) showing negative sign in Debit side(- $0.50) , for accounting standard it should be show RM0.50 in Credit side JE if it's overpaid.
    Because of this, it effected the display on General Ledger where showing Debit Side with negative sign and cause the total debit is incorrect.
    Kindly Advise.
    Your reply is highly appreciated.
    Regards,
    Danny.

    Hi Danny
    Normally in SAP B1 :
    For Customers Receivables it shows in +ve Balance ( Debit.)
    For Vendor Payable it shows in -Ve Balances ( Cr.)
    If customer is Overpaid or Given Advance then it shows in -ve ( Cr.)
    If you paid Advance to Vendor then it shows in +ve. ( Debit.)
    I hope you will understand the Behavior of SAP and this is not difference from the Finance Logic.
    Giridharan V

  • Populate negative sign to amount fields

    Dear SDNers,
                          i need to populate a amout in local currency and amount in document currency fields with negative sign based upon debit./redit indicator. that is if debit/credit indicator gives s means we need to populate neagtive sign to for those fields, if it gives H nothing has to be populate.
    this is possible in update rules. plesae provide the code or else posible in bex.
    fields
    /BI0/OIOI_DMBTR-----amount in local currency
    /BIC/OIZWRBTR----amount in document currency
    /BI0/OIFI_DBCRIND----     Debit/Credit Indicator
    need the code for in update rules.
    help me on that

    Hi ,
         i am getting the following the error while checking the update routine
    E:Field "COMM_STRUCTURE-OIFI_DBCRIND" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA"statement.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CSZADPAY.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
    IF COMM_STRUCTURE-OIFI_DBCRIND = 's' .
    RESULT = COMM_STRUCTURE-OIOI_DMBTR * -1.
    ELSEIF COMM_STRUCTURE-OIFI_DBCRIND = 'h' .
    RESULT = COMM_STRUCTURE-OIOI_DMBTR.
    ENDIF.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.

  • Numbers 3 summing cells with negative values

    I am trying to sum a column of cells with postive and negatve numbers but the result does not consider the the negative sign.  It just adss absolute values

    There is something else going on.  I can clearly sum positive and negative numbers:
    Please use this note to post a screenshot of the data in question:
    https://discussions.apple.com/docs/DOC-6591

Maybe you are looking for

  • What does these function codes refer to??

    xd01 xk01 me21 mm01 va01 va02 fk01 xd02 me23 mb03 object browser  whats the t code for this? vd01 customer master creation  tcode?? vendor master creation  tcode??

  • JDeveloper 11g Handbook : Chapter 10 : MDSRuntimeException MDS-00168

    hi If I follow the steps in "Chapter 10: Your First JSF" of "Oracle JDeveloper 11g Handbook: A Guide to Fusion Web Development" (ISBN-10: 0071602380), I get an MDSRuntimeException (MDS-00168) on step 8 on page 359. I tried to find a shorter scenario

  • QTVR and 64-Bit Vista

    My company uses QTVR files extensively in our projects. We recently started buying new workstations with 64-bit Vista. Now none of our QTVR files can be viewed on the new workstations. Apparently this is a known problem and Apple has not addressed it

  • I need to know how to link 2 files in 1 folder

    Can anyone tell me how to link 2 files in one folder?  They are currently in the same folder but I need to link them. Thank you!

  • Recent air sdk (air 4.0 beta) is still not support xxhdpi

    my application is set applicationDPI = '320'. and is working well in hdpi, xhdpi etc devices... but new devices like galaxy S4 is 1920x1080 xxhdpi. air 3.9, and this 4.0 version is not support that dpi, then my app layout is still broken. this bug is