Negetive signe prob for a amount field

i m selecting data from DBtable into my internal table there i have a field type packed length 15  in the table i have  negetive amount like (152523 -) . i want to place the negetive sign from the suffix to the prefixx.
means (- 152523) i can do this but i want to know the best possible way to do this without modifying the DBtable fields .
waiting for your reply
Message was edited by:
        pawan kumar jha

I also had a similar problem. My problem was for currency field and I had to display it with negative sign in front as well as I need to use the same for subtotals. What I did was: I had declared that field in internal table as character and then that negative sign will be in front. I had used ALV method to display the same. Then while adding that column in  the fieldcatalogue I have metioned fieldcat-datatype = curr, then it worked for me.
You can also try it in same way by decalring that field as character in your internal table.
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers

Similar Messages

  • How do I resolve: Field Selection dialog [Pick... button] in "Mark as read-only" section of Signed tab for Digital Signature field is not working

    I am using Acrobat Pro X on Windows 7 Enterprise x64 to create a form. When I have a simple form with a few fields, I am able to use the "Pick..." button to select the fields I want to select, but in a more complex form (20 fields with 3 Signature fields) The Field Selection dialog does not work. I can make the selections, but they are not saved. Removing fields does not resolve issue. IF I start with a blank form and add a few fields, the dialog will work, but after adding more, it quits working. Reader XI is also installed.

    And that is why many responders use only the custom JavaScript calculation option.
    The UI for the select fields and simplified field nations are only a way to pass field names to a JavaScript function that performs the actual calculation. Sometimes these functions call other functions and pass the parameters can lead to errors in the attempted code.
    I would start to learn code JavaScript for Acrobat.
    The pick field dialog is for performing calculations involving sums, products, averages, minimum, and maximum. I am not sure how that would work with a digital signature. Once a signature is applied the form fields could be locked.

  • Table name for the AMOUNT field in header details of costomer invoice

    hi experts,
                    I need the table name for the field AMOUNT(wrbtr) which is in header details in fb70 tcode .I have checked many tables like bseg bsid,  there its showing the amount but at item level.

    Hi,
    the table behind structure INVFO is RBKP (Header level).
    For item level you have table RSEG.
    These tables refer to MM.
    Once the MM documents are completed and you post the corresponding invoice RBKP data goes to BKPF and RSEG data goes to  BSEG data.
    The relattion between MM(RBKP/RSEG) and FI(BKPF/BSEG) documents is in field BKPF-AWKEY. This field usually contains (RBKP-BELNRRBKP-GJAHR that is MM documentMM year).
    e.g. (BKPF-AWKEY = 51056024412009)
    Best regards.

  • Disable input (Grey color) for the Amount field for TANN item category item

    Hi All,
    I want to disable the input of pricing field in Sales tab in VA01/VA02 for the TANN item category line.
    Now I can ZERO the pricing field, but cannot disable the input.
    Please help.
    Thank you very much.
    Terry

    I've done by User Exit MV45AFZZ
    form userexit_field_modification.
    Thanks.

  • Payment check amount field

    Hi;
    I've already made a Z for payment check and works fine, but we have notice something when preview the checks in the spool, some checks in the amount (in numbers) field "*****999,999.99" sometimes it´s moves like this:
    1) example                                    "......******999,999.99"
    2) example                              ".............******99,999.99"
    3) example                                   "....******999.99"
    and so....
    in DEV we made a lot of test printing in paper the payment check an worked fine, but the problem is in QAS.
    How can i get that the amount doesn´t move in the sapscript...?
    Thanks on advance,
    David Fúnez
    Tegucigalpa, Honduras
    Edited by: David Funez on Feb 23, 2012 9:27 PM
    Edited by: David Funez on Feb 23, 2012 9:27 PM

    Hi David,
        create a SIGN aligned tab for that amount field. The tab is nothing but the position in the form from where the printing of that particular field should start.
    This should solve your problem.
    Please revert if you still face any problems.
    Regards,
    Praveenkumar T.

  • Custom module pool + Amount field decimals display same as standard screen display

    Hi All,
    Requirement: A custom module program screen field has to be designed which displays decimal values of amount fields same as amount fields in standard screen.
    Standard screen behavior: If the standard screen fields are observed, they refer to data elements WRBTR or AZSOL_F05A (transactions FB50/FB03/FB01). However, number of decimal places that are visible on screen are dependent on the currency that is provided.
    Both the data elements have 2 decimal places.
    For currency USD two decimal places are displayed - in TCURX - decimal places are two.
    For currency JPY or CLP - zero decimal places are displayed  - in TCURX - decimal places are zero.
    i.e., even though the screen field refers to data element or domain that has the characteristic to show 2 decimal places, based on currency, decimal places are adjusted.
    I would like to know how this is happening on standard screen fields.
    Solution Required for: How to make the custom screen amounts to display same number of decimal places as standard screen amount fields.
    P.S: Before posting the query here, research has been done in SDN and other places. It has been identified that quantity fields adjustments are discussed. However for amount field even though discussed earlier, did not reach a conclusion.
    I would like to get a solution for this one.
    Thanks in advance.
    Goutham.

    Thank you all for taking time to take a look at this query.
    This issue has been resolved.
    Resolution: If the standard transactions (FI transactions in specific) are observed, whenever there is a field that displays amount value, there will be a corresponding field (may not be beside the amount field, somewhere on the screen or in the same sequence of screens) where the currency key value would be entered.
    For instance, if you look at FB50 - there is field on top for the user to input currency key value (like USD or CLP or INR).
    When any amount field is declared - this currency key field is provided as the reference field in the screen attributes of the amount field.
    In short, in the custom module pool program, provide a field that holds currency key value and use this field as reference field for the amount fields.
    Do repond to this thread if the resolution is not clear.
    Thank you all once again.
    Goutham.

  • Amount field in Quote Products

    Hi
    Can you change the built-in Amount field in Quote Products to add a calculation from a custom field?
    Kind Regards
    Andrea

    Chen,
    if table x is a dictionary table, you are frorced to give the currency key field for the amount fields..
    If you use WRITE for output, it is WRITE amount CURRENCY curr
    if you use ALV, you have to link the fields in the field catalog (<alv_fieldcat>-cfieldname = 'CURRENCY_FIELD')
    Regards,
    Clemens

  • Sum of amount field in the Query

    Hello folks,
    I have a amount field in the query, along with the amount field I also need to show sum of all the rows for this amount fields, can some one guide which is best way of doing it?
    Thanks,
    KK

    Thanks for the response's...Rama, Prasad and Sandesh!
    I have changed the Property of the Amount field (SAP Standard Infoobject) to Calculated Result as 'Summation' but when I tried to save the changes in Query designer I am getting following error
    runtime error '91'
    Object variable or with block variable not set
    runtime error '4XX'
    ActiveX component can't create object
    And its disconnecting from BEX Server...how can I resolve this error?
    Thanks,
    KK
    Edited by: kumar K on Aug 21, 2008 10:46 AM

  • Regardin the commas appearing in the amount field

    Hi all, 
            I have zfield which is of type CURR16 in a ztable. So this stores the amount in the form of 30,00,000.00 i.e, it is displayed wth comma's for the amount field.
            Now i need to fetch this amount field into a particular cell in the webdynpro component. The amount  is being fetched correctly but the comma's are not being displayed(3000000.00) in the Webdynpro component.  This cell is declared as CHAR10. Can any one suggest like how to make this cell displayed with comma's.
    Regards,
    Kalyan Chakravarthi.M

    Hi
    Declare the cell with the same dataelement which you used for the zfield instead of char10.
    Regards
    Tamil

  • Changing SIgn for Amount field

    Hi:
    We have a requirement where we need to change +/- sign on amount field in Infocube during the data loading. How this can be done?
    Thanks

    Hi Sunil,
    In the update rules, in the key figure you want, instead of assigning a source key figure from communication structure (first option), select the formula  and press create. Name your formula, and then, in the formula editor, double click your key figure so it appears in the upper part. Then press the * button. and finally press constant button and enter -1 in the text box it appears. This should do it.
    Hope it helps.
    Regards,
    Diego Lombardini

  • Adding -ve sign to amount field.

    Hi all,
    I have an amount field . I want to add -ve sign to it and then perform addition or substraction using that field.
    I have added -ve sign to the field by declaring another variable as character type, but i am not able to use the field for adition or substraction since its a character field.
    please help.
    Thanks,
    Bharat.

    Hi Bharat,
    In order to put the '-' in front, you must have a character field. The reason for the * is because the field is not big enough to hold the value. So make the character field a length of 12, move the type p to the type c, and use the function module which i have mentioned.
    function module
    CLOI_PUT_SIGN_IN_FRONT
    Reward If helpful.
    Regards,
    Harini.S

  • How to supress sign after the amount field

    Hi All,
    How to suppress the sign after the amount field is it using only no-sign or any other ways are there for doing that?
    Regards
    Mahesh

    Hi,
      Please use the Variable type BSEG-DMBTR, which does not support any sign. <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 20, 2008 2:07 PM

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

  • Amount field for Budget Bill accounts

    Hello Experts,
    I am using EABP to find out if a CA is on Budget Billing (BB) or not. Now I also want to find the amounts for the same CA.
    I could not see any amount field in EABP or ERCH tables.
    Is there a table or an FM to get the amount field.
    Thanks

    Hi Ricky
    DFKKMOP has the installment amount.  It only has 1 row per plan, unless there have been changes to the installment amount.
    Regards
    Astrid

  • How to club the amount field for the particular customer from file

    Hi ,
    In my BDC i am getting the Amount field which is need to be put in the Header data . For 1 Customer there are more than 5 line in amount field in the Excel file.
    For the Particular Customer , I need to club all the amount ffield and put it into the Heade data for the customer.
    How to do this .
    Thanks

    got answer

Maybe you are looking for

  • Oracle 10g (10.1.3.1.0) ant-oracle-classes.jar

    Hi, I dint find Ant Task for stopping/starting/restarting the Oracle Application Server, but the http://download-uk.oracle.com/docs/cd/B31017_01/web.1013/b28951/anttasks.htm#BEIHFIIC specifies that you can do so with the Ant Tasks. I went through "an

  • When we will go for BPM

    Hi, I want to know when exactly we go for bpm and how to work simple bpm scenario.

  • Errors in archive shipping in a standby environment 10.2.0.4

    Hi, I've problem with a standby configuration with real time apply. For month everything works fine, then one day the log shipping from primary to standby fails with error 3135 and sometimes with 1041 and 12571. There's no change in the configuration

  • Flash Interface for Data Input - Good Examples?!

    Hello, I'm interested in locating samples of how a Flash graphic interface can be used as a way to more effectively engage users for inputting data collection - in contrast to a less engaging data collection form.  Please let me know any examples you

  • How to fix Facetime if you have a Vonage Router & Windows 7

    How to fix Facetime on Vonage Router with Windows 7: You need to add these to addresses (8.8.8.8 and 8.8.4.4) to the DNS Settings Here's how in Windows 7 Go to Local Area Connection, then Rightclick and choose properties. Then, select the Internet Pr