Why are not  pop up  message window when message type I and W

Hi All,
I am working in BADI ( me_purchdoc_posted~posted) for t-code ME21N. Actually i want show material number, material description  and ABC indicator of material at saving point of PO if material is significant.
code is properly working  but does not showing  error message window when I am using message type I  (information) or W (worming message) .
if i am using message type E ( error message )then showing message window just link  Information message.
So i can no understand why are not message window pop up  when i take message type I and W.
my code is that
method IF_EX_ME_PURCHDOC_POSTED~POSTED
IF SY-TCODE EQ 'ME21N' OR SY-TCODE EQ'ME21'.
  DATA : wa LIKE LINE OF IM_EKPO.
  DATA : VAR_MAKTX TYPE MAKT-MAKTX.
  DATA : VAR_MAABC TYPE MARC-MAABC.
  DATA : P TYPE STRING.
  DATA : P1 TYPE STRING.
  LOOP AT IM_EKPO INTO wa.
    SELECT SINGLE MAABC FROM MARC INTO VAR_MAABC WHERE matnr EQ wa-matnr AND werks EQ wa-werks.
    SELECT SINGLE MAKTX FROM MAKT INTO VAR_MAKTX WHERE matnr EQ wa-matnr. " AND werks EQ wa-werks.
      IF VAR_MAABC EQ 'A'.
        P = 'is significant material'.
        CONCATENATE  WA-MATNR '(' VAR_MAKTX ')'  P INTO P1.
        MESSAGE P1 TYPE 'E'.
        EXIT.
        ENDIF.
  ENDLOOP.
ENDIF.
endmethod.
guide me...............

Hi vinod,
thanks for reply......
yes,  my  requirement is to show the popup window with  material number, material description and ABC indicator of material at saving point of PO if material is significant.
I find Badi to transaction me21n at saving PO.  Badi ME_PROCESS_PO_CUST does not exist.
so i am using Badi me_purchdoc_posted~posted.
This Badi  ( me_purchdoc_posted~posted ) is properly working But showing message  "system error ( error in method po_post ) "
when I am click on OK then automatic leave from transaction.
guide me..........

Similar Messages

  • Not showing  pop up message window when message type I and W

    Hi,
    My requirement is to show the popup message window with material number, material description and ABC indicator of material at Every line item of PO in Transaction ME21N , if material is significant.
    I find Badi to transaction me21n ME_PROCESS_PO_CUST~PROCESS_ITEM
    actually i want show only information about material.
    This Badi ( ME_PROCESS_PO_CUST~PROCESS_ITEM ) is properly working But does not showing Popup Message window
    when i am using Message Type  'I' or "W" .
    <Coding>
    method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM.
    BREAK-POINT.
    BREAK-POINT.
        IF  SY-TCODE EQ 'ME21N' OR SY-TCODE EQ'ME21' . " ) AND MEPO1211-werks IS NOT INITIAL. " AND IM_LGOBE IS INITIAL.
       BREAK-POINT .
      DATA : VAR_MAKTX TYPE MAKT-MAKTX.
      DATA : VAR_MAABC TYPE MARC-MAABC.
      DATA : P TYPE STRING.
      DATA : P1 TYPE STRING.
    DATA: ls_mepoitem1 TYPE mepoitem,
          ls_header_obj TYPE REF TO if_purchase_order_mm,
          ls_header   TYPE mepoheader,
          lc_werks(1) TYPE c,
          lv_fabkl    TYPE t001w-fabkl,
          lv_plifz    TYPE ekpo-plifz.
       *Get header data
      ls_header_obj = im_item->get_header( ).
      ls_header     = ls_header_obj->get_data( ).
    *Get Item Data
    ls_mepoitem1 = im_item->get_data( ).
        SELECT SINGLE MAABC FROM MARC INTO VAR_MAABC WHERE matnr EQ ls_mepoitem1-matnr AND werks EQ    ls_mepoitem1-WERKS.
        SELECT SINGLE MAKTX FROM MAKT INTO VAR_MAKTX WHERE matnr EQ ls_mepoitem1-matnr.
          IF   VAR_MAABC EQ 'A'.   "LS_MEPOITEM1-SPINF EQ 'A'.
            P = 'is significant material'.
            CONCATENATE  LS_MEPOITEM1-MATNR '' '(' VAR_MAKTX ')'  '' P INTO P1.
           MESSAGE p1 type 'I' .   
            EXIT.
            ENDIF.
            ENDIF.
    endmethod.
    guide me.....

    Hi
    Please, see SAP Note 310154 - ME21N/ME51N: Customer-specific check, generating error log
    I hope this helps you
    Regards
    Eduardo

  • Why are new tabs becoming new windows when I open them?

    When I open a new tab (via a link or through Ctrl+T) and click on it while it's still loading, sometimes it will split from the others to become a new window. This is rather irritating. What could be causing this? Is it an option I'm missing or some feature I'm accidentally setting off?
    It happens most frequently when a tab is loading, but it doesn't have to be. For example, when I switched tabs to paste my Troubleshooting Information here, this tab split into a new window.

    Make sure that you do not drag a tab in the browser window.<br />
    Firefox 3.5 versions and later have a feature called tear-off tabs.<br />
    You can detach a tab from the current window and open it in a new window by dragging a tab in the browser window.<br />
    You can drag that tab back to the tab bar in the original window to undo that detaching.<br />

  • Why does it say itunes can not contact the ipod update server because you are not connected to the internet when i am connected to the internet?

    why does it say itunes can not contact the ipod update server because you are not connected to the internet when i am connected to the internet? i need to update my ipod i even changed the LAN settings and it stilll doesnt work

    Have you seen this article?
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    B-rock

  • Certain pop up windows are not apperaing on my screen.  Save as PDF and Doc preferences never appear

    Certain pop up windows are not apperaing on my screen.  Save as PDF and Doc preferences never appear, and lock me out until I press return.  So they are active, I just can't see them.  Any ideas?

    They are obviously off the screen somewhere. Did you have a dual monitor set up at one time? You can try increasing the resolution of your screen to see if you can get a part to show or maybe just resrt the preferences (Cmd(Ctrl)+Opt(Alt)+Shift as you restart AI) to reset the defaults.

  • Why are all urls coming up invalid when I am connected to my wireless network?

    Why are all urls coming up invalid when I am connected to my wireless network?

    First back up the registry
    Go to Start > Run --> type in regedit and hit OK. 
    Navigate to the key HKEY_CURRENT_USER\Software\Classes\LocalSettings\Software\Microsoft\Windows\CurrentVersion\TrayNotify. 
    Delete the values IconStreams and PastIconsStream. 
    Open up the Task Manager, go to the Processes tab, select explorer.exe and click End
    Process. 
    Open the Applications tab and click New Task at the bottom-right of the window. 
    In the message box that pops up type in explorer.exe and hit OK. 
    Explorer.exe will reload, and the missing icons should now be back in the system-tray
    where they belong. 

  • Why am I being charged for data when connected to wifi AND not using my phone?!

    WHY am I being charged for data that I'm not using? At times when I'm asleep AND my phone is connected to wifi?!  This happens at really specific, alternating times like 9:54 pm every day, or 12:01 am, 6:01 am and then 12:01pm and 6:01pm. When I called I was told  "maybe your wifi at home is disconnecting" or "maybe your phone is connecting to atnt or sprint". It's not possible that my phone is disconnecting from wifi every six hours on the dot and, at that exact time, I'm always using data. I find it hard to believe that I live in a HUGE city and my phone magically connects to other networks and I NEVER notice this. Verizon is full of LIARS (and maybe’s) and I'm not convinced that these data charges are a coincidence. I was told to turn off my cellular data to see if the problem resolves itself. Why should I alter my daily life when Verizon is clearly the one with the issue? I hope there's a class action lawsuit because Verizon is trying to get over on everyone! I need answers!

        Hello NotHappy101,
    I think it's quite odd that your data usage is at very specific times. We can certainly take a closer look. Please reply to my Direct Message, so we can get some additional details.
    Thanks,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • How to alert with new window when message is comming like MSN

    Please tell me .How to alert with new window when message is comming like MSN?

    Why is it the first think everyone wants to do in JSP is write a chat application?
    Not really an easy way to do this, as HTTP is a "pull" model. You send a request, the server sends a response. The server can't send anything unless you ask for it. That kindof puts a damper on things like instant messaging.
    A couple of workarounds
    1 - refresh the page every once in a while to check for new messages. An easy solution but nowhere near optimal.
    2 - check out pushlets www.pushlets.com
    Cheers,
    evnafets

  • I have Prem. Elements 12.  I am trying to add audio media.  I know where the audio files are located (using GET INFO while in iTunes), and when I try to add certain audio files, some are accepted and some are not.  In one case, when I opened a particular

    I have Prem. Elements 12.  I am trying to add audio media.  I know where the audio files are located (using GET INFO while in iTunes), and when I try to add certain audio files, some are accepted and some are not.  In one case, when I opened a particular folder, the song was not listed, even tho' the song is there when using Windows Explorer.  This happens with mp3 and mp4 and just wav files.  Some audio are accepted, most are not.  I get that codec is not installed error message, too.

    Perhaps it would be helpful for you to view the page source code of this page
    http://www.alanwork.com/
    As you can see, the submenu code links are immediately below the top level code, and are
    wrapped in their own  <UL> </UL> tag pairs.
    Hope that helps

  • HT1688 why are my imessages now turning into text messages all the time?

    Why are my iMessages now turning into text messages all the time?

    There are a number of reasons why they may be sent as regular sms and not iMessages. If either party is in an area with poor reception and the the data network is struggling, the regular sms messages will be sent to the recipient. iMessage can be switched off at a users convienince, your recipients may have iMessage turned off when you've sent those messages.
    There are instances where the iMessage server is not responding due to techinical issues (although, few and far between)

  • Mail messages in my In Box are not appearing in the list of messages.

    Mail: SOME mail messages in my In Box are not appearing in the list of messages.  Instead, there's a blank line in its place if already read, or just the blue dot if unread.  But when I click on the line, the message's column/header detail appears (and I can open it).
    (Coincidental or not, immediately prior to this situation, I established a New Rule that mail coming from my son's email address should be Moved to the IN Box as they had been going to Trash.  None of the emails I'm questioning have any reference to his email address in them.)

    Continuation of info (from GDTGG): When I leave that mail message and click on a different one, the blank line marking its place once again appears for the message.  (There was a similar problem posted by someone else in 2009 entitled "Inbox Has Blank Lines" but with no apparent solution that I could find.)

  • Spotlight does not open a finder window when i choose Show all in finder menu?

    I have a significant number of files in my Macbook Air. A lot of them are research papers and medical literature.
    About a month ago I updated the operating system from snow Leopard to mountain Lion and I had no reasons to complain except a smaller battery time.
    Since then I installed every OS update.
    After the last update, a few days ago, Spotlight does not open a finder window when i choose Show all in finder menu.
    Spotlight continues to work properly if I write a name or expression in spotlight in a finder window but not in the upper left corner at the menu bar
    As this been described yet?
    Thank you in advance
    Miguel Tavares

    I had the same problem yesterday after performing a clean install of Mountain Lion (10.8.2) on my MacBook Pro.
    I resolved the problem by booting from the Mountain Lion Recovery Partition and then running Disk Utilty (Repair) for the primary disk on which Mountain Lion is installed.  It identified (and repaired) many permissions issues...
    When I rebooted following the repair, Spotlight worked again properly -- including the "Show All in Finder" function.

  • When Using iOs 7.1.2 OSX 10.9.4 notes are not syncing via USB. When will this be fixed. Not interested in iCloud or IMAP solution.

    When Using iOs 7.1.2 with mac OSX 10.9.4 mavericks notes are not syncing via USB.
    When will this be fixed ? Not interested in iCloud or IMAP solution. it worked before,  I can't really
    understand why apple would change one of my favorite features. I use the notes feature to
    capture  quick ideas on the road and having it synched on my computer and my phone was very useful.
    Previous blog posts elsewhere indicated this would be fixed in the latest rev of iOS, OSX and iTunes.
    But alas after the recent update it's not. Really Annoying.

    poweruser_art wrote:
    When Using iOs 7.1.2 with mac OSX 10.9.4 mavericks notes are not syncing via USB.
    When will this be fixed ? Not interested in iCloud or IMAP solution.
    Then you won't be syncing your notes anymore.
    Contacts and Calendars are the only things they restored.
    iOS: How to transfer or sync content to your computehttp://support.apple.com/kb/HT1296

  • HT4623 why my iphone are not responding after i update the latest ios? and the screen displaying itunes icon

    why my iphone are not responding after i update the latest ios? and the screen displaying itunes icon

    You are in Recovery Mode. Follow the instructions below to recover your iPad.
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    If you cannot turn off the device using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the device turns off, release the Sleep/Wake and Home buttons.
    3. While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button.
    5. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: You need to be patient and repeat the above many times to recover your iPad. Data will be lost.

  • Hi why I can't download itunes on my hubby's laptop?It showing an error message "windows cannot find C:\document and settings\pistolero\mymusic...

    Hi why I can't download itunes on my hubby's laptop?It showing an error message "windows cannot find C:\document and settings\pistolero\mymusic... We have itunes before and he accidentally delete it..

    ... We have itunes before and he accidentally delete it..
    If Windows cannot find then the path you referenced (C:\document and settings\pistolero\mymusic...) then it is gone.
    Download and install iTunes again: http://www.apple.com/itunes/
    Once iTunes is installed you can download your purchased music again. This assumes what you purchased is still available in the Store. Here is the procedure:
    Launch iTunes.
    Click on iTunes Store on the left
    On the right you will see this
    Sign in with your Apple ID, then click on "Purchased" (with the orange blob)
    On the summary page that appears select the tab "Not on This Computer" on the right.
    On the list that appears, select what you want and then click the "Download" button.

Maybe you are looking for

  • Inserting a page

    how do i insert a pdf file in between every page of a pdf or word file; i have pdf pack.

  • BREAK  ABAP statement

    What is the use of BREAK ABAP statement in ABAP.

  • Email account not working

    I had to reset my iphone4s and now my email account want populate. It shows that hotmail is my account but it only pulls the icloud account. Is there anyway to restore my email account. I used I cloud to back up and it didn't back everything up. THis

  • Format-Volume of GPTTYPE {c12a7328-f81f-11d2-ba4b-00a0c93ec93b} fails

    PS X:\> $PSVersionTable.PSVersion Major  Minor  Build  Revision 4      0      -1     -1 Format-Volume : No matching MSFT_Volume objects found by CIM query for enumerating instances of the ROOT/Microsoft/Windows/Storage/MSFT_Volume class on the  CIM s

  • Error while downloading data

    Hi, While downloading the data(Huge) using the custom program its given the following error in background JOB LOG. Actually this program takes data from the UNIX server and created XL sheets. Can any one help me............ Problem: A RAISE statement