Error message in exit at ME21N

Hi frieds, I'm needing some help with this problem. I'm trying to send a error message in EXIT_SAPMM06E_013 with the command line MESSAGE E000(ZM) WITH TEXT-002. The message shows correctly, but after my message sap show another one, "System error (error in method PO_POST)". How I can get this message off?
Thanks a lot for any help.

If possible, you might want to try using a BADI instead of the user exit.  This BADI is set up specifically for checking data.  The implementation is CL_EXM_IM_MB_RESERVATION_BADI. 
Otherwise your message isn't getting all the way to the calling program.  You could try an exit.  But an exit won't roll back any data that was commited prior to the exit.  (That's a tricky thing.)
Hopefully I've given you some different things to check out.
Michelle

Similar Messages

  • Display Error message for items in ME21N

    Hi everybody,
    i made some controls for items order using the User-Exit EXIT_SAPMM06E_006.
    If the control don't pass, i display an error message using MESSAGE instruction.
    The probleme is when i'm doing it, the Error message is display in the task bar, as a general message and not just for the item controlled (statut field).
    So how can i do to display my message with the message list for the item ?
    Thanks in advance.

    Hi,
    You have to use function module ME_LOG_SAVE for including your messages in the application log.
    Please check the below similar code. You may have to use OOPs concepts to add messages to the application log.
    FORM mepo_save_aplg_messages.
      DATA: l_log_handles TYPE bal_t_logh.
      FIELD-SYMBOLS: <l_hdl> LIKE LINE OF l_log_handles.
      CHECK fc_vorga EQ cva_en.
      CHECK NOT gf_id IS INITIAL.
      CHECK ekko-memory NE space OR
            *ekko-memory NE space.
      IF NOT gf_log_handle_read[] IS INITIAL.
        INSERT LINES OF gf_log_handle_read[] INTO TABLE l_log_handles.
    prepare old logs for deletion
        LOOP AT gf_log_handle_read ASSIGNING <l_hdl>.
          CALL FUNCTION 'ME_LOG_DELETE'
               EXPORTING
                    im_log_handle = <l_hdl>
               EXCEPTIONS
                    error_message = 1
                    OTHERS        = 2.
        ENDLOOP.
      ENDIF.
      IF NOT gf_log_handle_save IS INITIAL.
        INSERT gf_log_handle_save INTO TABLE l_log_handles.
      ENDIF.
      CHECK NOT l_log_handles[] IS INITIAL.
    save deleted and new logs
      CALL FUNCTION 'ME_LOG_SAVE'
           EXPORTING
                im_log_handles = l_log_handles
                im_update_task = 'X'
           EXCEPTIONS
                OTHERS         = 1.
    ENDFORM.
    Thanks,
    ramakrishna

  • Get error message when exiting premier Pro wont save file

    I am getting an error message when I exit adobe premier pro it wont save the file and the program locks up. I even uninstalled an reloaded the program CS5.5 vrs. still get the same error can anyone help?

    You have not provided any system information or other technical details, so we can't know anything. Either way, ask in the Premiere Pro forum.
    Mylenium

  • Error message in EXIT for PR

    HI:
         I want to write some error messages in PR exit, But while checking the PR ,only one error message would be displayed  when many items for this PR could not met the needs of the condition writen in PR exit. Does there a way we can use to display error message per item.
          Hope someone can help me.TKS.

    I'm not sure what exactly do you need, if you set the E message in looping ,then when the system loop and find 1 item and meet the error msg logic,then the system will exit from the looping, in this case if there 10 item in PR, and the 1st item error , then it'll pop out the error msg w/o check another item.Also the error message text is so short to cover all item error message,you should find another workaround ,like you check per item if meet the condition that you store it to table,then in the end of the check you put the error message if the table if filled.so the user can check the error in a report,not on the spot in transaction.

  • Error Message, user exits, and editing disabled problem.

    HEllo I recently had an assignment where I have to create a user exit with an error message. I had no problems with the error message but after an error occurs, with this line:
    <b>  MESSAGE ID 'ZSD' TYPE 'W' NUMBER '002'.</b>
    the fields have become disabled and there seems to be no way to enable the fields for changing. Is there a way to fix this. Thanks people and take care!

    Oh, TYPE E,  when issuing an error message, all fields are disabled unless you tie it to a field or group of fields.  This is commonly done by using the CHAIN...ENDCHAIN statements in the PAI of the screen.  Do you have access to this?  I assume that you are issueing the message from within a MODULE, right?  You are probably calling this module in the PAI flow logic of the screen.  You will need to do something like this.
    Here P_BUKRS is the screen field and CHECK_BUKRS is the module where you are checking the value and issuing the error message.  Using the CHAIN, you can tie other fields to the check so that they are also enabled when the error message is issued.
    CHAIN.
    field p_bukrs module check_bukrs.
    ENDCHAIN.
    Regards,
    Rich Heilman

  • Error Messages: idle exiting pid 6081

    Since I upgraded to Mountain Lion I am getting the following error message repeatedly in Console. It seems to be slowing my iMac considerably.
    28/07/12 5:09:49.870 PM com.apple.launchd[1]: (com.apple.xpcd.F5010000-0000-0000-0000-000000000000[6081]) Exited: Killed: 9
    28/07/12 5:09:49.000 PM kernel[0]: memorystatus_thread: idle exiting pid 6081 [xpcd].
    I have no idea what this means. Can anyone help please?
    Cheers...Scotty

    My occurrence of the error was caused by the terminal server it was trying to connect to being down.
    The WTS was pingable but not RDPable [is that a word?]. The uttsc script checked the WTSs in its list by pinging them and if they responded, it would then do load balancing to figure out which one to target. So the script would run but the TC would get immediately bounced back to the starting point since the WTS it tried to connect to was unreachable.
    May you benefit from my pain [it took me 3 hours to figure this out because I was chasing down possibilities on the SunRay side]. Live and learn...

  • Error message when exiting RobohelpHTML

    When I close RoboHelp, I receive a message stating ""Adobe
    Robohelp 7 has encountered a problem and needs to close. We are
    sorry for the inconvenience." I don't need to have a project open
    to receive the error, and get it on every project I work on. I've
    even tried creating a new project without any luck. I've been
    running RH7 for months now, but recently upgraded to Office 2007. I
    don't think this is the problem though because a co-worker gets the
    same error message and she hasn't upgraded Office yet. This problem
    just started happening out of the blue to both of us.

    The fact that this has happened to two of you at the same
    time and it is not project related suggests it is to do with your
    setup.
    Looking at RH first, is it the case that your projects are
    all local (or under source control)?
    If yes, then you need to speak to your IT people. My first
    thoughts are that they have done something with the virus checking
    program or firewall. It could also be they have made some profile
    changes or permissions changes. The latter should not be an issue
    with RH7 but if they have reduced your permissions, it could be
    worth reinstating local admin permissions to see what happens.
    Like you, I don't think the Office upgrade is the issue. With
    previous versions of RH, if you upgraded Word, you did have to
    uninstall RH and reinstall it. First that is no longer true and
    second, as you point out, that has not happened to your colleague
    and she has the problem too. Also, upgrading Word gave an error
    message, not a crash like this.
    Let us know how you get on.

  • Problem when error message in exit Save document prepare(MV50AFZ1) on PGI

    Hi,
    I am using USER_EXIT_DOCUMENT_PREPARE for throwing  error message during PGI. The error triggers properly, But after that if I press enter button, The program ends with an ABEND error 'Risk of posting several mat.documents for one delivery->long text'.
    If anyone come across with this please help me.
    Thanks in Adv.
    Regards
    Nishad

    Hi,
    I am not clearing any tables , there is a check where any BOL lading is entered or not, if not entered then throw the error message. I think when i debugged, in standard code they is a flag check
    if wa_zaehl > 0  and        "WA-Zaehler noch Null?
         fcode(4) <> 'SIC1' and  "und FCODE nicht 'Sichern'!!!
         fcode(4) <> 'LT06'.     "und FCODE nicht 'LT06'
        message a621.            "wenn nein, Abbruch!!!
      endif.
    in include MV50AF0F_FCODE_BEARBEITEN  causes problem, This flag is set after successful creation of voucher.
    I am not sure how can this be tackled.
    Thanks for your reply.
    Nishad

  • Why do I get "The exception Privileged instruction (0xc0000096) occured in the application" error message when exiting LabVIEW 6.1?

    I have created a vi that uses the LV-GPIB and database connectivity vis. The program runs fine and it ends execution by running the "Close Database Connection.vi".
    After closing out my front panel windows and exiting LabVIEW 6.1, I get an error dialog box that reads the message "The exception Privileged instruction (0xc0000096) occured in the application". What does this error mean and how do I resolve it?
    Thanks,
    Taf

    Hi Taf,
    Given the broad scope of your application, it may be best to try and isolate the problem down by taking out parts of your application and simplifying it down as much as possible until you can get a consistent version that throws this exception. I would first try to take out either the GPIB or database connectivity portions of the application to narrow down our problem. This error generally occurs when accessing DLLs and external applications, so I wouldn't be surprised if it's the GPIB or database. Let's try to see exactly which one it is and then we can dig deeper into that part of the code. Thanks for your cooperation!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Windows 7 displays error message when exiting +cursor issue

    Two issues here. CS5 Phoshop on Wind 7 64 bit.
    Physical processor count: 8
    Processor speed: 3073 MHz
    Built-in memory: 12279 MB
    Free memory: 9577 MB
    Memory available to Photoshop: 10934 MB
    Memory used by Photoshop: 80 %
    Image tile size: 128K
    First issue is since the latest automatic Adobe update (why fix what isn't broken?) Every time I now exit Photoshop I get the message "Adobe QT Server has stoped working" and occasionally it happens when I exit bridge. Indesign is also behaving badly. I can no longer start a previous document from file manager without ID crashing out.
    The other is the cursors in Clone and erase lose their edge (become invisable) for no reason - well not quite. Noise Ninja crashed Photoshop when I tried to use it. I reinstalled it and all is well. The cursor issue seems to be intermittant but came back (for no reason) after I reinstalled NN. I can't seem to change the cursor, no matter what I do. The problem is now seriously affecting how I work. Almost enough to go back to Win XP which ran CS5 Photoshop flawlessly.
    Any help will be gratefully accepted.
    Doug

    function(){return A.apply(null,[this].concat($A(arguments)))}
    doug87510 wrote:
    The recent problem is the entire outline of the cursor (including the crosshair in the middle) was missing at any size of cursor. All I had was exactly what I'd get if I used a real spraygun.
    Well, that issue is simply a matter of hitting the Caps Lock key.  When Caps Lock is on, you'll see the cursor outline, and when it is off you'll see a crosshair.  That's a feature, not a bug.
    Glad to hear the 11.1 drivers are out.  I will download them and try them now myself.
    Regarding "Adobe QT" crashing...  QT brings to mind QuickTime, though that is Apple, not Adobe.  Do you have Apple QuickTime installed?
    Regarding memory usage, with 12 GB of installed RAM, you should be able to set Photoshop to use 90% or more in Edit - Preferences - Performance.
    -Noel

  • Error message on exiting After effects CS6

    Just installed Production Premium today.
    Installation was ok, no errors.
    Launched after effects, made some changes to preferences, then exit
    On exit I get ::
    Executable: AFterFX.exe pid 2d8c tid 1098. module vmctrl,ax
    6 objects left active
    at lione 317 of .\dllentry.cpp
    continue? (Cancel to debug)
    I tried adobe support chat, they cant/wont help stating this is outside there responsibililty and I should use the forums. THis is annoying as this is a brand
    new version released today!!
    I can close AE, but this is happening each time I exit
    Can anyone help?
    Chris

    HI
    Just an update. Please see attached screen dump of error, this time it pointed me to some debug files. I will send all these to adobe
    Regards
    Chris Anderson

  • Display error message in user-exits for ME21n

    Hi,
    I want to give error message in exit EXIT_SAPMM06E_013
    but it is getting displayed as information and gets roll back .
    Can anyone help to display error message and stop there itself so that to give corret data and save.
    the code in this exit is as below.
    IF I_EKKO-BUKRS = '0800'.
        CLEAR:V_FLAG.
        READ TABLE TEKPA WITH KEY PARVW = 'ZN'.
        IF SY-SUBRC NE 0.
          MESSAGE E000(ZD)."'XXX' TYPE 'E'.
        ENDIF.
    ENDIF.
    Thanks,
    Suresh

    check this
    EXIT_SAPMM06E_012 to display error message
    especially look at the last post , adding the log.

  • Raise an Error message in ME21N

    Dear All,
    I am using user exit (SRVDET: EXIT_SAPLMLSP_040) to raise an Error message, it will terminate ME21N by the Error message. Did anyone know how to make it return to ME21N after an Error message...
    I try to set screen to 500, 210...etc. but it seems make the program hung after leave screen. Any idea? Thanks a lot!
    BR,
    Well

    Hi
    Try to use the BADI ME_PROCESS_PO_CUST
    and raise the error message
    see the sample code
    BAdI Name: ZCHECK_PO_LINE_ITEM (Implementation name) PO Account assignment
    Definition Name: ME_PROCESS_PO_CUST
    Interface Name : IF_EX_ME_PROCESS_PO_CUST
    Implementing Class: ZCL_IM_BADIN_ACCOUNT_ASSGN
    Method :            PROCESS_HEADER
    METHOD if_ex_me_process_po_cust~process_header .
      DATA : re_data TYPE mepoheader.
    *get the item data
      CALL METHOD im_header->get_data
        RECEIVING
          re_data = re_data.
      re_header = re_data.
      IF ( re_data-bsart NE 'ZOC' AND re_data-bsart NE 'ZPC' ).
        IF ( re_data-bsart <> 'ZIC' AND re_data-bsart <> 'UB' ).
          IF re_data-bukrs NE '1001'.
            MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'Use only Sipchem Company'
                                            'Code for External Procurement'.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDMETHOD.
    Method :            PROCESS_ITEM
    METHOD if_ex_me_process_po_cust~process_item .
      DATA: v_menge TYPE bamng,   " PR Quantity
            v_statu.              " PR Status
      DATA : re_data TYPE  mepoitem,
           re_data1 TYPE mepoaccounting,
    re_accountings TYPE purchase_order_accountings ,
    header TYPE purchase_order_accounting.
    *get the item data
      CALL METHOD im_item->get_data
        RECEIVING
          re_data = re_data.
      IF ( re_header-bsart NE 'ZOC' AND re_header-bsart NE 'ZPC' ).
        IF re_header-bsart EQ 'ZRL'.
          IF re_data-konnr EQ space.
        MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You cant create a Release order'
                                              'without a reference to Outline Agreeement'.
          ENDIF.
        ENDIF.
        IF ( re_data-banfn EQ space AND re_data-anfnr EQ space ).
          MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You can create a Purchase order'
                                                         'only with reference to a PR or RFQ'.
        ENDIF.
        IF re_data-knttp NE 'K' AND re_data-pstyp NE '9' .
          IF syst-cprog EQ 'RM_MEPO_GUI'.
            IF re_data-uebto IS NOT INITIAL OR
               re_data-uebtk IS NOT INITIAL OR
               re_data-untto IS NOT INITIAL.
          MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You cant change delivery settings'.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDMETHOD.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How can i send an error message at EXIT_SAPMM06E_013 ?

    Hi
    I'm making some validations to Vendor and Partner Functions (table control in 'Partners' Strip) in Creting/Changing Purchase Orders (ME21N/ME22N). 
    I know the suitable user exit is EXIT_SAPMM06E_012 for making validation before saving, but this exit does not has (receive) the table with Partner Functions so i could validate them.
    Then I use the Exit _013, wich executes when saving the PO, because this exit has the captured Partners table (XEKPA).
    But, when i make the validations and try to send a error mesage,  the system shows other message type info (window) like 'The requested object is locked by another transaction' and then another like 'System error (error in method PO_POST)'.
    I think this it's because the exit _013 is better suitable to make customer updates and not validations, that it's because just passing by MESSAGE Ennn(cc) command makes the methods catch my error and send other errors and close the transaction.
    Does somebody can help me ??
    How can i send error messages in exit _013 ??
    Or is this incorrect ??
    Or in wich User Exit can i validate the Partner Functions ??
    I really will aprettiate if somebody can help me, because i'm delayed with my development !!
    Regards

    Hi Frank,
    The eror message you are getting seems to be coming from somewgere else and may be due to the same PO being cahnged in another transaction or have you put some code in BADI ME_PROCESS_PO ( Method POST) .
    You can try by commenting out the code in EXIT 13 .
    If this does not work then use EXIT 12 only and below is the code you can use to access XEKPA in exit 12.
    DATA IT_EKPA LIKE EKPA OCCURS 0 WITH HEADER LINE.
    DATA NAME(50) VALUE '(SAPLMEPO)XEKPA[]'.
    DATA NAME1(50) VALUE '(SAPMM06E)XEKPA[]'.
    FIELD-SYMBOLS <F1> TYPE ANY .
    IF SY-TCODE+4(1) = 'N'.
    ASSIGN (NAME) TO <F1>.
    ELSE.
    ASSIGN (NAME1) TO <F1>.
    ENDIF.
    IT_EKPA[] = <F1>.
    ( Now you have the data in IT_EKPA table which you can use to validate )
    Cheers

  • How do I reinstall my Creative Suite 5 Design Premium without getting an error message?

    I recently uninstalled Adobe Creative Suite 5 Design Premium from my old computer (Design Premium CS5 & Adobe Acrobat 9 Pro components) so that I can put it on my new computer (Windows 7 Home Premium).
    At first I forgot to uninstall Acrobat and tried to reinstall on my new computer at which an error message came up, hence I realised my mistake.
    Now that all components have been uninstalled, after installation on my new computer I get the below error message appear:
    Exit Code: 6
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 4 error(s), 3 warning(s)
    WARNING: CreateAlias:Icon file does not exist at C:\Program Files (x86)\Adobe\Adobe Utilities - CS5\Pixel Bender Toolkit 2\windows\pb_app.icofile:\\\C:\PIXELB~1\source\winwood\Staging   
    0X1.EE508AP-1021rea\windows\pb_app.ico42178f80493091e8e552c84a2897e9da68fce32_32_f80493091 e8e552c84a2897e9da68fce for icon C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Adobe Design Premium CS5\Adobe Pixel Bender Toolkit 2.lnk with target C:\Program Files (x86)\Adobe\Adobe Utilities - CS5\Pixel Bender Toolkit 2\Pixel Bender Toolkit.exe
    WARNING: File/Folder does not exist at E:\Adobe CS5\payloads\AdobeFireworks11All\OEM
    WARNING: File/Folder does not exist at E:\Adobe CS5\payloads\AdobeFireworks11en_GBLanguagePack\OEM
    ERROR: 146 Unable to delete backup file at "C:\adobeTemp\backup\adobetmp3464826061" Error 5 Access is denied.
    ERROR: 146 Error committing command ARKDeleteFileCommand
    ERROR: The following payload errors were found during install:
    ERROR:  - Adobe Flash Player 10 ActiveX: Install failed
    The CS5 programs appear in my start menu however i'm worried components might be missing?

    1. does fireworks work?  if not directly download and install: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html
    2. does pixel bender work?  if not (and even if yes but you want the latest version), download and install: http://www.adobe.com/devnet/pixelbender.edu.html
    3. do you have a working flash player?  go here to check:  http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html
    the other cs5 programs are not mentioned in the error message but, check to make sure they are all working.

Maybe you are looking for

  • PDF to EXCEL failed conversion

    have a pdf auto created by app file it is an INVOICE before app was created it was done in Excel - everything should be EASILY converted after coversion got from Acrobat services a messed-up file even subscription is paid - no way to get support /inc

  • Torch 9860 not starting

    My Blackberry Torch 9860 is dead. Red light at the top is giving long blip. It is trying to start but not able to complete the operation. Can anyone quickly help me with this problem?

  • Can i download from a small disk

    I bought a car dashboard camera and it came with a small disk.  I cannot seem to download when I use an external disk drive and I don't know if I can insert the small disk into my iMac.  Any thoughts?  Thank you

  • Membership with old client?

    Hi, i need to use a old client, 9i, because a connect to 9i Database and (the big problem with the 11g client) 8i Dababase , i can't connect with the 8i Db, i always have the same error code:ora-03134. That is the reason why i need to use another cli

  • Help on idx2

    Hi All When I try  to load a new meta data  for any idoc with idx2 I get the following error I::000 Message no.000 Does any one know what it means and how to solve it my best regrards.