Error Message when delivery qty more then po qty in MV50AFZ1

Hi
Sap Gurus,
I gt a requirement  that while creating deliveries in vl02n
if delivery quantity greater then po qty it should through error
but i have alredy done coding in mv50afz1 user exit its working fine. My problem is if delivery no is differnt for the po no.
it is not giving error because delivery quantity is less for differnt deliveries .
this is the code i have written,
data : v_menge type ekpo-menge,
Getting Quantity from ekpo Table
select single menge
              into v_menge from ekpo
              where ebeln = lips-vgbel
              and ebelp = lips-vgpos.
if sy-subrc = 0.
Cheking the Condition for Delivery Type
   if likp-lfart = 'ZGND' or likp-lfart = 'ZGNL' or likp-lfart = 'ZGNS'.
Cheking Condition if Delivery Quntity More than Po Quantity
    if v_menge < lips-lfimg.
     message e002(zt) with 'Delivery Qty Cannot be Greater than PO Qty'.
    endif.
  endif.
endif.
this is checking for single delivery quantiry greater then po qty
but if multiple deliveries it is not working.
Please suggest me to write logic and coding chages.
ravi n
Edited by: Nekkannti Ravi Kumar on May 12, 2008 10:01 AM

Hi,
First u have to find all deliveries againegt PO Item (material). find out total deleviry qty + present delivery qty.
than check with PO qty ..
I think it will solve.............
Gupta.......

Similar Messages

  • Error Message when Delivery Note is created

    HI ALL,
              "Quantity falls into negative inventory" error message appears when Delivery Note is created from Sale Orders in SAP B1  system.
              Pls, solve my problem,
             Thanks u so much.
    kyimoh
    Best Regards

    hi kyimoh
    Please check  Your Item  In Stock Quantity status. If your quantity less then ur Delivery quantity. So You have to increase your item In Stock Quantity.
    Thanks
    Khan Imran

  • Invoice qty is more then gr qty

    as in sap docs maintained that if  we tick gr based inv verification then system will not accept invoice qty more then gr qty, but in my company accepting, it gives only warning message, is there any system message?

    Hi,
    check with ur FI consultant for message setting to error instead of warning.
    thanks
    suresh

  • I keep getting an error message when downloading a new app which states " Zinio and 5 other apps cannot be purchased at this time" and then it let's me purchase the app that I was looking at? Can anyone explain that?

    I keep getting an error message when downloading a new app which states " Zinio and 5 other apps cannot be purchased at this time" and then it let's me purchase the app that I was looking at? Can anyone explain that?

    apple_master New Delhi, India
    This solved my questionRe: Unable to Purchase 
    Apr 16, 2012 10:22 PM (in response to eight4seven)
    This worked for someone
    I had this problem for about six weeks. I was following this forum but was too unsure of what might happen to try the fixes that were suggested.
    About two weeks ago I decided to delete the downloads.28.sqlitedb file (usingDiskAid(a free program), on a PC running Windows 7). The original downloads.28.sqlitedb was 936 KB. The new one that the system created is 80 Kb., and has stayed at about that size. After about four days I also deleted all the other contents of the Download folder. Ten days later and still no more problems. Downloads are much quicker, nothing greys-out (as was happening frequently before).
    Everything has worked well since with no more error messages.
    I am using an iPod 4G, iOS 5.1 (originally iOS 5.0). I do not have a manifest file, and as far as I know, have not had one. DiskAid can search the whole "hard drive" on the iPod.
    Deleting downloads.28.sqlitedb and the contents of Downloads worked for me.

  • Hard drive says I have more than 300 GB available with a 500 gb capacity. Yet I get "Low Disk Space" error messages when I do anything.

    Hard drive says I have more than 300 GB available with a 500 gb capacity. Yet I get "Low Disk Space" error messages when I do anything.
    Attempted solutions:
    -I created a new User Account and I can download large files with no issues.
    -I ran "Repair Disk Permissions" but still get warnings.
    Google Drive Warning:
    Spotify Warning:        
    But on my other user account I can use spotify and download large files, etc.

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Just recently I am getting the following error message when trying to access web sites. I get a pop up window stating "Exc in ev handl: TypeError: c.location is null" then I have to click ok. It is an issue with some plug-in?

    Just recently I am getting the following error message when trying to access web sites. I am using Firefox browser version 10.0.2. I get a pop up window stating "Exc in ev handl: TypeError: c.location is null" as the web site page is being displayed in browser winder. Then I have to click ok. It doesn't matter what web link/site I go to it happens. It is an issue with some plug-in?

    I have advised McAfee's product team of the problem and this thread, and they're looking into it now.

  • ERROR MESSAGE WHEN USING PACK COMMAND   Missing file ////presenter.css   Also:  "This course requires JavaScript to be enabled in your browser. Please enable JavaScript, then relaunch the course."  I have Java enabled in all browsers

    ERROR MESSAGE WHEN USING PACK COMMAND   Missing file ////presenter.css    Command then fails
    Also:  "This course requires JavaScript to be enabled in your browser. Please enable JavaScript, then relaunch the course."  I have Java enabled in all browsers
    Thoughts?  Using Presenter 10  Win 8.1  Intel I7  new HP with plenty of memory
                   Thanks

    I had saved one copy as an .asp but then resaved it to .xhtml 
    I'm assuming this is a static web site.  Rename (F2) all your pages with .html or .htm extension. 
    .xhtml is not a valid extension.
    Nancy O.

  • Uninstalled Old PS Versions - Now Get "One Or More File. . .etc" Error Message When Launching PS CC

    I just unistalled PS C3 through 6 on my computer leaving only PS CC for use going forward.  Having done this I now get this error message when launching PS CC:  "One or more files in the Adobe Application Support folder, necessary for running Photoshop, are missing.  Please run the Photoshop installer and re-install Photoshop."  The thing is PS CC still appears to be working okay once that error message is cleared.  How can I get rid of that error message?  I can't reinstall using the CC Updater because it still sees PS CC on the system thus it won't install another copy.  I'd just as soon not uninstall it and I'm not sure that would fix the issue anyway.
    Any ideas?

    Hi jpolster,
    You can uninstall PS CC through the Control Panel in windows/Utilities in MAC & the reinstall PS CC.
    Thanks

  • I keep getting an error message when trying to purchase more gold coins?

    I keep getting an error message when trying to purchase more gold coins. Same unexpected error occurs with all of my slot machines??

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
     Cheers, Tom

  • Has anyone gotten the following error message when trying to do in-app purchases? Error purchasing from App Store, then underneith that ,Cannot connect to itunes Store (0)

    I'm getting an error message when trying to make in-app purchases.
    Error purchasing from App Store
    Cannot connect to itunes Store (0)
    I can purchase songs in itunes, but not the in-app purchase for Kingdoms at War. I've checked the parental controls and all the other obvious things in settings. Let me know if anyone knows how to correct this. Thanks.

    Here is an update and more information:  I actually have two MBP's.  One is a mid-2009 model and one is a new, mid-2012.  I transferred files from the mid-2009 to the mid-2012, but I use both computers frequently.  This problem only occurs on the mid-2009 and not on the mid-2012.  I have authorized both computers. 

  • I get an error message when I connect my 6g nano saying that it cannot be synced then the number 13019

    I get an error message when I connect my 6G nano saying it cannot be synced then the number 13019?

    Thank you for clarify I'm supposed to read the ENTIRE article. I thought I was just supposed to read the title and magically everything will fix itself. I appreciate you taking the time to help me however I do not appreciate the caps and the way you have addressed the situation. If you are not going to kindly help people/make suggestions just don't try! And for the record my conclusions are not illogical, the iOS7 thing is on the website in small font (which I got by reading the ENTIRE thing) and you should really find a new hobby because your socialization skills need some help! That goes for you too Chris. Not everyone is a tech nerd

  • Error message when starting Adobe Illustrator CC [Error loading plugins   AppBarControls.aip]

    Hello,
    I get the following error message when I start Adobe Illustrator CC.
    Error loading plugins
    AppBarControls.aip
    Then it gives me the option to continue by clicking okay. When it opens, the Application Bar is just blank.
    I've tried uninstalling, then ran Adobe CC Cleaner, then downloaded and reinstalled.
    Computer details : OS X 10.9.5, 1.3 GHz Intel Core i5, 8 GB 1600 MHz DDR3
    Help is kindly appreciated!

    I also have had a difficult time with Adobe Illustrator CC 2014 crashing upon launch.  The support staff was great even though we had to work through several sessions.  Below is the email explaining our final session.
    This email is in regards with the issue you had been facing with Illustrator CC 2014.
    While going through the installer logs, we found that there was an issue with the installation & the program installer had been denied access to several critical files & folders during installation.
    This was the main reason for Illustrator crash as several critical components had not been installed properly.
    We tried installing the program in a new user account & that worked.
    Though the program has been installed properly now & is working in your old account, I will still strongly recommend you to get your computer user account repaired with a Windows 7 operating system diskette.
    This is required so that you do not run into more trouble later while working with the Adobe Applications or even while installing other programs.
    Avanish Divya was the final support person that successfully resolved my problems.

  • Error message when installing nvidia-173xx package

    I get an error message when I try to install nvidia-173xx driver:
    pacaur -S nvidia-173xx
    :: Package(s) nvidia-173xx not found in repositories, trying AUR...
    :: resolving dependencies...
    cat: /usr/lib/modules/extramodules-3.15-ARCH/version: No such file or directory
    :: no results found for linux
    :: no results found for linux-headers
    My kernel version: 3.16.1-1-ARCH
    What can I do to install it correctly?

    nvidia-173xx AUR page wrote:inux>=3.15.5
    linux<3.16
    linux-headers>=3.15.5 (make)
    linux-headers<3.16 (make)
    nvidia-173xx-utils
    Looks like you can choose from :
    -contact the maintainer to see if you can help with getting it to work with kernel 3.16
    - downgrade the kernel
    - switch to nouveau
    Note that there are comments on the aur page that state nvidia-173xx doesn't work with xorg 1.16, so you may have to downgrade more then just the kernel.

  • Help ....Error message when trying to open itunes 11 after installing..cant solve it !!!

    Keep getting an error message when trying to open iTunes 11 after installing...running Windows ...have tried most fixes ...message says ...iTunes.exe - Bad Image ...iTunes c:\Program Files(x86)\Common Files\Apple Apple Application Support\CoreADI.dll is not designed to run on Windows or it contains an error .....
    Also when iTunes first opesn after installing ....the message come up that says "A required iTunes component is not installed .please repair or reinstalll iTunes (-45075)"
    Have repaired , reinstalled , created and used a restore point etc etc
    How do I fix this !!! Please

    ...iTunes.exe - Bad Image ...iTunes c:\Program Files(x86)\Common Files\Apple Apple Application Support\CoreADI.dll is not designed to run on Windows or it contains an error .....
    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. If you're using Vista or 7,now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair". If you're using XP,head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (If you've got XP, although the procedure is for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever

  • Looking for some help with an error message when exporting master file. I'm stuck and would even pay to get this sorted out!

    Hey guys, I'm really in a bind here and need some urgent help tonite. I would even be willing to pay for some actual help and not some vague information that i may not be able to understand if we could do something via skype or some other way that would be much quicker than a message board. Of course I have to have the project done by tomorow . so I'm new to fcpx, but have succesfully exported 2 other projects. I've also ran into this predicament before (error message not allowing me complete export) and have been able to solve that by converting the files i imported off my camera (canon g20) to a different file type (prores).
    so where I'm at now: i have a 13 min short, all shot on my canon g20, imported and converted to prores422 with the brorsoft video converter with all the shots in a single event in fcpx. i'm using fcpx version 10.0.08. I have one main video track in my timeline that is completely full of very fast edits. (all quick 2-5 second clips, sped up shots in 2x, 4x, or 8x, tons of transitions, titles, and a little fx. theres 2 audio tracks, one is narration/speech and the other is an ongoing music track that constantly ducks everytime the subject speaks (tons of ducks/edits). Have you seen mtv cribs? Well i filmed an EXACT replica. So If you've seen one of those episodes, its literally the same exact same thing. I have all of my work completed, everything has been fully rendered, and i have it exactly as I want it.
    I'm including all this information in case it may help. my successful projects ive exported in the past were rather simple, and this one is very complex and full of edits. here is what it looks like in the timeline:
    Ive tried exporting the master file using almost all the different ways with no luck. My primary objective is to get it on youtube by any means by tommorow for a showing to a potential buyer (long story) and so I've been told using the h.264 is the best format for that. This, along with the other methods give me the same error message:
    It think it gives this error message when i reach 24% everytime during export.
    So first of all, what is that error message? Do i need to be concerned about the specifics of it, or is there something major that I'm missing? Like i said, i dont care how, but I need to get this video up on youtube tonite for an important viewing tomorrow. Conceptually, I think if i can figure this one out I shouldnt have any more trouble in the future doing something so basic, yet critical, such as exporting my 40+ hours of work for someone to see.
    anyway, I apologize in advance for my lack of knowledge with this software, and for my extremely long winded question which will probably have the opposite effect for me as most wont want to take the time to read all this, BUT i figured if i was as thorough as possible it might help actually getting a concrete answer, instead of a "read the manual, exporting is on page 37." or "use the share button on the right of the timeline then just click export master file and it will work everytime."
    Cheers everybody, and thank you. Like i said if someone is up, and willing to talk via skype, phone, messanger or any other method that works for you I would be totally down and will compensate you generously for your time. thanks again.
    Taphabit

    boom! that advice was correct and worked. i was able to export the full project as a quicktime movie and it can be uploaded to youtube.
    NOTE, theres is definately quite a few noticeable audio glitches/lags/pops that werent there before doing this. I believe, and will test to make sure, that having a project such as this one needs to render before exporting. I'm not sure if the advice requires the project to be unrendered before exporting for a specific reason, because if it will export fine after rendering the project that's the way to go. like i said the edited version i have in my timeline plays back perfectly but this exported version has quite a few noticeable audio glitches (a few video glitches too). I'm going to retry doing the first few steps of your advice, but then at the end render, then export and compare the results...
    OK, so this leads to a big question, Is this something that is standard for everyone when trying to export? If its not, what causes this error?
    is there any way of preemptively avoiding it in future projects?
    thanks again, and hopefully this information will help others as exporting seem to be one of the biggest problems in fcpx. any word on a new patch or firmware update?

Maybe you are looking for

  • Network Extender has never worked

    We received a network extender from Verizon due to the lack of coverage in the area we live - too far from a tower. I have tried every weekend to get this thing going and I always get a solid blue power light, solid blue wan light a SLOW BLINKING RED

  • Cost center in PP01

    While using tcode PP01 and choosing "relationship" infotype, Iam not able to view cost center relationshp though I can view relationships like "belongs to", holder  and "reports to". I checked in PPOME for the particular position and found that cost

  • Song order burning audio CDs

    I'm using iTunes 7.5. When I burn a playlist as an audio CD, the song order on the CD is changed from the playlist order to a sorted order (by Name). How can I select retention of the playlist order on the CD?

  • I need to get rid of This Desktop/ Screensaver Urgently removed, any help ?

    Dear Apple Users and Staff, i have this Desktop/ Screensaver http:// Live updated Earth screensaver 1.4 , and i cant Find it, i have looked everywere on my Computer and i cannot Find it too delete it, please can anyone help me ?

  • AS 400 VS XI

    In the olden days, like AS-400 era we have Initiators (The Thread) and also in the Job Control Language we can assign the Priority of that particular job, high or medium or low and that will assign the appropriate que and it will be processed. But in