To remove error from error message screen in ME21N

Hi all,
I have a strange problem may be not to you guys,
well i am showing an error message in ME21N on certain condition in EXIT 'EXIT_SAPMM06E_012' this is working fine i am using simple stmt Message e(MSGno) text-01, but when i correct the problematic part and again want to save my data it is aloowing me to save data but my error message(In red) still remains there if i see in EDIT ( of faulty messages pop-up window). Can any body know if we have to remove error message manually in case our program satify the condition.
if yes what portion i m missing to delete the error message.
any reply will be highy appreciated n offcourse points for sure
thanks a lot.
regards
Mandy

Well we can remove message from message text tray using pre-defined macros to erase message.its like
IF SY-SUBRC NE 0.
  IF NOT tekpo-id IS INITIAL.
   "This is to remove error message later on
   "if problem corrected.  
    mmpur_business_obj_id tekpo-id.
  ENDIF.
   mmpur_metafield mmmfd_item_userexit.
mmpur_message 'E' 'ZMM02' '050'
              'Intraplant STO :' '' '' ''.
else.
  "To erase message
   mmpur_metafield mmmfd_item_userexit    .
   mmpur_remove_messages_by_id tekpo-id.
ENDIF.
its working for one line item, if more then one line item you need to verify it.
Mandy

Similar Messages

  • Automatic Removal  materila from error list

    Hi
    When i do confirmation and if some material which needs to be backflushed  is not available in stock, then that confirmation goes in error.
    Is there is any program which when run in background will remove material from error list(COGI) when that particular material is available in stock.

    Mayuresh,
    when you run "CORUAFWP", foreground, hope you have not activated the "Simulation" check box, if you have, then please remove the Check Box and process.
    In fore ground if you are running, the output report would contain 2 sections,
    First "Overview of Material Documents"
    Second " Overview of Failed Material documents".
    If you dont get any material documents in the first section, it means that the error still exists. In your sandbox or Test system, I would suggest you to first intentionally create a COGI error record by removing the stock, and then check whether COGI record is available or not. If available you can create the stock and then try running "CORUAFWP" program. You would now find a material document in the First section of the output report as explained by me.
    Please dont expect COGI error records like Posting Period Problem or Storage Location not maintained problem to get posted through  "CORUAFWP" , these records have to be processed manually after correcting the dates or inputting the storage location in COGI transaction.
    "CORUAFWP" Program would be helpful in automatically clearing error records of Less stock or Record Lock Problem.
    Hope this helps....
    Regards,
    Prasobh

  • How to remove xmlns="" from the message

    some reason on the header node in the below message gets xmlns="" when the message is generated from BPEL.
    below is the output that generated. I want to remove xmlns="" from the message.
    <?xml version="1.0" ?><ProductMovementReport xmlns="urn:cidx:names:specification:ces:schema:all:4:0" Version="4.0">
    <Header xmlns="">
    <ThisDocumentIdentifier>
    <DocumentIdentifier>42519</DocumentIdentifier>
    </ThisDocumentIdentifier>
    <ThisDocumentDateTime>
    Can anybody help me please ?

    It's is missing my blog article :-)
    Here it is:
    <?xml version="1.0" encoding="UTF-8" ?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="comment()|processing-instruction()|/"><xsl:copy><xsl:apply-templates/></xsl:copy></xsl:template><xsl:template match="*"><xsl:element name="{local-name()}"><xsl:apply-templates select="@*|node()"/></xsl:element></xsl:template><xsl:template match="@*"><xsl:choose><xsl:when test="name() != ''xmlns''"><xsl:attribute name="{local-name()}"><xsl:value-of select="."/></xsl:attribute></xsl:when></xsl:choose></xsl:template></xsl:stylesheet>';

  • I was trying to move my photos from the iPhoto library to an external hard drive.  I now have a desktop display of thousands of cascading photos.  How do I remove them from my desktop screen?

    I was trying to move my photos from the iPhoto library to an external hard drive.  I now have a desktop display of thousands of cascading photos.  How do I remove them from my desktop screen?

    Strangely enough we can not see you so it really helps if you share with use exactly what you have, exactly what you did and details about the problem
    what version of iPhoto and of the OS? What exact steps did you do? where are you seeing these "thousands of cascading photos" now and using what software and what exactly did you want to accomplish
    The correct way to move your iphoto library to an external drive is to verify the drive is formatted Mac OS extended (journal) and then drag the iphotl library intact as a single entity to is
    The correct way to move some or all of your photos is to select them in iphoto and export 9file menu ==> export  --  https://discussions.apple.com/docs/DOC-4921 ) to the external drive
    LN

  • How to remove items from iPad home screen?

    How to remove items from iPad home screen?

    Press and hold any of the apps and after a couple of seconds or so they should start to shake. Then press the 'x' in the left corner to delete the ones that you don't want, and when you've finished deleting press the home button so as to stop the shaking. If you don't get the 'x' on any of the apps that you've downloaded (you can't delete built-in apps) then check that Settings > General > Restrictions > Deleting Apps isn't set 'off'

  • Removing Shortcuts from my home screen/page.

    How do I remove shortcuts from my home screen? I added a few by mistake How do I get them off my home screen? I don't want to uninstall them, I just want the shortcutt off my home scree/page.

    Glad it worked.  I came back to give you a link to Android's manual which will tell you other tips and tricks for using your phone's operating system.  You can view it in pdf form here or html with hyperlinks here.

  • Workflow error from purchase requisition screen

    How can I check workflow error / status / information from purchase requisition screen. Is there any other transaction ?

    Goto SWI6 or SWI14 and enter the object type (standard is BUS2105 for PR) but in your organization if custom Object type used then enter that and execute you will see the list here
    enter the selection period

  • How do i completely remove headers from email messages

    Hi everyone. Can someone tell me how to completely remove the headers from showing up in messages i send, forward or receive? I know how to make the headers shorter, but that's not what i want to do. I want to completely remove them from all outgoing and incoming messages. Thanks!

    Hi lpagillo.
    Not sure what you mean. You cannot remove the headers from the messages themselves. If what you want is them to not show up so that they don’t take up space on the screen, choose None in Preferences > Viewing > Show header detail.

  • How can I remove things from the home screen

    How can I remove things from the iPad home screen?

    Hold down an icon until all icons start to wiggle.
    You then have two choices:
    1.  Drag the icon to the right so it goes to a different (non-home) screen.
    2.  If the icon is not supplied by Apple as part of iOS, you will see a small "X" in the upper left corner.  You can click that to delete the icon.
    Stop the wiggling by pressing the home button.

  • "send", "attach" boxes disappeared from new message screen.

    My "New Message" screen no longer displays boxes to send, attach file, etc. I don't know what I did to cause it, and can't find out how to restore them. I can still use these functions from the menu bar, but the boxes were very handy and I'd like to have them back.

    I found the problem. To see the "send", "attach" and other icons, click view>show toolbar.

  • Remove Starbucks from my Text Screen

    How do I Remove the starbucks ad from my text screen.  I just switched from my IPhone for this **.  Now you are telling me it was a huge mistake.  I am upset I pay a lot of money every month for verizon service and paid a bunch for this phone and I get stuck with ads/ apps I cannot remove.

    What phone do you have?  There are a lot of texting apps...LOTS.  Each one has different backgrounds and features, sounds, and all kinds of extras.  You can even get different keyboards separately from apps in the Store if you want a different layout, including iPhone-like keyboards.  I use the stock LG G2 app for texting, but I also use a separate keyboard app called Google Keyboard that is more to my liking.  There is also Hangouts which handles texts and video calling built into Android phones.

  • How to remove paint from my macbook screen

    Hi My roommate was doing some painting and my MacBook was on the coffee table and now I have flecks of paint on my screen. What is the safest way to remove it without damaging the screen?

    Try Goof-Off or Methyl Ethyl Keytone (MEK) both which dissolve water based paint (latex wall paints) and evaporate very quickly, however when it dries if it's on the screen again then it will dry there. So you need to wipe off with clean areas of a cloth quickly to transfer the paint to the cloth and not back onto the screen.
    Since both are extremely powerful solvents, it's highly advised to test using a cotton swab on a lower corner someplace small and allow to dry, hold at a angle to see if it will damage the screen.
    If it's small tiny flecks like spots, you may use a plastic credit card or plastic paint scraper and lightly pass over the screen and chip them off.
    Oil based paints are a different matter, I'm assuming here the walls were painted to get that sort of splatter on the screen.

  • To remove error from error message screen stnd SAP in case condition met

    Hi all,
    I have a strange problem may be not to you guys,
    well i am showing an error message in ME21N on certain condition in EXIT 'EXIT_SAPMM06E_012' this is working fine i am using simple stmt Message e(MSGno) text-01, but when i correct the problematic part and again want to save my data it is aloowing me to save data but my error message(In red) still remains there if i see in EDIT ( of faulty messages pop-up window). Can any body know if we have to remove error message manually in case our program satify the condition.
    if yes what portion i m missing to delete the error message.
    any reply will be highy appreciated <REMOVED BY MODERATOR>
    Mandy
    Edited by: Alvaro Tejada Galindo on Feb 7, 2008 10:51 AM

    Well we can remove message from message text tray using pre-defined macros to erase message.its like
    IF SY-SUBRC NE 0.
    IF NOT tekpo-id IS INITIAL.
    "This is to remove error message later on
    "if problem corrected.
    mmpur_business_obj_id tekpo-id.
    ENDIF.
    mmpur_metafield mmmfd_item_userexit.
    mmpur_message 'E' 'ZMM02' '050'
    'Intraplant STO :' '' '' ''.
    else.
    "To erase message
    mmpur_metafield mmmfd_item_userexit .
    mmpur_remove_messages_by_id tekpo-id.
    ENDIF.
    its working for one line item, if more then one line item you need to verify it.
    ENJOY SAP

  • I need help removing bezel from my laptop screen

    I have a HP Pavilion DV4-1125nr laptop and I cracked the screen and need to change it but I can't seem to figure out on how to remove the bezel out of my screen so I can remove screen and get the model number from the back.  I removed screens before but they had screws on top of bezel covered by little rubber knobs and the dv4-1125nr doesn't have any of this and it looks like you have to remove the bezel using your hands but I can only pop out the top and the sides, the bottom doesn't pop out and I'm afraid to force it out in case I break it.  What am I misssing here?  Is there a trick to get it out?

    http://h20574.www2.hp.com/?jumpid=reg_R1002_USEN&lang=en&cc=US&hpappid=psml
    From above url ( HP partner Services Media Library ), do the following;
    1. Select Laptops and Teblet PCs in "Product Category"
    2. Select HP Pavilion Notebook PCs in "Product Family"
    3. Select Pavilion dv4-1000 Entertainment Notebook PC series in "Product Series"
    4. Select either FRU Remove/Replace (AMD) or FRU Remove/Replace (Intel) based on your CPU type.
    5. It should bring up another window "HP Service Media Library" and then select Display Bezel ( Recessed ) to bring up the video and detailed procedure for you to open up the LCD Display Bezel.
    Have fun and keep this URL handy and you can use it for all your DIY works later.

  • Remove option from variable entry screen

    Hi all,
    I have to remove some option from the variable  entry screen as the user dont required that...
    How to remove that?
    please let me know step by step....

    Hi,
    Do you want to remove some values for the variable and wish to show only few values which the user will select and fill in the variable screen or you want to change the no.of variables displayed in the variable screen and show only few variables?
    If you want to do the first,
    Restrict the values for that variable in the Query itself(in Query Designer) which can be done as follows...
    Create a variable for a Characteristic and add it under "Default Values",then restrict the values for that variable.Now this will allow you to select the restricted values through the variable screen.
    If you want to do the second,
    Go to Personalized settings,and personalize the variables.You can also Modify the selection of values there as well.
    Now you can show only the required variables in the variable screen.
    If you want to create a variant(Global/Local) for the variables,that is also possible thorugh vairable screen.
    Hope this helps you!
    Rgds,
    Murali

Maybe you are looking for