BAPI_INCOMINGINVOICE_CREATE - Getting error and can't find field

Hi, I'm trying to post MIRO documents via BAPI_INCOMINGINVOICE_CREATE, but getting an error that I cannot seem to figure out.
I'm getting an error for the following: "System cannot calculate cash discount base amount; enter it"
There is a field in the header called discount amount and I tried it, but doesn't work.  It is specifically looking for discount "base" amount.  For the life of me I cannot figure out what field it is or what workaround I have.
Here is some of the code:
  clear: v_itemno_acc, s_MIROheader.
  s_miroheader-INVOICE_IND  = 'X'.
  s_miroheader-comp_code    = s_miro-vbund_tr.
  s_miroheader-doc_date     = sy-datum.
  s_miroheader-pstng_date   = sy-datum.
  s_miroheader-doc_type     =  c_is.
  s_miroheader-GROSS_AMOUNT = s_miro-amount * -1.
  s_miroheader-currency     = s_miro-waerk.
    v_itemno_acc                     = v_itemno_acc + c_10.
    s_miroitemdata-INVOICE_DOC_ITEM  = '1'.            "s_miro-vbeln.
    s_miroitemdata-PO_NUMBER         = '4500001368'.   "s_miro-ebeln.
    s_miroitemdata-po_item           = v_itemno_acc.   "s_miro-ebelp.
    s_miroitemdata-quantity          = '2'.
    s_miroitemdata-po_unit           = 'G'.
    s_miroitemdata-ITEM_AMOUNT       = s_miro-amount.
    s_miroitemdata-ref_doc           = '5000001936'.   "s_miro-vbelv.
    s_miroitemdata-ref_doc_year      = '2007'.
    s_miroitemdata-ref_doc_it        = '1'.           "v_itemno_acc.   "s_miro-ebelp.
    append s_miroitemdata to t_miroitemdata.
Thanks for your help!!!!
Mark

Hi.  I'll try to give some detail.
When I run MIRO manually online, all I have to enter are the following fields:
Invoice Date
Amount
Document Type (which is "IS" for Intercompany STO)
Company Code
PO Number
(when I hit enter, I get the only line item where I just have to input Amount and Quantity, the rest is automatically generated)
Then I hit save and it posts a document.
I am doing the same thing in the BAPI, except that I was getting error messages stating that I had to enter Reference Number, Ref Doc Year, and Ref Doc Item.  I added the code and now the only error message I get it the one in question.   "System cannot calculate cash discount base amount; enter it"
I really appreciate your help.  This is frustrating.
Thanks,
Mark

Similar Messages

  • My computer crashed necessitating re-install of op sys and all programs including iTunes. At the iTunes store when I click a song in my library get error message "can't find, do you want to search?" What's happening? How can I listen to my library on this

    My computer crashed necessitating re-install of operating sys and all programs including iTunes. When I click on a song in my library I get an error message "can't find this song, want to search?" What gives? How can I listen to songs in my library on this computer now?

    It is working now. I no longer get the message about the item not being available in the US and I can access the store.

  • I can't update itunes. I get error message can't find "itunes.msi". What can I do?

    What can I do to download updated itunes. I get error message can't locate "itunes.msi." folder.

    Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. (The results from mydigitallife and Major Geeks are worth checking.)
    After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove".
    Quit out of CleanUp. Restart the PC, and try another iTunes install. Does it go through properly this time?

  • Had to uninstall Firefox, now I can't reinstall. Get error message "Can not find archive file." Please help!

    I believe I had some kind of virus attack. I got everything cleaned up. (I HOPE) In the process of cleaning the virus, I unintalled Firefox because it wouldn't open. Kept getting the error message that Firefox was already open and I had to close out of the sessions or restart the computer. After restarting the computer several times and not being able to find any open sessions in task manager, I uninstalled. When trying to reinstall, I get the error message "can not find archive file." I've tried downloading Firefox from cnet as well as the Mozilla site to no avail. Please help. I'm getting tired of using Chrome already!

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thank you.

  • Open itunes get error message, can't find iTunes folder! & doesn't open!

    Hi, I have Downloaded iTunes but it some how has installed itself onto a USB pen drive that I had connected at the time. I have unplugged this and downloaded iTunes again...which seemed to go ok but when I click the iTunes icon an error message appears ' Cannot find iTunes folder, this is normally located in the My Music Folder' and will not open iTunes. I plug the USB pen in and it works fine! I have tried to copy & paste the files on the USB pen but it doesn't copy them properly...can anyone help?

    Hello mvguillet,
    Thank you for the details of the issue you are experiencing with installing the latest iTunes update.  I recommend following the steps below:
    Resolution
    Follow these steps to resolve the issue:
    Check for .dll files
    Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
    If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
    Reboot your computer.
    Note: Depending on your operating system, you may only have one of the listed paths.
    Uninstall and reinstall iTunes
    Uninstall iTunes and all of its related components.
    Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
    Re-download and reinstall iTunes 11.1.4.
    I understand that you have already uninstalled iTunes, but when you get to this step, it is important to uninstall iTunes and the related components in the order listed in the link for that step.
    You can find the full article here:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Links in Windows (7, 64-bit) doesn't open, getting error:" [link] Can't find the program", help!?

    Everytime I click a link that's not in the actual browser window, could be from a word doc, pdf-file or just plain info link in windows gadgets, I get an error:
    [Clicked link]
    Can't find the program
    I have:
    Windows 7 64-bit
    Firefox 4 RC 1
    Firefox is standard browser and installed at default location.
    please help, it's getting really annoying!!

    This is what I get when opening a link from Outlook 2010.
    Windows 7 64bit
    Firefox 4 RC
    Firefox 4 is set as the default browser
    Links won't open in FF4 from any external programs (tweetdeck, outlook, word, etc.)

  • Very Strange error and can't find any answer anywhere in the net

    I created a login form (see below).
    If I use the regular HTML form and form fields for the username, password and submit button I don't get any problem viewing my form
    But if I use cfform and cfinput form fields I get this error.
    Here is my cfform codes:
    cfform name="login" action="/login/checkLogin.cfm" method="post">
      cfinput type="text" name="username" size="25" required="Yes" message="Please enter your username">
      cfinput type="password" name="password" size="25" required="Yes" message="Please enter you password">
       cfinput type="submit" value="Sign In">
    /cfform>
    When I launch this page I get this error and I don't understand what this means and what am I supposed to do, please help!
    Total Time Avg Time Count Template
    1 ms 1 ms 1 /opt/coldfusion10/cfusion/wwwroot/CFIDE/administrator/templates/secure_profile_error.cfm
    0 ms 0 ms 1 top level /home/space/users/www/webdocsec/login/login.cfm
    19 ms   STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
    20 ms   TOTAL EXECUTION TIME
    red = over 250 ms average execution time
    Exceptions
    10:08:08.008 - Template Exception - in : line -1
         Attribute validation error for tag CFINPUT.

    Using cfform
    To start with, leave cfform aside. You will find in the documentation that most developers are abandoning Coldfusion's native UI tags, for example, cfform, cfgrid, and so on. They are outdated and occasionally perform erratically. If you wish to validate forms, use a Javascript library such as jQuery.
    Implementing Site-Wide Error Handler
    By default, there is no site-wide error handler configured. It is advisable to create your own. Then register the path of the page in the Coldfusion Administrator.
    As the name implies, it is a CFM page which ColdFusion runs when it encounters an error on your site. Creating your own enables you to present a simple, customized, user-friendly page to your visitors.
    Alternatively, you may choose to implement a Secure Profile. This is available in the Administrator, on the page Security => Secure Profile.
    When you check the box, you configure Coldfusion to automatically implement all the security measures listed in the table. That includes Coldfusion's own the Site-Wide Error Handler. It is the system file, /CFIDE/administrator/templates/secure_profile_error.cfm.

  • Get error "Safari can't find the Internet plug-in"

    I get error when I tried to open a Potcast on IBM's website in Safari 5 for Windows 7
    "Safari can't find the Internet plug in. Some content on the page "IBM Cloud Computing - idea - United States - United States' Can't be shown because its MIME type is unspecified.
    I checked these settings
    -Plug-ins enabled in edit\preferences\security
    -Java enabled in edit\preferences\security
    -JavaScript enabled in edit\preferences\security
    -Quick Time Player 7.6.6 is installed and works
    -Potcast works on Google and IE. Note: IE prompted for MIME type configuration, clicked Yes and Potcast worked.
    I tried to search the web for answer but couldn't find solution for this error.
    I checked Apple's forum and didn't find anything so Please help.
    thanks

    Is that the "Listen and learn about cloud computing and the IBM difference" podcast on this page, Concise?
    http://www.ibm.com/smarterplanet/us/en/cloud_computing/ideas/index.html
    If so, I can replicate the effect on my XP SP3 box (running Safari 5.0).
    A bit odd, because it just looks to be a QuickTime plugin when I click on it in IE.
    The W3C Markup validation service doesn't like the code on that page much:
    [88 Errors, 69 warning(s)|http://validator.w3.org/check?uri=http%3A%2F%2Fwww.ibm.com%2Fsmarter planet%2Fus%2Fen%2Fcloud_computing%2Fideas%2Findex.html&charset=%28detect+automa tically%29&doctype=Inline&group=0]
    ... but it might be worth doing a "Help > report bugs to Apple" (in Safari) just in case the effect isn't related to the code.
    (If anyone has suggestions for Concise on workarounds to get safari to play the podcast, please feel free to leap in.)

  • New router can't get connection and can't find set up on macbook

    I had to have a new router as i had problems with my internet solved internet problems but now my printer doesnt work unless i connect with usb cable, i have tried everything including deleting the printer, which now i have deleted the set up info off my macbook and can no longer install the printer please help it was working fine with my other router...

    Hey , Welcome to the HP forums! I hope you enjoy your stay here. I see that you have replaced your router and are having some difficulties with connecting your Deskjet F4580 to the network. I can help you with that. As you are using Macintosh 10.7 I would recommend using a Windows PC to install the printer on and then to add to your wireless network. If that is not a practical option there are a couple of things we could try. Apple Software UpdateClick on your Apple Icon and go to Software Updates.Install any available updates.Download Apple's HP Printer drivers.If during the install there are no wireless options then:Go to your Apple icon, System Preferences, and Print and Scan.Double-click on the icon of your printer on the left side of this screen.In the pop up window click on Settings, Utility, and then Open Printer Utility.In this new window you should have a wireless tab along the top you can click on.On the left hand side we're looking for a wireless setup wizard.Run the wireless setup wizard to add the printer to your wireless network.Once the printer is connected remove the USB cable from the back of the printer.Go back to Apple, System Preferences, Print and Scan.Click on the plus button in the bottom left corner.Select your printer in this window.If there is a line that says Use that says Airprint click on that to select your printer from the list instead.Click on Add.Try printing.Ad-HocIf the above method does not allow you to connect the printer wirelessly then this may work.Perform a factory reset on the printer. I will include the directions on how to do that in a private message shortly.Turn the printer back on.Press the wireless button on the front of the printer.Wait about a minute.On your Mac or another wireless device you should see a network with a name similar to "HP Print XX Deskjet F4500" listed. Connect to that network.Press and hold the scan button (printer icon below the red x on the printer) for about ten seconds. When you release the printer should print a wireless test report.On the device you connected to the printer open a web browser and type the IP Address in the Address Bar exactly as it appears on the test report.You should have a Network tab along the top of this window.On the left side we are looking for a Wireless Setup Wizard.When you run that that should connect the printer to your wireless network.Once the printer is connected remove the USB cable from the back of the printer.If you connected your Mac to the printer above then reconnect the printer to your wireless network now.Go back to Apple, System Preferences, Print and Scan.Click on the plus button in the bottom left corner.Select your printer in this window.If there is a line that says Use that says Airprint click on that to select your printer from the list instead.Click on Add.Try printing.If this helps connect your printer to your wireless network then please let other forum users know by clicking on Accept as Solution below my post. Likewise if you have any other questions please let me know.I hope this helps and I hope you have a great day! 

  • Quicktime 7.0+ with Vista = error 46: can't find or load quicktime activex

    For awhile, Quicktime Pro was working on my 32bit Microsoft Vista PC that I built, then sometime around 7.1.5 Internet Explorer would no longer play Quicktime files in my browser. No biggie, but then after 7.1.6 it would not longer load at all. I keep getting Error 46: Can't find or load Quicktime ActiveX control.
    If I try launching Quicktime as the administrator, I still get the Error 46. And it just won't load. Even Sony Vegas Video won't render Quicktime files as that gives me an access violation.
    I managed to find a Quicktime 7.0.1 installer, so I deinstalled 7.1.6 and installed 7.0.1 and all was well again. The program would launch and play Quicktime files and Sony Vegas Video would render Quicktime files again.
    But as soon as I rebooted...Error 46 again...even after downgrading. Something's going on with the permissions and I cant seem to fix it.
    The one shining light with 7.0.1 is if I launch it as an Administrator it will work after rebooting. But only if launching it as an Administrator.
    7.1.6 will not do this. It will error everytime regardless of launching as an admin or not.
    Anyone have any ideas how to solve this? And does anyone know if Apple is working to solve this issue? Hopefully this isn't too limited of a bug, otherwise I might be in for a long wait for a fix.

    Hi, all
    I thought I would post the link to another thread where I got this working on my machine.
    http://discussions.apple.com/thread.jspa?threadID=948432&tstart=15
    Hope this helps.
    Thanks,
    David Eaton

  • I am getting the PowerPC applications are no longer supported error, so I downloaded Libreoffice and can not find it on my hard drive anywhere. It did say install to Applications but it's not there. How do I find it and can I put it in my dock?

    I am getting the PowerPC applications are no longer supported error, so I downloaded Libreoffice and can not find it on my hard drive anywhere. It did say it would install to Applications, but it's not there. How do I find it and can I put it in my dock?

    In Safari's preferences:
    Look in the folder displayed where you see the arrow. The actual Downloads folder is found in your Home (user) folder.

  • PC went south. Geeks brought it back. PS elements and premier 11 can't start. Error msg sez configuration incorrect needs to be reinstalled. When I load the disk I get a blank screen. Try to uninstall and can't find apps i control panel. How can I get the

    PC went south. Geeks brought it back. PS elements and premier 11 can't start. Error msg sez configuration incorrect needs to be reinstalled. When I load the disk I get a blank screen. Try to uninstall and can't find apps i control panel. How can I get the apps back?

    adobeamatuer
    Thanks for the reply.
    Although the security of Windows XP SP3 32 bit is compromised by Microsoft no longer supporting XP, if Windows XP was restored as claimed, you should still be able to install/uninstall Premiere Elements versions of it that you did before the Microsoft support removal.
    I think a revisit to the Geeks would be in order. It may be that they could not restore Windows XP because of the Microsoft non support. I would take along the Premiere Elements installation disks so that you do not leave there without actually seeing Premiere Elements (or a non Adobe program) running on your restored Windows XP. What was the other software that you tried to use that did not work?
    Please update us on your progress when you get a chance.
    Best wishes
    Thanks.
    ATR
    Add On...spelling correct 12 03 2014.

  • I keep getting error message, "can't open application PACE because PowerPC applications are no longer supported." I've run Clean My Mac and I still get the error.

    I keep getting error message, "can't open application PACE because PowerPC applications are no longer supported." I've run Clean My Mac and I still get the error.

    Use the Finder "Go" menu while holding down the option key to expose your User / Library folder.
    Look in the Application Support folder for PACE items and delete them.

  • I have the b200 error and can't get the cartirdges to move out so I can change it.

    I have a MX850 cannon. I have the b200 error and can see that the middle cartridge is empty but I can't get the ink cartridge holder tomove out. I have tried with power off but the ink cartridge holder won't move out.

    Hi ernja.
    The B200 error is a generic internal error code and could mean one of many things.  Based on this, your PIXMA MX850 would require service.  It is recommended that you contact live technical support . There is NO charge for this call.
    Please dial 1-866-261-9362, Monday - Friday 10:00 a.m. - 10:00 p.m. ET (excluding holidays).
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • I frequently get the "Firefox can't find the server" error message.

    I frequently get the "Firefox can't find the server" error message. Refreshing the page normally causes the page to load, although sometimes it takes more than one try.
    I have checked my connection settings. IPv6 and DNS prefetching are disabled, as recommended by this article: https://support.mozilla.com/en-US/kb/Firefox%20cannot%20load%20websites%20but%20other%20programs%20can?s=Firefox+can%27t+find+the+server+at&r=1&as=s

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.com/kb/Server+not+found
    *https://support.mozilla.com/kb/Firewalls

Maybe you are looking for

  • I am having a big problem with entering search terms in Google

    Here is the problem. I enter several search terms and do a search. So far, so good. After I am finished clicking on one or more links I return to the Google search page to do a new search. Since most of the words are the same, except the last one or

  • Error when posting goods issue

    hi gurus, can anyone please help me with this error when posting goods issue to a free issue sales order " line item text is mandatory for vendor invoices". thanks in advance

  • Oracle XE (windows) on drive other than C:\

    Hi, I have loaded XE on a windows 2008 server. I was restricted to installing it on the N: drive. Install went fine, and everything seems to be working. However i run XE as part of an automated build job. The job causes an XE problem (something like

  • Can I mouse over a group and cause another group to do something?

    When I mouse over id=wholeGroup, I want group rect47 to become more visible by changing its alpha value. Can someone help me understand how to do this? Thanks. Here is what I have so far, but I am getting multiple errors. 1067: Implicit coercion of a

  • Coloring email link differently from nav bar links

    Hi: Please go to tedandada.com. Click on "contact us" on menu on the left. On the "contact us" page you will see two email addresses. They are black. I would like them to be red before they are even rolled over or clicked to open an email program. Ho