External currency amount too big - unable to convert

Hi Experts,
I am using the FM BAPI_SALESORDER_CREATEFROMDAT2 to create order using a custom program. This program throws an error "External currency amount too big - unable to convert". This message is thrown by the FM BAPI_CURRENCY_CONV_TO_INTERN_9 called inside the original BAPI for Sales Order.
The amount in question is like 1140668720.000000000. Inside the BAPI_CURRENCY_CONV_TO_INTERN_9, there is a condition which checks if max_no_of_digits as 11. But for my amount, the max digits is more than 11, so i am getting the error.
Any idea how to get around this error??
Thanks

Below is the code inside the FM BAPI_CURRENCY_CONV_TO_INTERN_9 where i get the error.
s_amount_internal has value 1140668720.000000000. factor = 1.00
  s_amount_internal = amount_external / factor.
* cosmetic operation for output
  SHIFT s_amount_internal LEFT DELETING LEADING space.
  SEARCH s_amount_internal FOR '...'.
* Check if amount containes a decimal character (AK07/12/2001)
  if sy-fdpos = 0. "string contains no decimal character
*   Check if amount contains a minus sign          JA 19/04/2002
    search s_amount_internal FOR '-'.
      if sy-fdpos = 0.                   "string contains no minus
        sy-fdpos = strlen( s_amount_internal ).               --> here sy-fdpos has value 10.
      else.
        sy-fdpos = strlen( s_amount_internal ) - 1.
      endif.                                        "JA 19/04/2002
  endif.
  i_strlen = sy-fdpos + 2.                              --> here i_strlen becomes 12.
  IF i_strlen <= max_number_of_digits.     --> condition becomes 12 <= 11
    amount_internal = s_amount_internal.
  ELSE.
*   raise external_amount_too_large.                        "S&041
    CALL FUNCTION 'BALW_BAPIRETURN_GET'
         EXPORTING
              type       = 'E'
              cl         = 'S&'                             "QWI300198
              number     = '041'
         IMPORTING
              bapireturn = return
         EXCEPTIONS
              OTHERS     = 1.
    EXIT.
  ENDIF.

Similar Messages

  • Elements 12, trouble restoring the catalogue from an external drive on my new Mac to another external drive - catalog too big for Mac HD.

    I have completed a backup onto an external drive using Elements 12 on my PC running Windows XP. I am now trying to restore this backup onto my new Mac using another external drive as the destination as the catalog is too big to fit onto the Mac internal HD. All seems OK until I click the restore button then I get an error message "The Disc Drive in Mac HD does not contain a valid backup" The file names on the backup drive are visible on the Mac so I presume this backup must be valid so why is there a reference to the Mac HD?

    System Preferences - Sharing. If you cannot find System Preferences, then use Command - Spacebar and type System Preference and when you see it in Spotlight (uper right) hit return.

  • Error in Currency Conversion and calculated conversion rate is too big

    When I am trying to execute the Query,I can see the result but I received below Warning messages.
    Also I am not authorized to check the conversion rate using TCURR.
    1) Calculated conversion rate 301.149,42529 is too big.
    The exchange rate 301.149,42529 was calculated via the base currency USD.This produced a rate which exceeds the maximum allowed value of 9999.99999.
    System response : The Processing can not be continued because the calculated rate cannot be used.
    2) Error occurred during currency conversion.
    You attempted to Convert the currency.The system cannot find the valid currency into which to convert the value.
    The OLAP Processor cannot convert the currency.The drilldown is not changed.
    3) No Exchange rate from TRY to EUR and date 13.11.2009 is found.
    Please reply.
    Thanks in advance!

    Thanks fr the info. that u all hv given ..... I ran one program frm our side which will be updating the transfer exchange rates as u all have mentioned. But then , i am receiving the warnings.
    Also,when i have checked the conversion rates,they r fine.
    Please find the Below diagnosis ,which they hv given.
    Diagnosis:
    The exchange rate 301.149,42529- was calculated via the base currency USD. This produced a rate which exceeds the      maximum allowed value of 9999.99999.
    System Response:
    The processing can not be continued because the calculated rate can not be used.
    Procedure:
    Check the conversion rate to the base currency USD and the exchange rate type E. If the rates are correct, you must agree different conversion factors for the currencies in question (e.g. 100:1 instead of 1:1), so that the resulting conversion rate does not exceed the value 9999.99999.  Notification Number SG 119 .
    Please solve this issue.Thanks in advance!

  • I have my iTunes library on an external HD because it is too big for my iMAC 500GB HD. I want to backup my external HD. Can I do this with any Apple cloud product or should I look elsewhere? Also is it worth just buying another external HD to back up

    I have my iTunes library on an external HD because it is too big for my iMAC 500GB HD. However, it is not backed up, so I need a solution to backup my external HD. Can I do this with any Apple cloud product or should I look elsewhere for cloud products? Will it be cheaper/easier just to buy another external HD to back up my existing external HD? Thanks

    I don't know if this is me adding files to iTunes when the external wasn't connected
    it is.
    is it OK to just keep deleting that library on the Air?
    i wouldn't - at least not until i
    mount the external
    point iTunes media folder location back to the external via preferences > advanced
    consolidate my library via file > library > organize library
    The ntfs hasn't seem to be causing any problems, but I've always wanted to know.
    in order for your Mac to write to NTFS drives, it needs some help by installing e.g. the NTFS 3G driver. apparently that or something similar is installed on your Mac already. preferably, it would be formatted for Mac but then windows machines would need to have e.g. MacDrive installed to recognize the drive.

  • Itunes is too big for my laptop, i moved it to an external hard drive and now it's lost

    My laptop was too slow and the hard drive was full so I added memory and it was still too full. I bought an external hard drive and tried moving my itunes to it. But now itunes can't find any of my music. I tried moving the entire itunes folder onto the external hard drive and still itunes can't find it. I tried moving everything back to the laptop - but it won't accept the file because its too big. Help!

    iPods don't look for the library. iTunes does.
    I recently moved my itunes music folder
    Don't move your music folder.
    Let iTunes do it.
    Point iTunes prefs to the location where you wan tit.
    Then go to menu Advanced -> *Consolidate library*.
    This will copy the iTunes music folder to the location in iTunes prefs.

  • My pdf file is too big to convert!

    I just subscribed to Adobe Export PDF.  I paid $102 to Office Max to scan a 500-page manuscript into a .pdf.  Adobe Export PDF tells me my file, which is 199,600 KB, is too big.  It cannot exceed 100MG.  I don't know how to reduce the size of my .pdf file.  What do I do?!

    Hi sherryesta,
    You have a couple of options here.
    You could ask OfficeMax to split the PDF they provided you into 3 or 4 parts.  Given that you've already paid them a large sum of money for the file in the first place, taking a few minutes to divide the file for you in Adobe Acrobat should be a simple task for them to accomplish for you.
    Alternatively, you could download the trial of Adobe Acrobat XI to convert the file (or divide it).  The trial can be found here: http://www.adobe.com/go/tryacrobatpro/
    -David

  • Currency amount IDR in field could no be converted

    I am having the error "Currency amount IDR in field could no be converted" when I run the retraction from BI to PS/CO only for IDR currency. It is working fine for the other currencies.
    Any advice please ?

    Hi,
    I would suggest you post this question into the SAP BW forum. This forum is for the SAP BusinessObjects BI Solution architecture.
    Ingo

  • Why are some photos on camera roll but not in photo stream. Unable to backup as camera roll size is too big for free 5gb.

    Why are some photos on camera roll but not in photo stream. Unable to backup as camera roll size is too big for free 5gb.

    I assume you have Photostream on, correct?
    In order for the photos to be moved into Photostream, you must exit the camera app, and be on a wifi connection.  Both of these criteria must be met before the sync occurs.

  • Converting MPEG-2 to DV - file is too big!

    Okay, I took an old 120 min. VHS tape and converted it to MPEG-2. Then, using MPEG Streamclip with Apple MPEG-2 Playback, I converted that file to DV so that I can edit it with iMovie and finally with iDVD.
    My problem: the file is too big. I'm assuming that, to finish this project in iDVD, I need to stay under 4.7 GB. Well, this file is 16.7 GB!
    Can I compress it after it has already been converted to DV?
    If not, what settings do I need to adjust on MPEG Streamclip to convert this 120 min. MPEG-2 file into an iMovie/iDVD compatible file that's under 4.7 GB?
    Also, being that I need to compress the file so much, doesn't that mean I'm going to lose 75% in picture/sound quality?? I hope not.
    I'd appreciate any tips you guys may have for me. Thank you!
    MacBook Pro   Mac OS X (10.4.6)   MacBook Pro, 2 GHz Intel Core Duo; 1GB DDR2 SDRAM

    When iDVD burns your iMovie project to a DVD, it encodes the movie (compresses it) as MPEG-2.
    iDVD can burn projects up to 2 hours in length to a single-sided DVD.
    Your video must be about 85 minutes, for DV is about 13GB per hour. So it should be fine.
    Karl

  • Convert foreign currency amount

    hi guys,
    i have PR with amount 3,600,000 and document ccy is IDR. Our local ccy is RM.
    I have automatic program to create PO using fm BAPI_PO_CREATE1 and i just pass the eban-netpreis value .
    Since it is in doc ccy, the amount is stored as 36,000 and the PO was wrongly created with 36,000 amount which is supposed to be 3,600,000.00
    How to pass the exact value to PO internal table?
    my coding
    DATA:  g_ftotal(20) TYPE c.
    WRITE ieban-preis CURRENCY ieban-waers TO g_ftotal.
    g_ftotal is now 3,600,000.00 as character amount, how to pass it to BAPIMEPOITEM-NET_PRICE which has type DEC 28 and  9 decimal points

    Hi,
    Following are the BAPI's for the same:
    BAPI_CURRENCY_CONV_TO_EXTERNAL Conversion of Currency Amounts into External Data Format
    BAPI_CURRENCY_CONV_TO_EXTERN_9 Conversion of Currency Amounts into External Data Format
    BAPI_CURRENCY_CONV_TO_INTERNAL Conversion of Currency Amounts into Internal Data Format
    BAPI_CURRENCY_CONV_TO_INTERN_9 Conversion of Currency Amounts into Internal Data Format
    Best regards,
    Prashant

  • Archived file too big for DVD

    Hello
    I have created an archive file that looks to be 7.4 GB - obviously too big to fit on one DVD. Is there a way to put this file onto TWO DVD's, or do I have to try and make two files that are smaller in order to put them on DVD?
    It doesn't look like the archive file is much smaller than the originals put together - there was an M4V (iPod movie - 163 MB), a disk image of the same (iDVD - 1.77 GB) and the original file from iMovie (6.6GB). I'm afraid that even if I split them up into two files, I won't be able to get the iMovie file onto one disk just by itself!
    I really want them on a disk rather than an external hard drive - at the rate my son is making these movies, I'll have no space left really soon! Please help! Thanks.

    "SuperDrive" is just Apple's term for their internal DVD writers. In the last couple of years, SuperDrives have been updated with DL-burning capability.
    A "regular" single-layer DVD has around 4.7GB of capacity, which roughly translates to 90 minutes of video.
    Commercial movie DVDs have long used the DL format, meaning that they can fit twice the length of video onto the disk. You will specifically need "DVD +R DL" disks to record this amount of data. Apple sells them, but you should also find them at good office stockists.
    DVD players/readers can read both formats.
    Matt

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

  • CURRENCY initial v., currency amount 12.0000 in MOV_PR_PY was transferred?

    Hi,
    i got a problem when i transfer Article Master Idoc from 110 to 130 client like below
    The currency amount 12.0000 in field MOV_PR_PY should be converted into
    the external or internal data format (as appropriate).  However, the
    amount in field CURRENCY is an initial value. A currency amount without
    a currency cannot be interpreted.
    what is the process to solve this and is there any other way to send Article Master Data Between two systems.
    can anyone suggest me to solve this

    Hello Ranjit:
    I had this issue last week. I work with SAP Retail Solution. I solved this way:
    1) I was trying to send some articles between client using trx.BD10. Then i got the issue that you said.
    2) Trx.MM60, in this,  i selected the material with error   and the plant field is in empty, so this way you can identify in what plant is that amount.
    3) Then  I selected the plant with this amount and i checked in WB03 if it was created. The plant was not created, so I created the plant by resending a Transport Proposal to Client Receiver. Then I checked in wb03 if the plant was complete,so this was correct.
    4) Again, I used BD10 with the same material  and the error was solved.
    I hope this was helpful.
    Regards

  • When doing a second "Organize Library" cuz the first was too big, will iTunes recognize what's already copied over?

    I'm stuck with a large folder of music on my PC in My Music folder. And I used "Organize Library" in iTunes but it didn't copy everything over because the amount of music was too big. I've deleted the original copies of music outside of iTunes to open up more space and was wondering if I do a second "Organize Library" if it will recognize that some of the music has already been copied over.

    I don't know what "restore the iPod" is
    It's usually the second thing to do (after Reset) when the iPod is not working correctly.
    Select the iPod in iTunes and click Restore.
    See this -> Restoring iPod to factory settings
    what about my main question? Can I go back to "sync all" but manually block certain albums?
    No because sync all is just that.
    Sycning specific playlists should work fine. And you can create more than one and sync which ones you want.

  • The "other" memory section on my Mac is WAY too big.

    Hey everyone!
    I know there are a LOT of discussions about this topic, but none of them really seemed to work for me. So the other day I got an error saying "Your startup disk is almost full". I immediately checked the storage section of "About my Mac", and sure enough, something like 100 GB were taken up by local backups. To fix this issue, I disabled local backups via this terminal command: sudo tmutil disablelocal.
    I did a restart and checked my storage again. This time, it looked like this (and still does):
    All of what used to be backups is now other. And the reason I have those 900 or so MB of backups is because I eventually turned those on again (with the reverse of the above command) in an effort to fix this. Out of options, I then went to the apple store, where they told me to just delete stuff that was too big. So I got a 1 TB drive and started copying and deleting stuff. The main thing I got rid of was a giant windows VM I had. And just to prove that something's wrong here, look at the breakdown of my files from OmniDiskSweeper:
    If you do the math, I should have about 100 GB more free than I do now. I've tried:
    Turning the thing off then on (you'd be surprised how often that works)
    Resetting the PRAM
    Forcing spotlight to reindex the machine
    Throwing the machine out the window (well, not quite)
    What I think might be the cause:
    This is a stab in the dark here, but possibly all those GB of backups tried to delete themselves and somehow corrupted and aren not called backups anymore by the system?
    Just one more thing: I noticed that OmniDiskSweeper showed a volume I don't recognize. It's called MobileBackups. Maybe that has something to do with it?
    I'll appreciate your help.
    Thanks!

    Although the guide is a little dated, a lot of the information there is really great and helps you track down a lot of files that are just taking up way too much space on your hard drive.
    http://pondini.org/OSX/DiskSpace.html
    I just did this the other day on my Air running 10.9 and recovered around 50GB of disk space, so there is potentially a lot you can do. I suggest following the steps on this guide (to the T, don't want to mess anything up) and go from there. Don't delete ANYTHING that you are not aware of the function, and remember that searching for names of files is a great way to determine whether or not you need it. Some files that SEEM like junk and take up a considerable amount of space are system files that will either be replaced the next time you boot up or render you computer useless entirely.
    For example, there is a file that saves the state of your computer just before it goes to sleep so that it can return quickly when you start up again, and that file is normally the size of the amount of RAM you have (I have 4GB of RAM, so the file was 4GB). After doing some research, this file will either be recreated if deleted, or your sleep mode will not be able to function properly if the file is deleted. So again, just tread lightly.
    Also, there is an application I used to get rid of a bunch of duplicate files that I had on my drive called Gemini (http://macpaw.com/gemini), which I recommend using to clean up documents. Again, be careful, you don't want to go deleting files that you are using that the application mistook for a duplicate.
    Hope this helps!

Maybe you are looking for

  • Hot News: Possible incorrect results in SAP BW system

    Everyone , We recently identified an issue in SAP ASE which potentially causes incorrect results in a SAP BW system running on SAP ASE. The issue affects any application running on SAP ASE using optimisation goal 'allrows_dss' or a user created optim

  • Would like to be able to boot from my iPod

    I have a 2nd generation FireWire iPod that I can boot from and love being able to do that to run disk utilities now and then. Just bought a new 30GB iPod with video and apparently I cannot install a system to boot up from it. I understand there is a

  • SBO_Application.Forms.ActiveForm is Sales Order but in fact it isn't

    Hi, I have the Sales Order form opened and I did a mistake when entering the CardCode so this causes SAP to pop the List of Business Partners but doing so it goes nuts in one of my validation in ItemEvent and when I do Cancel on the List of Business

  • Speech to text llb

    hii,  can anyone help me. I need a vi which will help me to convertspeech to text.

  • How can I set up iCloud on my iOS 4 ipod?

    How can I set up iCloud on my iOS 4 ipod, I can't find iCloud on it.