Simple question: COMPUTE_BCD_OVERFLOW - how solve?

Hi,
I have a really simple problem but in the moment I can't find the right solution, so I hope you can give me a hint...
I try to calculate a percentage-value based on 2 given amounts (of money). So my codings looks like this:
diff_amount  = amount - amount_comp.
  IF amount NE 0.
    diff_percent = diff_amount / amount * 100.
  ELSE.
    diff_percent = 0.
  ENDIF.
I use own data-elemnts in de DDIC for the definition of the variables. So for the amounts I use the domain of SAP WERTV8 (this is type P) and for the percentage I use an own domain with DEC (length: 5, decimals: 2).
Now if there are high values in the amount-fields( going into the millions)  I get an dump because of COMPUTE_BCD_OVERFLOW. But now I don't really know which data elements to use to implement such a simple calculation?
Please help me! Thanks a lot
Merry X-Mas
Markus

Hi,
thanks for your answer, do you mean I should define a field based on character values and should give the value of the calc to this field? Or did I misundertand you?
Because I don't think that could be a solution?
Greets
Markus

Similar Messages

  • Very simple question about how to change a specific field in a table

    Hi,
    I'm working with a simple JSF web application, I have just drag a table, the "travel" standard example, and I just had 3 columns, one with a drop down list, other with a static text field and a Button.
    Then I introduced the following java code in the Button:
    public String button1_action() {
    int quantity=Integer.parseInt(dropMenu.getValue().toString());
    quantityChosen.setValue(quantity);
    When the button is pressed, I can print and check that the value obtained is the one selected in the drop down list, of the respective row.
    The problem that I would like to write it in the respective static text field (in the same row) where the button was pressed.
    What happens is that it write the value in all the column. So it reads from the write place and then write in every column?
    How to write in the respective row?
    Thanks in advance, Junkeira

    Hi,
    I'm working with a simple JSF web application, I have just drag a table, the "travel" standard example, and I just had 3 columns, one with a drop down list, other with a static text field and a Button.
    Then I introduced the following java code in the Button:
    public String button1_action() {
    int quantity=Integer.parseInt(dropMenu.getValue().toString());
    quantityChosen.setValue(quantity);
    When the button is pressed, I can print and check that the value obtained is the one selected in the drop down list, of the respective row.
    The problem that I would like to write it in the respective static text field (in the same row) where the button was pressed.
    What happens is that it write the value in all the column. So it reads from the write place and then write in every column?
    How to write in the respective row?
    Thanks in advance, Junkeira

  • Simple question. How do you reset an ipod to a new user??

    A friend gave me his old 4th generation ipod and I have
    downloaded the current version of iTunes, and now I would like to erase all his music, data and name etc and put in my info, songs and data. My question is.....How do you erase all current data and reset the ipod for a new user, without downloading iTunes once again, since I have imported most of my songs and ebooks into iTunes already?
    cheers

    "I would like to erase all his music, data and name etc"
    Then you need to restore the iPod.
    See: Restoring the iPod to factory settings.
    If you want to put your name on the iPod, see :http://docs.info.apple.com/article.html?artnum=60952">How to rename your iPod.
    Then simply connect the iPod to iTunes and let iTunes automatically update the iPod with all your music.

  • Simple question(?): How to read parameters in JSP?

    I am trying to get a parameter passed to my JSP script through an URL like this:
    http://www.somewhere.com/cgi-bin/myscript.jsp?variable=test
    How can I read the context of the variable "variable" within the JSP code? The content must be placed in a string... Is there any way to do it?
    I tried to find this info everywhere, and I thought it should be the most basic thing on earth, but nada. Any help would be greatly appreciated!

    I am trying to get a parameter passed to my JSP script
    through an URL like this:
    http://www.somewhere.com/cgi-bin/myscript.jsp?variable=
    est
    How can I read the context of the variable "variable"
    within the JSP code? The content must be placed in a
    string... Is there any way to do it?
    I tried to find this info everywhere, and I thought it
    should be the most basic thing on earth, but nada. Any
    help would be greatly appreciated!
    To get the parameter use
    String something =request .getParameter("variable");

  • A simple question?-how can I find out a cron job finishing time?

    Hi, everyone:
    I have a cron job for export, I know it starting time, how could I find its finishing time? anyway, I have check the log, but no answer.

    at the end of the script append the end date and time to the log file.
    echo "JOB COMPLETED AT `date`" >> x.log
    $more x.log
    JOB COMPLETED AT Mon Jan 22 16:04:16 EST 2007
    As your job is an export, export dump timestamp would give you the end time. Do ls -ltr on the dump file, the date time should be the completed time of the export.
    $ls -ltr exp_test.dmp
    -rw-r--r-- 1 oracle dba 2048 Sep 11 14:19 exp_test.dmp
    Message was edited by:
    Ranga
    Message was edited by:
    Ranga

  • Probably simple question on how UCCX works

    Does UCCX actually handle the phone call, or does it drop it off to Call Manager when an agent takes the call?  The reason I'm asking is because we're having complaints about queue calls dropping and Agent Desktop loosing connection and then reconnecting a few seconds later.

    OK, that's what I thought.  The others in IT think that UCCX handles all of it, but I told them that when an agent answers the call CUCM takes over.  The dropped calls aren't UCCX's problem as much as it would be CUCM's problem, but the issue seems to only be happening to our tech support people who are using 7925g phones.  One other person with a 6941 in the same area reported a couple of dropped calls as well.
    Thanks for the quick response!

  • Simple question - make an image the original size

    Hello everyone. I have a very simple question. How do I make an image that I have inserted into a pages document display at the original image size. I have selected the image, brought up the inspector and selected the Graphic inspector but it does not seem to give you that option.
    You would have thought this would be easy wouldn't you? I am seriously considering going back to microsoft office at this rate!!!

    Hello
    Don't drop Pages for that
    If the picture is not at its original size a button is active.
    If the picture is at its original size the same button is greyed.
    If it is too simple, you may *go to "Provide Numbers Feedback" in the "Numbers" menu*, describe what you wish.
    Then, cross your fingers, and wait for iWork'09
    Yvan KOENIG (from FRANCE jeudi 17 janvier 2008 22:17:18)

  • Simple question:  I want to use iCloud as a back up disk for my documents folder.  How can I do this?  If I cannot do this, why am I paying for access to "the cloud?"

    Simple question:  I want to use iCloud as a back up disk for my documents folder.  How can I do this?  If I cannot do this, why am I paying for access to "the cloud?"

    iCloud does not provide general file storage or backup, so you cannot back up your Documents folder using it. You will need to find a third-party alternative - this page examines some options (some are free):
    http://rfwilmut.net/missing3
    iCloud at basic level, with 5GB is storage, is free: you only pay anything if you want to increase the storage space.

  • Simple Question: How to search for a date value in SELECT

    Probabily a simple question, but in a SELECT statement, how do you do a search for a date value in the WHERE clause?
    example:
    Select * From Example
    Where date = 01/01/2001
    I know its not as simple as that, but what change has to occur to make it do what that example implies?
    Thanks In Advance.

    If you want to avoid the conversion part(to_date) you will need to specify the date in the format as ur nls date format.so the same query might not work if you change ur nls date format.
    so it is advisable to give it in general format.
    ie where date_col=to_date(01-01-2000,'dd-mm-yyyy')

  • Simple question .... how to add photos to the body of my EMAILS -Found 1000 results for How do I add photos to my emails for Thunderbird

    Simple question - How do I add photos to the body of my emails . But instead of the answer - Found 1000 results for How do I add photos to my emails for Thunderbird. There are answers that don't apply at all to the question in anyway. Why does it have to be so hard to get a simple answer to a simple question?
    Thunderbird is acting much like Microsoft, the every reason I dumping MS Live Mail.

    First of all, much help for Thunderbird refers to menus which may not be visible. It would help you and us if you have your menus and toolbars visible.
    http://chrisramsden.vfast.co.uk/13_Menus_in_Thunderbird.html
    So, open a write window. Enable its menu and toolbar(s).
    Now do you see an "Insert" option?
    If not, you may be set to compose in plain text, which does not support embedded images.
    '''[http://kb.mozillazine.org/Menu_differences_in_Windows,_Linux,_and_Mac Tools|Account Settings]|{select account}|Composition & Addressing''' and ensure "Compose messages in HTML format" is ticked. If it wasn't already ticked, go back to composing a message. Any better now?
    Once you have HTML composition mode going, you can use '''Insert|Image''' or various permutations of copy-and-paste and drag-and-drop into your message body.
    A manual, of sorts: http://en.flossmanuals.net/thunderbird/composing-messages/

  • Hi I,m Wonkeun Kim. Could u give me a hand to solve the problem which now i forget answers of my security questions. How should i do to reset my answers??

    Hi I,m Wonkeun Kim. Could u give me a hand to solve the problem which now i forget answers of my security questions. How should i do to reset my answers??

    Forgotten Security Questions / Answers...
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
    Or Email Here  >  Apple  Support  iTunes Store  Contact
    More Info >  Apple ID: All about Apple ID security questions
    Note:
    You can only set up and/or change a Rescue Email Before you forget the questions/answers.

  • Very simple question, how do you configure windows 8.1 to use a SF card as the default install location for software applications?

    Very simple question, how do you configure windows 8.1 to use a SD card / external drive as the default install location for software applications? Primarily interested in apps installed from the windows store. This should be available in the settings
    charm within the windows store. This must have been overlooked in the development of windows 8.1 or is a bug.
    Regards, Bill
    * update
    I've tried modifying this key and the path:
    “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx”
    http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_store/how-do-you-install-apps-in-windows-8-from-the/c4fbe2a8-fd3d-41c1-b9a6-6f881eed374f
    Also tried using symlinks as detailed here:
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral

    Here's some links I've used to try to figure this out:
    http://social.technet.microsoft.com/Forums/windows/en-US/2dfc0cd9-7d1b-41de-abce-e03fb6a5a383/metro-apps-not-working-in-windows-8-pro-x64-after-moving-users-and-programdata-folders?forum=w8itproinstall
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral
    http://social.technet.microsoft.com/Forums/windows/de-DE/f5e33ac9-beab-4b99-b3ca-7cb5e6f415e4/how-do-you-change-metro-apps-default-install-location?forum=w8itprogeneral
    Regards, Bill
    The registry method does not work with 8.1.  I found this out the hard way.  Doing it on 8.1 will leave you reinstalling the OS if you didn't do a SRP beforehand.

  • HT4753 I have a very simple question: how do I view where Lion has autosaved my current version to (without the convoluted route of using finder)? In days gone by i'd simply use the save as function to see where it was being saved.

    I have a very simple question: how do I view where Lion has autosaved my current version to (without the convoluted route of using finder)? In days gone by i'd simply use the save as function to see where it was being saved.

    It's actually even easier than using Save As to see the full path to the currently open document. Just do a "Secondary click" on the document title in its window's title bar.
    Like you, I relied upon Save As my whole life to check a file's location and considered it a must-have capability. Turns out it's even faster to use the single-click method to reveal the full path to the open document. It displays the entire path to the current document starting from the level of your Mac, and works for files stored on drives as well as iCloud.
    If you're not sure how to do a secondary click, go into System Preferences, select Trackpad, Point & Click to find the current preference for secondary click on your Mac. If you happen to have a mouse with more than one button, it's probably the right button. As a trackpad user, I check the box to "Click or tap with two fingers," so a simple two finger tap on the title of an open document reveals its full path. This feature actually has been around for a very long time.
    Note that this is not the same thing as the Autosave and Versions menu, which is exposed using a little drop down triangle to the right of the title. There is no visual clue for the presence of this feature - you just have to know it's there, probably because this feature goes all the way back to pre-OS X days.

  • Simple Question - How do I deploy custom taglibs to Oracle 9iAS r2?

    Simple question.
    There are lots of simple examples on JSP custom tags that have
    a .tld file, a .java file with the handler class, and a .jsp
    file that calls the custom tag to test it.
    My question is, lets say I have a .tld file, a .java file and
    a .jsp file for a tag example. How do I deploy them to
    Oracle 9iAS r2? I'd like to code an example and deploy it,
    but I'm stuck. I'm using Jdeveloper 9i, and have compiled the
    .java file and included it and the .tld in a Custom Taglib JAR.
    How is this JAR deployed to Oracle 9iAS, considering that the
    Enterprise Manager only deploys WAR and EAR files? How do
    a configure a web app to use the custom tags...
    This should be simple -- maybe its too simple so I'm stuck!

    check out ojspdemos which comes with the product.
    Also see
    http://otn.oracle.com/tech/java/oc4j/doc_library/902/jsp/taglibs.htm#1004903
    -Prasad

  • How can a question marked as "solved" be restored to unsolved status?

    How do you remove the “This solved my question” status icon if the answer turns out to be wrong?
    Variations of this question can be found in a few discussion threads in the Apple Support Community. I found one very similar question marked as “This solved my question.” Unfortunately the answer was, “It can't be changed.” I have reasons for trying to, at least, get a more definitive answer.
    A primary purpose of these discussions is to resolve issues. It is very frustrating to read through long threads that claim to have an answer, only to find that the question was mistakenly marked “solved.” I spent over an hour on a thread that was marked as resolved. The member that made the mistake wanted to remove the “solved” status--even asked for help several times. I finished the thread just in case either issue was resolved. No, neither issue was resolved.
    May someone, Apple if necessary, explain how to revert the “solved” status or help fix the problem? If it is a known issue with no workaround, it would be very helpful to have an explanation. Accordingly, are there plans to fix this problem, and a rough idea when? This could be a “This solved my question” hallmark worth celebrating!
    Caution: This discussion or parts of it may be revised or deleted while I attempt to find a solution or workaround. Once I've given up or the issue is resolved, I will indicate so, even if it requires a repost. Relevant contributions will be indicated either way.

    leonieDF and  seventy one pointed out, (paraphrasing) all posts can be helpful in some way, even if the original owner of the discussion didn't get their question resolved.
    Maybe if I keep using this tool I'll change my mind, but most of the time I'd rather save time getting something solved than not.
    If anyone believes there are legitimate reasons owners and participants of a discussion would benefit from the ability of the owner to reset the solved status, you're welcome to chime in.
    These excerpts from my original post express why I think a change is needed:
    Stiltskin!: “The member that made the mistake wanted to remove the “solved” status--even asked for help several times. I finished the thread just in case either issue was resolved. No, neither issue was resolved.”
    Stiltskin!: “I didn't find any entry in that thread with an answer to revert the icon. So I got the idea it wasn't common knowledge because so many posters asked the owner to fix it even though the owner kept asking how to do it.”
    A big part of why I started this discussion is because I noticed others (and myself) expressed interest in this feature (owner ability to reset a discussion's solved status). If anyone want's to respond to that, please do.
    Nobody's brought it up but my discussion's header question doesn't express what I'm talking about now. I would change it if I could. I'd encourage future contributors (if any) to read through the explanation of my question in the first post to understand my perspective beyond "How can a question marked as 'solved' be restored to unsolved status?"
    Thank you all for your input!

Maybe you are looking for

  • How to create plugin modules ?

    I have a swing gui with a textfield and textarea in a frame. Some command is entered into the textfield and a method within the frame's source code would be called to match the command to a set of if else loop to see if the command is correct before

  • I can't find the fox for the custom personas option menu.

    I want to wear my own custom persona for my firefox browser, nut I can't find the fox they are talking about. Quote: "Option 1: Test on Your Own Computer Within the Personas menu in the bottom left of the browser's status bar, you can enable an "offl

  • Why can't I connect to iTunes Store on my iPad or iPhone?

    I can't seem to connect to the I tunes store to make an app purchase...please help!

  • How to install Japanese Language Input??

    I got a BB Tour with Verizon but they do not have a Japanese input, they only provide a reader.  I need to type and read. How would I go about in installing just an Japanese input, is there a standalone download?

  • Windows CE 6.0 BSP for Virtual PC

    I am looking for a Windows CE 6.0 BSP for Virtual PC. Many sites in the internet, such as the following Windows Embedded Blog entry comment there is such a BSP available: http://blogs.msdn.com/b/mikehall/archive/2009/05/21/download-windows-embedded-c