In ME22n though error msg popping out - not able to stop PO posting

hi all,
My requirement is to give error message in ME22n when values entered manually in item overview, ie., EKES-ebtyp = 'LA' and EKES-vbeln = space as ' NO MANUAL LA ENTRY IS ALLOWED' and PO should not be posted.
i found the badi for this  'ME_PRUCHDOC_POSTED' and it shows the error message also. but it is getting posted though it has error message.
method if_ex_me_purchdoc_posted~posted .
  types: im_ekes type standard table of mmpr_uekes.
  data: wa_ekes like line of im_ekes.
  INCLUDE mm_messages_mac.
  loop at im_ekes into wa_ekes.
    if wa_ekes-ebtyp = 'LA' and
       wa_ekes-vbeln = space.
      mmpur_message_forced 'E' 'ZXX' '002' text-002 '' '' ''.
    endif.
  endloop.
endmethod.
i searched in sdn and found another badi like 'ME_PROCESS_PO_CUST' and 'CHECK' method. but i dont know what to write in that to stop the posting. i have liitle knowledge in oops. so please help me.
Does anybody faced this kind of issue - could help me???
Regards,
Sakthi Sri.

I think your BAdI is simply executed too late. Here's one way that should work, but please note that this might not be optimal (didn't quite check out other possibilities): Use EXIT_SAPMM06E_012, which can be utilized to implement customer data checks. You'd still need to figure out though, how to distinguish between "legal" additions of confirmation and those that you don't want. Also, since the exit doesn't contain the confirmation table information from EKES, you could call function module ME_CONFIRMATION_TABLES, which will return any new EKES entries in table parameter XEKES (KZ='I').
Hope this helps, harald

Similar Messages

  • HT1688 itunes is not able to download apple ios update . every time a msg pops out saying timed out????

    itunes is not able to download apple ios update . every time a msg pops out saying timed out????
    how can i solve it..
    pls help!!!

    Saying what timed out?
    Try this... search the forums using the search box in the upper right corner of this site for the EXACT error message, you will find a resolution.

  • Why can I not attach a document to an email? Every time I want to send an email with a document attached to it, an error notice pops out. It tell me that the file is being used even when  it is not. How can I fix this issue?

    Why can I not attach a document to an email? Every time I want to send an email with a document attached to it, an error notice pops out. It tells me that the file is being used even when  iall other programs are closed. How can I fix this issue?

    Thanks Jeff, I was not aware that a template could be multi-page.  (All the existing templates were 1 page)
    But it worked, saving me some steps.  When I was finished I renamed the document, and locked it.
    Then tried to save it but  could not because it was locked.  I closed it, went to my Spread Sheet Folder ,
    to find it, it was not there.  The Finder could not find it either.
    So I start over again.
    I opened up Numbers and it showed my personal Numbers template folder, it contained both my new 
    original 4 page template and the vanished saved document!
    I tried to delete the template containing these document data and could not - I had to go to the Library/Application Support/Numbers to physically remove it from this folder. Then I started over again.  I Finally found out how to make it work: I can now "save as", and then lock, and it will go to place where I want it to be saved and locked.
    The secret is: Click on the document title in the menu bar, and it opens up  "Save as...", which works the same as in OS 10.4.11, and you can pick the place you want for saving.  Once done that, you can then lock the document in the same pull down menu, and then close it.
    I also found later that I can delete a template from its folder, by letting Numbers open the templates,
    clicking on the one I want to remove, then go to the "Numbers Menu/File/Move to...", select "Desktop"
    and from there the selected template can then be thrown into the Trash from there.
    It appears now that the real fault of the Numbers software is that the "Save as" command is not available in the "Edit" or "File" pull-down menus, but hidden behind the title of the document.

  • HT1476 when i plug my phone into the usb port with the apple charger that came with my phone i get an error msg say charging not supported by this device.   But when i use a gigaware (radioshack brand) usb charger, no error msg.  Why?

    when i plug my phone into the usb port with the apple charger that came with my phone i get an error msg say charging not supported by this device.   But when i use a gigaware (radioshack brand) usb charger, no error msg.  Why?

    - Try restoring the iPod, first from backup and then try to factory settings/new iPod to rule out a software problem.
    - Look at the dock connector on the iPod. Look for abnormalities like bent or corroded contacts, foreign material and broken or cracked plastic.
    - Could you have damaged something when you took the iPod apart and replaced the Home button?

  • I have iphoto 6 and my pictures are no longer showing.  I have tried importing them but it just give me an error msg. (file format not recognized) I have tried rebuilding the iphoto library but that doesn't work either. Any suggestions?

    I have iphoto 6 and my pictures are no longer showing.  I have tried importing them but it just give me an error msg. (file format not recognized) I have tried rebuilding the iphoto library but that doesn't work either. Any suggestions?

    How did you rebuild?
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library allowing it to overwrite the damaged file.
    2. Download <a href="http://www.fatcatsoftware.com/iplm/"><b><u>iPhoto Library Manager</b></u></a> and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 6* library:
    Note this will give you a working library with the same Rolls and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library on your desktop and find the Originals folder. From the Originals folder drag the individual Roll Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • Getting error msg: Session could not be started

    Since the update of itunes and ios i get an error msg saying could not sync iphone because a session could not be started.
    Have an iphone 4

    Take that last message back. I decided to try backing it up manually by right clicking on the Touch in the left sidebar of iTunes. That method worked - backup went off without a hitch. Don't ask me why.
    Mark

  • I am trying to watch a movie that I rened on itues but I keep getting an error msg " we could not complete your itunes request an unknown error has occured (-42110)

    I am trying to watch a movie that I rened on itues but I keep getting an error msg " we could not complete your itunes request an unknown error has occured (-42110)

    See the "Error 3001,"  "-42110," or "5103" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
    iTunes: Advanced iTunes Store troubleshooting

  • Error msg like :ORACLE not started when login through SQL Tool

    Hi All,
    When i login through SQL TOOL (either sysdba/system/scott... any user) the error msg like ORACLE not started ....
    so i check the services from controlpanel->administraive tools->services ->Oralceservice<dbname> service ... so in this service is in manual & starting but not started.....
    This happen becoz i stated in manual first time & now i change it then it display as strating not started.....
    pls. if u have any solution related to this service infrom me...
    Thx

    Make your instance service in the windows services as auto start. However, if it show starting not started, just stop and start again. Otherwsie, shutdown your windows and start it again.
    Jaffar

  • How to fix this error "this iPad is not able to complete the activation process. Please press Home and start over. If the issue persists, please visit your nearest Apple Store or Authorized service provider for more information or replacement"?

    How to fix this error "this iPad is not able to complete the activation process. Please press Home and start over. If the issue persists, please visit your nearest Apple Store or Authorized service provider for more information or replacement"? When I plugged in my iPad this popped up!

    Hi csreddy, 
    If you are receiving a message to contact an Apple Retail Store or Authorized Service Provider for help updating from iOS 3, click on the link below to initiate that support:
    Update the iOS software on your iPhone, iPad, and iPod touch - Apple Support
    http://support.apple.com/en-us/HT204204
    Update your device using iTunes
    If you can’t update wirelessly, or if you want to update with iTunes, follow these steps:
    Install the latest version of iTunes on your computer.
    Plug in your device to your computer.
    In iTunes, select your device.
    In the Summary pane, click Check for Update. 
    Click Download and Update.
    If you don't have enough free space to update using iTunes, you'll need to delete content manually from your device.
    Find out what to do if you get other error messages while updating your device.
    Last Modified: Jan 12, 2015
    Apple - Find Locations
    https://locate.apple.com
    Contact Apple for support and service - Apple Support
    http://support.apple.com/en-us/HT201232
    Regards,
    - Judy

  • Not able to download  10.5 file corrupted ja.lprog - file is empty error code 2330. Not able to unistall itunes to reinstall-same info given. Not able to dowloag on another drive or under another user account.  same info given,  Using windows vista 32bit.

    Not able to download itunes 10.5..says file ja.lprog is corrupted (its empty) and error code 2330. Not able to download/install on another drive...even external drive-same reason given.  Not able to uninstall itunes to reinstall...same reason given.  Using windows vista 32 bit.  Please help.  Difficult to upgrade apps.

    Yeah...I think I found that one out the hard way already. I'll cross that bridge when I get to it. I want to get this issue fixed before I start thinking about the license issue.
    ciscoasa#
    ciscoasa#
    ciscoasa#
    ciscoasa# sh flash
    --#--  --length--  -----date/time------  path
    2403  0           Apr 30 2008 02:00:56  test
    2285  196         Apr 30 2008 01:28:20  upgrade_startup_errors_200804300128.log
    2283  0           Apr 30 2008 01:28:20  coredumpinfo
    2284  59          Apr 30 2008 01:28:20  coredumpinfo/coredump.cfg
    2280  0           Apr 30 2008 01:27:56  crypto_archive
    2267  0           Apr 30 2008 01:27:38  log
    0 bytes total (0 bytes free)
    ciscoasa#
    ciscoasa#
    ciscoasa#
    ciscoasa# sh disk0
    --#--  --length--  -----date/time------  path
    2403  0           Apr 30 2008 02:00:56  test
    2285  196         Apr 30 2008 01:28:20  upgrade_startup_errors_200804300128.log
    2283  0           Apr 30 2008 01:28:20  coredumpinfo
    2284  59          Apr 30 2008 01:28:20  coredumpinfo/coredump.cfg
    2280  0           Apr 30 2008 01:27:56  crypto_archive
    2267  0           Apr 30 2008 01:27:38  log
    0 bytes total (0 bytes free)
    ciscoasa#

  • I have followed the Apple Support instructions I did it 3 times and this message always appear: "The program can't start because MSVCR80.dll is missing from your computer" and 'Error 7' but still not able to run iTunes. Anyone have a suggestion... Please!

    I have followed the Apple Support instructions but these 2 errors always appear: "The program can't start because MSVCR80.dll is missing from your computer" and 'Error 7' but still not able to run iTunes. Anyone have a suggestion?

    Try completely removing and reinstalling iTunes and all related components; you may need to do this multiple times. It won't normally affect the iTunes library, but that should be backed up anyway.
    (99331)

  • Adobe error and we could not able to solve this

    If we select a single item in the comment field, multiple edits were selected in the page. Please refer the attached screenshot. Number 1 and 2 indicates the edits that highlights when we select 1 item in the comment field which is indicated by number 3. It seems Adobe error and we could not able to solve this.
    Could you please kindly do the needful and let us know your comments?
    - Mohamed Sathakathllah
    Message was edited by: uamsathak

    Read this:
    http://forums.adobe.com/thread/931829

  • Iso5 download error, network timed out, how do i stop this, all of my firewalls and security on my pc are currently swiched off but this still didnt help

    iso5 download error, network timed out, how do i stop this, all of my firewalls and security on my pc are currently swiched off but this still didnt help>
    trid multiple times over the last few weeks, after waiting 45 minutes for the download to comlete the network times out whilst processing the download

    The router is in your house.
    In a nutshell, a modem communicates with the Internet and brings a single communications link to your house,  The router takes that single link and divides it up among many links, both wired and wireless, to support many devices in your house.  The router and the modem may be separate physical boxes or, more commonly, they're in the same enclosure.
    Unfortunately, if there is a firewall in the router, you will need help.  I don't think that it's a good idea to try to walk you through it via the forum.  You should contact the router supplier and have them walk you through the investigation.

  • HT201413 when trying to connect itunes to store, error (-3212) display and not able to connect store

    When trying to connect itunes to store, error (-3212) appear and not able to connect itunes

    iTunes has been denied by your firewall. Add iTunes to your firewall allowed list.

  • I hav ipad 2 and it is deactivated and now i m trying to it reactivated but it is not done error comes "we are not able to activate your ipad right now"..can anybody suggest what can i do for activation my ipad 2?

    hav ipad 2 and it is deactivated and now i m trying to it reactivated but it is not done error comes "we are not able to activate your ipad right now"..can anybody suggest what can i do for activation my ipad 2?

    Have you tried plugging your iPad to iTunes?

Maybe you are looking for