Error message in enhancement spot

Hi...,
I want to give error message in enhancement spot.
I am using FM 'CR_BT_ORDER_POST'.
wHEN USER WILL TRY TO CHANGE SERVICE ORDER.i WANT TO THROUGH ERROR MESSAGE.AND KEEP THE CURSOR ON SAME SERVICE ORDER SCREEN
But now it is coming out of IW32.WHEN I AM GIVING ABORT MESSGAE TYPE.ERROR MESSAGE IS NOT ALLOWED IN UPDATE TASK MODE.
tHANKS,
aNIL

Hi,
  I think you have to use the function module 'POPUP_TO_CONFIRM' give the error message what you want to and if the user press any button keep the control on the same screen.
Regards,
Himanshu

Similar Messages

  • Display custom error message in enhancement spots

    Hi all,
    Is there someone here who've encountered having the need to display custom error message in an enhancement spot? Could you help me please.. I can't find any reference from the net.
    Thanks in advance
    Regards,
    Aris

    Hi,
    The error message can be only displayed in enhancement spots based on thr program flow.
    You have to determine where its getting called for ex: in PBO or PAI etc.....
    You have to find the right place to display the error messages . for ex: using a memory id ......

  • Error While creating enhancement Spot

    Hello all,
    I am doing some enhancement code using new enhancement framework for SAP HR infotype 0002 and 0006. I am searching the enhancement spot in relevant program screen, but while enhancing (Shift+F4), it is showing me a message saying "Object still in upgrade mode. Finish the upgrade first".
    My basic requirement is to change the screen values before display.
    Is anybody gone through such error?? Please help.
    Thanks,
    Prashant

    Please Share the answer.
    Regards.
    Mariano Billinghurst

  • Error Message in Enhancement of webdynpro

    Hi,
    I have a req in Webdynpro standard view to display error message when field have no value.
    For this i have used enhancement and under that i am displaying error msg by
        CALL METHOD cl_dp_wd_msghdl=>report_message
          EXPORTING
            iv_message           = lv_message
           iv_show_as_popup     = ABAP_FALSE
            iv_cancel_navigation = 'X'" ABAP_TRUE
            io_api_controller    = lr_controller
            iv_message_type      = 'E'
      io_fpm_msg_manager   =
                   wd_comp_controller->mo_fpm->mo_message_manager.
    but it is stoping there ?
    saved the order with sucess message and error message both.
    Please tel me the feasible soln

    Hi Subramaniyan,
    Proceed as follows on how to implement the Post document method.
    1. Execute TCode SE24 and input the Object type as IF_EX_MB_MIGO_BADI and click on Display
    2. Place the cursor on the method POST_DOCUMENT
    3. Press F9 or follow the menu path GoTo->Documentation->To component
    4. System will display the documentation relevant to POST_DOCUMENT and also there is a NOTE on message handling
    5. Also regarding error handling execute SE24 and display the class CL_EXM_IM_MB_MIGO_BADI.
    6. Place the cursor on the Method CHECK_ITEM and choose the menu path EDIT->Choose.
    7. System will display the sample code.
    Hope this helps you out. Reward accordingly.
    Thanks and Regards,
    Maddineni Bharath.

  • CS4 Error message: GPU enhancements

    I just opened up my CS4, and this is what greeted me:
    Photoshop has encountered a problem with the display driver, and has temporarily disabled GPU enhancements.Check the video card's manufacturer's website for the latest software.
    GPU enhancements can be enabled in the Performance panel of Preferences.
    That does this mean? If I close the box, I can use CS4, without problems ( I think, I just got CS4 so I am not sure if it is not doing something it should be or not). I had to download the trial, then register, I bought the dvd set not realizing it was a DVD, not CD, and my computer doesn't have a DVD drive. Could that have anything to do with this message?
    Thanks,
    Pj

    That message probably means your video card does not meet the CS4 requirements.
    Has CS4 worked at all without this message?
    Have you updated to version 11.0.1?
    Have you updated your video drivers?
    Is you video card compatible? (See http://www.adobe.com/go/kb405711)
    Have you tried turning off OpenGL in preferences?
    It would help if you gave us the following System information:
    Operating System/version
    Photoshop version number
    Amount of RAM installed
    Hard drive(s) capacity
    Make and model number of video card

  • Reg: How to Create Enhancement spot in $TMP Package

    Hi All,
    i had seen so many eLearning concepts which sap provided to demonstrate the ENHANCEMENTS Topic,But in that they are using the Enhancement Spots which already created in $TMP Package,So To learn this concept i am trying to create the Enhancement Spots in $TMP , But it is not allowing me to create in $TMP and it's showing the error message like Enhancements can create in only 'SAP' Packages only,So  if i will create in SAP Packages it is allowing,
    But i would like to create Enhancement Spots in $TMP Package,So it would be appriciable any one could help me regarding this.
    Thanks in Advance
    Srihasa...

    Thanks Rasheed for your quick response, i tried from the SE 38 To create Enhancement Spots in the $TMP Package,But it's not allowed me,Can you tell the way how to create the Enhancement Spots in the $TMP Package i mean is there any other Tcodes are available to create the Enhancement Spots.
    Thank you..
    Srihasa

  • ENHANCEMENT SPOT ERROR- INTERESTING !!!

    Dear All,
    I am Enhancing the standard PR05 Tcode inside an include MP56TF90(Which updates the cluster and creates the Trip number) in a subroutine FORM update_cluster.
    I have to insert some lines of code before the statement : DATA: p_return TYPE i.(Which means before  update_te_cluster.)
    And, Some lines of code after the cluster is updated, trip created ie after  MESSAGE s185 WITH te-key-reinr.
    Thanks to SAP that it has provided implicit enhancement points at both these points.
    I successfully created 2 enhancement implementations at these 2 points are included my code at the 2 respective positions.
    Now, I have an IF condition in the upper part_.If the condition is met, then the cluster should not be updated_ and hence before   DATA: p_return TYPE i.  I am putting an ELSE statement and the first enhancement implementation end here after ELSE.
    If the condition is not met, then the cluster needs to be updated after ELSE statement and thereyby I am putting the ENDIF statement at the ned of the 2nd enhacement implementation ie., before     ENDFORM.   "update_cluster.
    As the IF and ENDIF are present in 2 different enhancement implemetations, the system gives an error as follows:-
    +In the coding for a non-static enhancement and for a non-static ENHANCEMENT-SECTION, the control structures (IF, CASE) must be closed...+
    *And, I have no Option but to do it as above to meet the customer requirement ...ie., If SUPPOSE I do ENDIF in the first part only and remove the endif from 2nd part, then the condition is ofcourse being met but the control comes down and updates the cluster as well (WHICH SHOULD NOT HAPPEN !)*
    Any comments on this piece ?
    I hope my Q is clear .. If not I will post the code next time.. (As the Question is too big )
    -Anwar ...
    Edited by: Sameer Anwar on Feb 8, 2011 8:05 AM
    Edited by: Sameer Anwar on Feb 8, 2011 8:08 AM
    Edited by: Sameer Anwar on Feb 8, 2011 8:09 AM

    Hi Roby,
    Once the interface for an enhancement spot is created you have to delete it completely as some part of it would still exist if you just delete it from se24 or se18.
    the classes which actually implements the interface or enhancement spot / implementations at times are left and thats why when you create it again it will not ask you for Package assignment if you will observe.
    So i will suggest to try checking the Spot components from se80 transaction and delete it completely. Also check if the entry still exists in tadir table which i am sure will be there even after you delete as i also encountered the same issue once.
    Thats why i suggested you to create it with a new name for E-spot and interface too and check otherwise may be change the tadir entry  as well.
    Hope this helps.
    regards,
    Vikas
    <b>Always reward points to useful suggestions.</b>

  • Runtime error in enhancement spot-' mereq_topline does  not exists.'

    Hi all,
    I have implemented an implicit enhancement spot in ME53n.
    When i applied break point in enhancement spot and control goes to ebhancement spot in debugging mode, i got purchse requisition number in mereq_topline.
    When i tried to use this structure value in code i get runtime error-
    ' mereq_topline does  not exists.'
    Can you please guide how to resolve  this runtime error.
    thanks.
    Edited by: Sanjay_lnt on Sep 20, 2010 8:52 AM

    Sanjay,
    try to delete the enhancement and recreate it
    Thanks
    Bala Duvvuri

  • Enhancement spot creation error

    Hi all,
    i tried to create an enhancement spot , in that i troed to give an interface name .
    i am getting an error :
    Interface IF_XXXX_ BADI does not include interface IF_BADI_INTERFACE.
    can anyone let me know what the problem is if possible with some example .
    Regards,
    Ry

    Hi Roby,
    Once the interface for an enhancement spot is created you have to delete it completely as some part of it would still exist if you just delete it from se24 or se18.
    the classes which actually implements the interface or enhancement spot / implementations at times are left and thats why when you create it again it will not ask you for Package assignment if you will observe.
    So i will suggest to try checking the Spot components from se80 transaction and delete it completely. Also check if the entry still exists in tadir table which i am sure will be there even after you delete as i also encountered the same issue once.
    Thats why i suggested you to create it with a new name for E-spot and interface too and check otherwise may be change the tadir entry  as well.
    Hope this helps.
    regards,
    Vikas
    <b>Always reward points to useful suggestions.</b>

  • Error message "cannot use the spot healing brush because the scratch disks are full.  What does this mean? PSE9

    Tried to use the spot healing brush and clone stamp and got error messages "cannot use because the scratch disks are full."  What does this mean? PSE9

    Elements uses drive space to make its calculations, like someone writing down measurements on a scrap of paper. How much free space is there on your hard drive?

  • I received an oline fax, error message "You are not signed up for an appropriate enhanced pdf delivery option required for this request" How do I fix this?

    I received an oline fax, error message "You are not signed up for an appropriate enhanced pdf delivery option required for this request" How do I fix this?

    Hi howardw93055634,
    Please tell me where you are seeing this error message. It's not one that I'm familiar with as being related to Acrobat or Reader. Is it coming from your online fax service, or does it appear when you try to open the PDF file that you received in Acrobat or Reader?
    Best,
    Sara

  • How to populate a Error message in WebUI Screen

    Dear Experts,
    I have a small issue in Lead creation screen. I need to restrict the followup document if the lead end date is lesser than the system date, if the end date lesser than the system date system should through a error message in web Ui Screen and the lead follow up creation should be stoped.
    We found an enhancement spot in backend(GUI) of lead creation we raised the error message in the backend screen. Here its working fine, But we are not able to get any error message in WebUI lead creation screen.
    We written the code in CREATE_ORDER Method of lead creation in GUI ( tcode : CRMD_ORDER). We tried to debug the program using external debuger from webui but its not getting triggered.
    Pls suggest me, how to raise a error message for WEBUI lead follow up creation validation.
    Kindly do the needful.
    Reg,
    Anandhan

    HI Anandhan,
    Try this way,
    This should work.
    lr_global_messages type ref to cl_crm_genil_global_mess_cont,
            lr_core                 type ref to cl_crm_bol_core,
      "Instantiate the error message class.
      lr_core = cl_crm_bol_core=>get_instance( ).
      if lr_core is bound.
        lr_global_messages ?= lr_core->get_global_message_cont( ).
      endif.
            if lr_global_messages is bound.
              call method lr_global_messages->add_message
                exporting
                  iv_msg_type       = lv_msg_type
                  iv_msg_id         = '
                  iv_msg_number     =
                  iv_show_only_once = 'X'
                  iv_msg_v1         =
                  iv_msg_v2         =
            endif.

  • Customer error message in sales order on save

    Hi Friends,
    as per requirement i have to raise the error message and system should enable the field to change values. This should happen when condition is not met on Saving of Sales order.
    For this, i have used the user exit USEREXIT_SAVE_DOCUMENT_PREPARE. But the problem is system throwing error message and all r in display mode only. as per my requirement system should allow to change the error value field.
    i have verified many posting in this SDN, but nothing is working out.
    Please guide me, how to raise the error message and system should enable that filed.
    My doubt is where should i raise the error message in sales order (MV45AFZZ)??? if any badi to raise the error message also fine for me. I tried many ways like... message with display like..... and set / get parameters and badis....  but not able to find the correct solution.
    Thanks in Advance.
    Bala

    Hi
    You need to use check for enahcement spot, which will be help to you.
    Bcz you are throwing custom error message in the standard transaction, once the error is display, you could not able to change the values. your prob can be solved by using the enhancement sport.
    This is include name (Include:MV45AF0B_BELEG_SICHERN).
    In the above include, you need to create a enhancement spot after this spot (ENHANCEMENT 16  OI0_COMMON_SAPMV45A.)  
    write your custom code and while displaying an error message. set flag = 'x', then use below code. It will display error message once you press ENTER, you will get the sale order in change mode, you change the values.
      IF flag = 'X'.
              fcode = fcode_gleiche_seite.
              perform fcode_bearbeiten.
              ch_subrc = 4.
              exit.
            ENDIF.

  • Implementing Enhancement Spot

    Hi Experts,
               I am looking for an exhancement (Function Exit / Badi ) which will should be trigegred when user presses SAVE button in PO .(Say me22n)
               As I couldn't find suitable exit / badi....I thought of using the enhancement point provided for ME22N in the PAI module.Please correct if there is any issue upto here.
    *&      Module  EVENT_PAI_FINISHED  INPUT
          text
    MODULE event_pai_finished INPUT.
    ENHANCEMENT-POINT EVENT_PAI_FINISHED_01 SPOTS ES_LMEVIEWSF01 INCLUDE BOUND.
      CALL METHOD call_view->handle_event( 'BEFORE_TRANSPORT' ).
      CALL METHOD call_view->handle_event( 'PAI_FINISHED' ).
    ENDMODULE.                             " EVENT_PAI_FINISHED  INPUT
               Then to implement the enhancement point by creating a BADI implemetation ..when we are enetering the enhancement spot name ES_LMEVIEWSF01 under the create implementations section of SE19 transctaion with NEW BADI......and when we pressed cretae implementation button...nothing is happening..I mean neither BADI is getting created...nor thorwing any error message......
           Please suggest me how to follow.......You can find above code in the include
    LMEVIEWSF01 at line no 188........
            Earlier response will be appreciated.....
            Thanks ina dvance and reward points are garunteed....
    Regards,
    Sampath

    Hi Debhasis,
       Thanks for your reply. While saving exit 12 or exit 13 will be triggered ONLY when we make changes in standard PO item TABS.
        Let's say standard PO has 10 TABS at ITEM level. We are adding one more custom TAB there  adding to that our client interest is not to include this TAB fields in EKPO structure.  Hence we have to create the TAB by using screen exit option and we successfully created the TAB.
         Now take a case that we oopen ME22N with a PO no..then user did not make any changes in all the 10 standard TABS but make changes in only custom TAB...in that case exit 12 or exit 13 will not get triggered....Because they will be triggered only when you make changes to the fields which will be in EKKO or EKPO....as we are not supposed to extend EKPO ....those two exits will not be handy for us.......
         We even tried in existing BADI's ....but no BADI or exit will be getting triggering when we do not make any changes which effect EKKO and EKPO structure....
          Please let us know . if you have any idea to counter this unique problem.
           We also request you to please let us know ,if you ahve any idea, about implementing the this particular enhancement spot. Usually we can do it by SE19. But this particular spot is not allowing us to create one...... 
    Anyway Thanks .....Let's flow the discussion...
    Regards,
    Sampath

  • Enhancement spot in MV45AFZZ.

    Hii All,
    I got a problem when i am writing enhancement spot in MV45AFZZ.
    I have added some new fields in 8459 sub-screen at item level in VA01 transaction
    some of those fields are mandatory for some materials
    Now if the user goes for a save with out entering those fields in addtional tab B, i am rising a error that field is not entered in Additional tab B.
    Now everything is fine i am able to trigger that error message by writing the error message in USEREXIT_SAVE_DOCUMENT. By writing a enhancement spot.
    whenever i trigger this error message if i go and enter the corresponding fields in Additional tab B at item level it is saying that the " Item SOME NO say 00010  does not exist "  and it is going out of the transaction with out saving the sales order .
    If i dont click the save button and going directly to that additional data tab and entering the corresponding field and going for save it is saving.
    I am getting the problem if i click the save button before entering those fields. wht could be the problem?
    please help me.
    Thanks ,
    Ravindra.

    Hii,
    @  Ankesh Saharan :
    If i change the error message to information or warning it will go for a save even though those mandatory fields are missing.
    @  TARAPADA DAN :
    I tried using the exit USEREXIT_SAVE_DOCUMENT_PREPARE.
    But the problem is based on the material number entered in the screen i am fetching part location type from MVKE. using that part location i am triggering error messages.
    when i try to refer the material number as VBAP-MATNR it is blank in the exit USEREXIT_SAVE_DOCUMENT_PREPARE. So i cant use this exit.
    any one please answer my question
    Thanks,
    Ravindra.

Maybe you are looking for