MEREQ001 - EXIT_SAPLMEREQ_010

Hi all,
While executing the enhancement MEREQ001 in the production it went into dump stating that funtion module EXIT_SAPLMEREQ_010  does not exist in function group XM02.
( there is no code used in this FM.The required code is in another fm EXIT_SAPLMEREQ_005 and there is no problem with that  )
how do i include the function mod in a standard function group.Moreover in development the FM exists in the function group XM02 and hence does not go into a dump.has anyone come across this type of issue ?. pls help to resolve this issue
thanks.

Hi,
Check the function group to see if the EXIT_SAPLMEREQ_010 is in the function group. If not check and/or raise a oss.
Cheers.
Reward if useful.

Similar Messages

  • EXIT_SAPLMEREQ_010 DUMP

    Hi Guys,
    I tried activating a user exit for Purchase Requistion and have encountered a short dump stating that "<i>Function Module EXIT_SAPLMEREQ_010 is called, but cannot be found in its function group</i>". I checked the enhancement it belongs to and the function module for the component does not exist. I wanted to repair the function group by executing the function module repair via <i>SE37 > UTILITIES > FUNC GROUP REPAIR</i> but i do not know the imapct. Can you please tell me if this is the correct way of addressing the issue...What are the impacts? Will it delete the exit or will it create the FM for the exist.
    Many thanks!
    Ian

    Hi Lan,
    This user exit was given later by SAP via OSS Note. Probably some one didn't apply this note probably. see oss note
    Note 492788 - MEREQ001: Check new exit for event
    Just follow the steps and check your system and correct it. It should solve your problem.

  • MEREQ001

    Hi all
    I tried activating a user exit for Purchase Requistion and have encountered a short dump stating that "Function Module EXIT_SAPLMEREQ_010 is called, but cannot be found in its function group". I checked the enhancement it belongs to and the function module for the component does not exist.and do i have to create screen 111 even if i dont use it. kindly help.
    thanks,

    Hi Kavitha,
    Please can you be more clear about the issue.
    Have u got the error during activation of project in CMOD?
    or during writing your logic in the EXIT_SAPLMEREQ_010's include?
    You have to define the subscreen before you add the enhancement component or userexit to the project irrespective of whether you use them or not.For screen exits it is compolsoury to define the subscreen's ,see the documentation of the exit you are using i.e MEREQ001 for reference.
    But i think this is not the actual problem in your case.

  • Screen exit MEREQ001- for Transactions ME51N/Me52N/ME53N

    Hi,
      I have implemented the Enhancement MEREQ001 to add a new tab for Purchase Requistion screen.
    Requirement for me is to show the same data in the newly added tab for all line items and also to save the same data in EBAN table.
    I am facing a problem while saving the data. In EBAN table, the data was saved for all line items. But the custom added field values are saved for only the line item displayed.
    I ll explain with an example for better understanding.
    I have created a PR with 2 line items ITEM1 and ITEM2
    When i saved the data when ITEM1 is displayed, EBAN have custom added field values for ITEM1 but not for ITEM2.
    The same way, if I save data when ITEM2 is displayed, EBAN has custom added field values for ITEM2 but not for ITEM1.
      Now, my requirement is to get the both line items ITEM1 & ITEM2 updated with custom added field values in EBAN.
    Has anyone faced this kind of issue.
    Please reply back.
    Regards,
    Sreekanth.G

    Hi,
    Use BADI 'ME_PROCESS_REQ_CUST' to copy item 1 custom fields data to item 2 custom fields data.
    Regards,
    Hemanth

  • Need help for user exit mereq001

    Hi,
    I need help for user exit mereq001. I think I messed up with include table CI_EBANDB and CI_EBANMEM. And When I tried to check the syntax . It gives me error like : <b>Class IF_PURCHASE_REQUISITION. Inconsistency in the dictionary for the structure mereq_item_s_cust_data.</b> Anyone had experience for this exit? I just need to extract costcenter information of the each item from the requisition and block the requisiton if the costcenter are differents from each other before the requisition is saved. Any one has idea about it?
    Thanks.

    biao,
    Have you checked this struture consistency from SE11. Also check the activation log.
    If there are any errors and you are not able to rectify the same use RSDDCHECK program, give your table name and run the report.
    This will list down the error structures releated this table and also prompts for you to activate it.
    Regds
    Manohar

  • Program-logic goes not again in EXIT_SAPLMEREQ_010 after corrected message?

    Hi expert,
    I am using EXIT_SAPLMEREQ_010 in ME51N to add customer messages and it is nicely displayed on pop-screen. After the user correct the messages and press SAVE button, it is not going again in EXIT_SAPLMEREQ_010 and all the same messages are displayed. NO REFRESH?!
    Can anyone help me?
    Thanks in advance.
    Regards,
    Danijela

    Hi ,
    I found the solution in exit: EXIT_SAPLMEREQ_005
    I have written:
    IF im_item_has_errors IS NOT INITIAL.
      ex_recheck_item = 'X'.
    ENDIF.
    so if the item has error it will be rechecked and it comes again in
    EXIT_SAPLMEREQ_010

  • How to ME_SEARCH_SOURCE_OF_SUPPLY in EXIT_SAPMLEREQ_005 of MEREQ001

    Hi Experts,
    I have to do validations in ME51N on save.
    For this I have found the user exit MEREQ001 and its components EXIT_SAPMLEREQ_005 where I can make the validations.
    in one of the validation I have to use FM ME_SEARCH_SOURCE_OFSUPPLY by passing material, plant and vendor given by user in ME51N and if the FM retruns a potential souce of supply.
    Here how can I pass these three values to get the source of supply.
    PLease suggest.
    Regards
    Kishore

    Issue is resolved.

  • Using MEREQ001 u2013 Checking error for data in customer data tab.

    Hi Guys,
    I have implemented MEREQ001 enhancement to add custom field in CUSTOMER DATA tab at item level. I want to validate the custom fields for error and display RED dot in front of the line item number when user press SAVE button.
    I am using EXIT_SAPLMEREQ_005 for validating the custom field when user press SAVE button.
    Is this the correct exit for this requirement.
    Can somebody share to code to display the RED dot in front of the line item which has error in custom fields?
    Thanks in advance.

    I think it's right
    U need to tranfer the message to exporting parameter or raise an error message

  • Screen exit MEREQ001- Copy 1 PR line item custom fields values in all

    Hi,
    I have implemented the Enhancement MEREQ001 to add a new tab for Purchase Requistion screen at line item level .
    Requirement for me is to show the same data in the newly added tab for all line items and also to save the same data in EBAN table.
    I am facing a problem while saving the data. In EBAN table, the data was saved for all line items. But the custom added field values are saved for only the line item displayed.
    I ll explain with an example for better understanding.
    I have created a PR with 3 line items ITEM1, ITEM2 ,and ITEM2
    When i saved the data when ITEM1 is displayed, EBAN have custom added field values for ITEM1 but not for ITEM2 and item3.
    The same way, if I save data when ITEM2 is displayed, EBAN has custom added field values for ITEM2 but not for ITEM3 and ITEM1.
    Now, my requirement is to get the all  line items ITEM1 & ITEM2 and ITEM3 updated with custom added field values in EBAN.
    The logic i added in  ME_PROCESS_REQ_CUST~CHECK are as below.
           i_items             TYPE mmpur_requisition_ite                       ,
            lv_if_item          TYPE REF TO if_purchase_requisition_item,
            lt_itm_data         TYPE mereq_item   .
    DATA :  LV_dept TYPE EBAN-ZZDEPARTMENT ,
            lx_itm_data type mereq_itemx.
        CALL METHOD im_header->get_items
          RECEIVING
            re_items = i_items.
        LOOP AT i_items INTO wa_item.
          lv_if_item = wa_item-item.
          CALL METHOD lv_if_item->get_data
            RECEIVING
              re_data = lt_itm_data.
          CALL METHOD lv_if_item->get_datax
          RECEIVING
          re_datax = lx_itm_data.
         IF lt_itm_data-zzdepartment IS INITIAL.
             lt_itm_data-zzdepartment =  LV_dept .
             lx_itm_data-zzdepartment = 'X' .
          ELSE.
             Lv_dept = lt_itm_data-zzdepartment.
        ENDIF.
    To set the value for all line item.
            CALL METHOD lv_if_item->SET_DATAX
              EXPORTING
              IM_DATAX = lx_itm_data.
        CALL METHOD lv_if_item->Set_data
            EXPORTING
              IM_data = lt_itm_data.
        ENDLOOP.    " LOOP AT i_items INTO wa_item.
      ENDIF.    " IF ( NOT ls_header1-banfn IS INITIAL
    BUT above logic is not working
    Please give your inputs
    Thanks in advance
    Deepanker Dwivedi

    HI,
    You can use GET CURSOR LINE LINE_NO this will give you the sy-index so that you can read the itab like
    read table itab index line_no. This is one option and second is if you have row selector.
    read table itab with key mark = 'X'.
    If you want the Row contents befor the PAI triggers
    [Check this Thread|Table Control dynamic F4;
    Hope this is clear to you.
    Regards
    Ram

  • User exit   MEREQ001 for me51n

    hi all,
    I need to add extra fields at item level in me51n.Can anybody plz let me knw  as how to implement this using  MEREQ001 .
    thnx& rgds.

    Hi,
    You add your customer fields, which should be saved in the database, to 
    the include CI_EBANDB (in table EBAN). You can also add customer fields 
    that you want to use during the program run to the include CI_EBANMEM   
    (in structure MEREQ_ITEM) These fields are not stored in database table 
    EBAN.                                                                   
    Hope this helps you

  • MEREQ001-Valuation price change

    Hi All,
    I need to do an enhancement using MEREQ001.
    while executing me51n, the system fetches valuation price automatically for the material but in my case i need to fetch price from the latest PO. for this purpose which function exit do i use and how do i proceed. kindly reply.
    thanks

    Hi kavitha,
    Check the exits from the below Enhancement:
    SAPMM06E.
    Thanks.
    Note:Reward Points if you find useful.

  • EXIT_SAPLMEREQ_010

    i have put certain check in the User Exit EXIT_SAPLMEREQ_010,
    it works finr and if any of my below condition fails it gives error, but when i want to rectify that error all my screen become un-editable and i am not able to edit any record instaed i have to get out of the txn ME51N and then i can do how to go i also want to restrict the user for the below conditions and also want to edit those if any error comes
    my source code
    *&  Include           ZXM02U12                                         *
    DATA : wa_ebkn  TYPE ebkn,
           wa_eban  TYPE eban,
           v_target2  LIKE fmderive005-target2,
           v_code   TYPE aufk-bukrs,
           v_bukrs  TYPE mseg-bukrs.
    LOOP AT im_t_eban INTO wa_eban.
      READ TABLE im_t_ebkn INTO wa_ebkn WITH KEY bnfpo = wa_eban-bnfpo.
    *******  Check for The Internal Order STARTS
      IF wa_eban-knttp = 'F'.
        SELECT SINGLE bukrs INTO v_bukrs FROM aufk
          WHERE aufnr = wa_ebkn-aufnr.
        SELECT SINGLE bukrs INTO v_code FROM t001k
          WHERE bwkey = wa_eban-werks.
        IF v_code <> v_bukrs.
          MESSAGE e037(zmm) WITH wa_eban-bnfpo.
        ENDIF.
    ********** Cost Center Shud not be there in case of Internal order
        IF wa_ebkn-kostl IS NOT INITIAL.
          MESSAGE e036(zmm) WITH wa_eban-bnfpo.
        ENDIF.
    ********** Check Fund Center against Internal Order.
        SELECT SINGLE target2 INTO v_target2 FROM fmderive005
          WHERE sour1_from >= wa_ebkn-aufnr AND
                sour1_to   <= wa_ebkn-aufnr.
        IF v_target2 <> wa_ebkn-fistl.
          MESSAGE e038(zmm) WITH wa_eban-bnfpo.
        ENDIF.
    *******  Check for The Internal Order ENDS
    *******  Check for The Cost Center STARTS
      ELSEIF wa_eban-knttp = 'K'.
    ********** Internal order Shud not be there in case of Cost Center.
        IF wa_ebkn-aufnr IS NOT INITIAL.
          MESSAGE e039(zmm) WITH wa_eban-bnfpo.
        ENDIF.
    ********** Check Fund Center against Cost Center.
        SELECT SINGLE target2 INTO v_target2 FROM fmderive003
          WHERE sour2_from >= wa_ebkn-kostl AND
                sour2_to   <= wa_ebkn-kostl.
        IF v_target2 <> wa_ebkn-fistl.
          MESSAGE e040(zmm) WITH wa_eban-bnfpo.
        ENDIF.
    *******  Check for The Cost Center ENDS
      ENDIF.
      CLEAR : wa_eban, wa_ebkn, v_bukrs, v_code, v_target2.
    ENDLOOP.

    You can get the accounting details with methods from
    IF_PURCHASE_REQUISITION_ITEM and
    IF_ACCOUNTING_MODEL_MM.
    Example:
    METHOD if_ex_me_process_req_cust~check.
      DATA: lt_requisition_items      TYPE mmpur_requisition_items.
      DATA: mmpur_accounting_list TYPE mmpur_accounting_list,
                re_exkn TYPE exkn.
       DATA:      ls_mereqitem         TYPE mereq_item.           
       FIELD-SYMBOLS: <item>       TYPE LINE OF mmpur_requisition_items.
       FIELD-SYMBOLS: <is_acc> TYPE LINE OF mmpur_accounting_list.
      CALL METHOD im_header->get_items
        RECEIVING
          re_items = lt_requisition_items.
      LOOP AT lt_requisition_items ASSIGNING <item>.
        CALL METHOD <item>-item->get_data
          RECEIVING
            re_data = ls_mereqitem.
    <i> *Accounting Data: </i>
          CALL METHOD <item>-item->if_acct_container_mm~get_items
            RECEIVING
              re_items = mmpur_accounting_list.
    <i>* From IF_PURCHASE_REQUISITION_ITEM</i>
          LOOP AT mmpur_accounting_list ASSIGNING <is_acc>.
            CALL METHOD <is_acc>-model->get_exkn
              RECEIVING
                re_exkn = re_exkn.
    <i>*from IF_ACCOUNTING_MODEL_MM</i>
       ENDLOOP.
    ENDLOOP.
    ENDMETHOD.

  • Enhancement MEREQ001 problem

    We are upgrading from 4.6B to ECC5.0. To get rid of MODS we wanted to use PReq enhancement MEREQ001. The scenario is that we want to change the Preis(Std price) field of an item for a certain condition on PReq creation.
    We included this enhancement in a project and tried to activate the project. According to documentation only the screen needs to be activated even if this is not used. We did that. This project  gets activated only partially. It says to activate the three CI_INCLUDES also for full activation. We dont require these includes.
    But to activate the project we did the following:-
    I activated a structure CI_EBANDB provide by SAP and added a dummy field into it. This structure is part of the table EBAN (Purchase Requistion table). On trying to activate this structure, it gave an error that the structure is part of table EBAN and hence the table also neesd to be adjusted.
    Then I went into the database utilities for the table EBAN and executed it with the option 'Activate & adjust database " + Save data radio button. The activation failed with an error. Many transactions started giving dump .
    So my question is that do we need to activate these CI_INCLUDES also to work with this enhancement.
    Or if anybody has worked on this enhancement in ECC5.0 who can help me in using this enhancement.

    Hi Rohit,
    You don't need to activate the includes such as CI_EBANDB and CI_EBANMEM unless you want to add custom fields into SAP Purchase Requisition screen(s) or make custom enhancement.
    Activate means adding new custom field(s) to include structure like you added dummy field to CI_EBANDB. Once you added and save, the system will prompt you to activate and adjust table EBAN.
    If the activation failed, it will be impacted to any transaction, program, etc that related to table EBAN.
    Please be very careful. Either you fix the error or undo the changes and reactivate.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward point if helpful.

  • Implementing MEREQ001 - instantiating issue

    Hi
    While implementing exit MEREQ001. in Exit_SAPLMEREQ_003, I have written:
    if not IM_REQ_ITEM is initial.
       l_mereq_item = IM_REQ_ITEM->get_data( ).
    endif.
    I am not getting any line item data. When I debugged, this method is in include - LMEREQF10, where there is a line:
    READ TABLE my_data_input_buffer INTO ls_buffer WITH KEY req = me.
    At the time of debugging I see that there is no data in table (my_data_input_buffer) and req is empty......
    Can anyone give some Idea???
    how will req get 'me' and rest of the data??
    Thanks in advance.

    Hi,
    Please go thro the following code:
    DATA :   req_ref         TYPE REF TO if_purchase_requisition,
                 req_items     TYPE mmpur_requisition_items,
                 req_item       TYPE mmpur_requisition_item,
                 req_it_data   TYPE mereq_item.
        CALL METHOD im_req_item->get_requisition
          RECEIVING
            re_requisition = req_ref.
        IF req_ref IS BOUND.
          CALL METHOD req_ref->get_items
            RECEIVING
              re_items = req_items.
          IF req_items IS NOT INITIAL.
            LOOP AT req_items INTO req_item.
              IF req_item-item IS BOUND.
    * Getting the Item Data
                CALL METHOD req_item-item->get_data
                  RECEIVING
                    re_data = req_it_data.
                MOVE eban-zzmaktl     TO req_it_data-zzmaktl.
                MOVE eban-zzno        TO req_it_data-zzno.
                MOVE eban-zztext1     TO req_it_data-zztext1.
                MOVE eban-zztext2     TO req_it_data-zztext2.
                MOVE eban-zztext3     TO req_it_data-zztext3.
                MOVE eban-zzrc4       TO req_it_data-zzrc4.
                MOVE eban-zzpc5       TO req_it_data-zzpc5.
                MOVE eban-zzisep      TO req_it_data-zzisep.
                MOVE eban-zzdsd       TO req_it_data-zzdsd.
                MOVE eban-zzres       TO req_it_data-zzres.
                MOVE eban-zzother     TO req_it_data-zzother.
                MOVE eban-zzgur_war   TO req_it_data-zzgur_war.
                MOVE eban-zzpbg       TO req_it_data-zzpbg.
                MOVE eban-zzinsp      TO req_it_data-zzinsp.
                MOVE eban-zzqre       TO req_it_data-zzqre.
                MOVE eban-zzcp_fx     TO req_it_data-zzcp_fx.
                MOVE eban-zzversion   TO req_it_data-zzversion.
    *           Move all the custom screen fields.
                CALL METHOD req_item-item->set_data
                  EXPORTING
                    im_data = req_it_data.
              ENDIF.
            ENDLOOP.
          ENDIF.
        ENDIF.
    Regards,
    RamaniN

  • Enhancement MEREQ001 new field

    Hi ,
      I need to add a new field at item level ( in table control ) of tranaction ME51N..
    So I followed the OSS note  408017 . But still its not working.
    Plz guide me..

    Hi
    Using enhancement MEREQ001, insert the field in CI_EBANDB, use the screen exit 0111 for put the field here,
    in the exit EXIT_SAPLMEREQ_003 do this for save a DB the filed:
      DATA: db_data TYPE mereq_item.
      IF NOT im_req_item IS INITIAL.
        db_data = im_req_item->get_data( ).
        IF eban-zzpubbeuropea   NE db_data-zzpubbeuropea.
          db_data-zzpubbeuropea = eban-zzpubbeuropea.
          ex_changed = 'X'.
        ENDIF.
        IF eban-zzpubbnazionale NE db_data-zzpubbnazionale.
          db_data-zzpubbnazionale  = eban-zzpubbnazionale.
          ex_changed = 'X'.
        ENDIF.
        IF ex_changed = 'X'.
          CALL METHOD im_req_item->set_data( db_data ).
        ENDIF.
    p.s.  on the PBO with loop at screen you can make the file read only, invisible, etc etc...

Maybe you are looking for

  • How can we calculate no. of instances in a java program ?

    Hi, I want to know that How can we calculate no. of instances in a java program ? Actually I just want to calculate number of live instances in a program at any time... Thanx in Advance Vijay

  • I cannot copy a piece of text within my web cms, security prohibited

    when i open my cms fom the website, i like to copy a piece of text, but the warning comes, that the browser prohibited it seems to be a security issue . Pls help i just want to copy and paste within my cms.

  • NWBC : Add MS Outlook - Blank Page

    Dear Friends, I want to add MS outlook in PFCG role for NWBC user,so I have created one BSP application for it with following code <html> <head> <meta http-equiv="Content-Language" content="en-us"> <script type="text/vbscript"> <!-- Dim folder_1 Dim

  • Error while calling subnode..?

    Hi All, Iam getting error while calling subnode.. I have a node SHIPMENT(cardinality 1-1), containes another node IMPORTING (cardinality 0-n ). it containes attributes, one of attribute is I_VTTK_SHTYP of type TVTK-SHTYP. I am binding this attribute

  • Question about upgrading

    I once updated to a new iTunes. But when I came back I realized that my songs were different. A while ago I re started iTunes and added music all over again. Soon there was more songs than before. So when I upgraded iTunes, it brought back my OLD lib