User Exit ME51N/ME52N/ME53N  when save purchase requisition

Hi,
I want to validate purchase requisition  data for release startegy. If there is no value for release startegy .Then ME51N/ME52N/ME53N populate a custom message before saving.
I have found the Enhancement MEREQ001.Can anyone help me to find the exit because there are 10 user exit for this enhancment.
Thanks in advance,
Harinder

Hi,
Follow the following steps to find the EXIT
1. Open transaction SE24.
2. Now open the object CL_EXITHANDLER in display mode.
3. Go to the method tab and double click on the method GET_INSTANCE.
4. Put a break point on cl_exithandler=>get_class_name_by_interface.
5. Now execute the transaction you want to find EXIT for, it will take you to the above method.
6. Write EXIT_HANDLER in fieldnames and hit enter, it will tell you the EXIT used for your transaction.
7. Hit F8 and it will tell you all the EXITu2019s for your transaction.
Now put break points in each user exit and check which one gets triggered for your transaction.
Regards,
Manish

Similar Messages

  • User Exit when save Purchase Requisition (ME51N and ME52N)

    Hy Everyboby,
    I want to know an enhancement point/user exit activated when saving a Purchase requisition to control all item amount for a budget check.
    So anyone can help me ?
    Thanks in advance.

    Hi All,
    i am working on an enhancement where in i need to enhance the transactions ME41,42 , ME51n, 52n and ME21n and ME22n.
    the requirement is whenever a PR is created/modified (ME51/52) and a business document is attached to it, then the same business document should be available in the RFQ created for this PR as an attachment. and the same flow should happen while creating the PO using the RFQ. I am unable to find a correct user exit for this requirement. kindlyreply me if you have any solutions for it.
    your help is very much appreciated.
    thanks,
    Mohan

  • User exit /  BADI to control the Approved Purchase Requisition

    I have configured the Release procedure for Purchase requisition with classification. The Release procedure should be applicable to the manually created Purchase requisitions which are having the total value (USD/ EURO/GBP) .The Release procedure is working well. But at the same time it will not have any control over the PO .We don’t want the buyer to change the PO Price above the total value of the Approved Purchase Requisition. I am looking for a User exit or BADI. We want to generate a message as hard core when the PO total value exceeds the PR Value .This is in ECC 6.0.
    Can help will be highly appreciated. I already tried with the couple of BADI.
    Thanks
    Jeevan

    Hi Jeevan,
    We are still on V4.7 but hopefully these user exits still exist in EEC6.0.
    You should be able to use EXIT_SAPMM06E_012 which is part of enhancement MM06E005.
    This is specifically to Check Customer-Specific Data Before Saving but we have used it to check that a PO for a one-time vendor is not greater than $10,000, so it should be suitable for your purpose too.
    The PO header and item records are all available in the tables that are passed to the FM.
    Regards,
    Monika

  • User exit me51n change 'versions'

    Hi there,
    I'd like to ask which user exit for me51n to change 'Version' in level item detail to 'Set version in process' or 'Complete version' while user click save.
    The reason behind this is to create PR as draft, and PR would not be delivered to be released. So user may have 2 option ("yes/no" option) to create PR, one as final release and two, ready to be released/approved. When user choose "yes" save as draft, user exit change its item 'versions' as 'Set version in process'.
    The question would be, which user exit should be used and what function module to read and change its 'versions'.
    Thanks,
    Imera

    hi
    LMELA002  Adopt batch no. from shipping notification when pos
    LMELA010  Inbound shipping notification: Transfer item data f
    LMEQR001  User exit for source determination
    LMEXF001  Conditions in Purchasing Documents Without Invoice
    LWSUS001  Customer-Specific Source Determination in Retail
    M06B0001  Role determination for purchase requisition release
    M06B0002  Changes to comm. structure for purchase requisition
    M06B0003  Number range and document number
    M06B0004  Number range and document number
    M06B0005  Changes to comm. structure for overall release of r
    M06E0004  Changes to communication structure for release purc
    M06E0005  Role determination for release of purchasing docume
    ME590001  Grouping of requsitions for PO split in ME59
    MEETA001  Define schedule line type (backlog, immed. req., pr
    MEFLD004  Determine earliest delivery date f. check w. GR (on
    MELAB001  Gen. forecast delivery schedules: Transfer schedule
    MEQUERY1  Enhancement to Document Overview ME21N/ME51N
    MEVME001  WE default quantity calc. and over/ underdelivery t
    MM06E001  User exits for EDI inbound and outbound purchasing
    MM06E003  Number range and document number
    MM06E004  Control import data screens in purchase order
    MM06E005  Customer fields in purchasing document
    MM06E007  Change document for requisitions upon conversion in
    These are the posible exits
    Regards

  • Enhancement in ME51n, ME52n, ME53n,

    Hi experts,
    I want to add one tab in Purchase requisition screens(, ME51n,ME52n,ME53n). In that tab i need to add some fields. i need to do using  MEREQ001 . Can any one tell me how to do it? please......
    Thanks
    siva
    Moderator message: please do more research before asking, show what you have done when posting.
    Edited by: Thomas Zloch on Feb 14, 2012

    Hi,
    You can't use the BADI " ME_PROCESS_REQ_CUST.
    The main purpose of this badi is use to validate the PR at different levels. If you see the methods of that BADI  for eg :
    1. Process_header : This for validating the header part.
    2. Process_item : This for validating the line item details.
    Like that there are so many methods are there inside this BADI.
    You mentioned that you deactivated the Existing Project of PR and i want to know in which package you have mentioned.
    If that existing project is not needed you can delete the old one and incoporate the new logic and the old logic in the new project.
    Hope you got some idea now.
    With Regards,
    Sumodh.P

  • ABAP runtime error while doing ME21N, ME22N, ME23N, ME51N,ME52N, ME53N

    Dear All Expert,
    I am facing problem while doing ME21N, ME22N, ME23N, ME51N,ME52N, ME53N,
    Please find the below ABAP Runtime Error.
    Runtime Errors         LOAD_TYPE_VERSION_MISMATCH
    Date and Time          10.02.2011 11:13:07
    Short text
         Change of a Dictionary structure at runtime of a program.
    What happened?
         Runtime error
         The current ABAP program "CL_IM_WRF_MM_PROC_PO==========CP" had to be
          terminated because one
         of the statements could not be executed at runtime.
    What can you do?
         Restart the program.
         If the error persists, contact your SAP administrator.
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
    Error analysis
         The ABAP runtime system detected that the Dictionary-type "WRF_POHF_KOMP_STY"
          changed
         during the flow of the transaction.
         As the type was already used in the old version
         and in the new type should be used in the same transaction in the new
          version, the transaction had to be cancelled to avoid inconsistencies.
    How to correct the error
        Try to restart the program.
    System environment
        SAP-Release 700
        Application server... "iqe"
        Network address...... "172.25.0.85"
        Operating system..... "Linux"
        Release.............. "2.6.9-55.ELsmp"
        Hardware type........ "x86_64"
        Character length.... 16 Bits
        Pointer length....... 64 Bits
        Work process number.. 0
        Shortdump setting.... "full"
        Database server... "iqe"
        Database type..... "ORACLE"
        Database name..... "IQE"
        Database user ID.. "SAPSR3"
        Terminal................. "MUMJML5727"
        Char.set.... "C"
        SAP kernel....... 700
        created (date)... "Dec 26 2010 20:17:07"
        create on........ "Linux GNU SLES-9 x86_64 cc3.3.3"
        Database version. "OCI_102 (10.2.0.2.0) "
    Patch level. 285
    Patch text.. " "
    Database............. "ORACLE 10.1.0.., ORACLE 10.2.0.., ORACLE 11.2...*"
    SAP database version. 700
    Operating system..... "Linux 2.6"
    Memory consumption
    Roll.... 16192
    EM...... 25139088
    Heap.... 0
    Page.... 40960
    MM Used. 8038136
    MM Free. 4528408
    User and Transaction
    Client.............. 600
    User................ "JKMM"
    Language key........ "E"
    Transaction......... " "
    Transactions ID..... "4D524AD1FD7A42F9E1000000AC190055"
    Program............. "CL_IM_WRF_MM_PROC_PO==========CP"
    Screen.............. " "
    Screen line......... " "
    Information on where terminated
        The termination occurred during generation of the ABAP/4 program
         "CL_IM_WRF_MM_PROC_PO==========CP".
        The termination occurred in line 213
        of the source code of program "CL_IM_WRF_MM_PROC_PO==========CM007" (when
         calling the editor 2130).
    Source Code Extract
    Line  SourceCde
      183   DATA: l_flag TYPE wrf_pbas_boolean.
      184
      185   CALL FUNCTION 'WRF_POHF_MSG_READ_PREVIEW_FLAG'
      186     IMPORTING
      187       e_preview_flag = l_flag.
      188
      189   IF NOT l_flag IS INITIAL.
      190
      191     DATA: l_header TYPE REF TO cl_po_header_handle_mm.
      192
      193     MOVE im_header ?TO l_header.
      194
      195     CALL METHOD l_header->if_output_mm~preview( ).
      196
      197     CALL FUNCTION 'WRF_POHF_MSG_RESET_PREV_FLAG'.
      198
      199 ***$ Widening Cast for printing information.
      200 **    CALL FUNCTION 'WRF_POHF_STORE_PRINT_INFO_SET'
      201 **      EXPORTING
      202 **        im_header = l_header.
      203
      204 * Printing Preview
      205 * IF NOT gv_preview IS INITIAL.
      206 *    CALL METHOD l_header->if_output_mm~overview( ).
      207 *    CALL METHOD l_header->if_output_mm~preview( ).
      208 * clear gv_preview.
      209   ENDIF.
      210
      211 *  ENDIF.
      212
    >>>>> ENDMETHOD.
    Internal notes
        The termination was triggered in function "ab_RxDdicStruShareFailed"
        of the SAP kernel, in line 2539 of the module
         "//bas/700_REL/src/krn/runt/abtypload.c#11".
        The internal operation just processed is " ".
        Internal mode was started at 20110210111306.
        Name of the changed type......: "WRF_POHF_KOMP_STY"
        New version of the type.......: 20070508193207
        Old version of the type.......: 20070508193207
        New user......................: "Type" "WRF_POHF_KOMP_STY"
        Version of the new user.......: 20070508193207
        Old user......................: "???" "???"
        Version of the old user.......: "???"
    Active Calls in SAP Kernel
    Lines of C Stack in Kernel (Structure Differs on Each Platform)
    (CTrcStack2+0x78)[0x6cbb78]
    (CTrcStack+0xb)[0x6cc17b]
    (ab_rabax+0x3be5)[0xb8d985]
    (_Z24ab_RxDdicStruShareFailedPKtm4RUDIS0_S1_S0_+0x163)[0xb16823]
    (_Z19ab_GetDdicTypeIndexPKtm4RUDI+0x1f6)[0xb0dbb6]
    (_Z11ab_LoadViewPtjPKtPK11PROGRAMHEADPj+0x27e)[0xb16ede]
    (_Z18ab_GetDdicTypeLoad4RUDI+0x6e)[0xb1705e]
    (ab_GetView+0xc1d)[0xb0ee1d]
    (_Z20CompressInitRcByDatajPK6CG_DIRjjS1_jj4RUDIPKhj+0x60d)[0xe32b2d]
    (_Z21cg_CompressStackFrameP4TRIGjj+0x169)[0xe33399]
    (_Z8cg_blkleP3ENV+0x75f)[0xe4779f]
    (_Z9sc_cblklePKt8ENV_KINDP7SC_INFO+0x394)[0xe90024]
    (sc_blkle+0xdd)[0xec6e4d]
    (rs_oper_abap1729+0x37)[0x10eb237]
    (rs_expan_abap+0xa1996)[0xfd7a2a]
    (_Z8sc_expanj+0x76d)[0xe1d55d]
    (_Z5parsejPi+0x258)[0xe19998]
    (sc_check+0xb9c)[0xe1857c]
    (sc_inclu+0x5fa)[0xe0d50a]
    (rs_oper_abap2160+0x3a)[0x1115d6a]
    (rs_expan_abap+0xcd41d)[0x10034b1]
    (_Z8sc_expanj+0x76d)[0xe1d55d]
    (_Z5parsejPi+0x258)[0xe19998]
    (sc_check+0xb9c)[0xe1857c]
    (sc_checkStart+0x41)[0xe1ac51]
    (cg_generate+0xb65)[0xe57755]
    (ab_gabap+0x14a)[0xb01a5a]
    (dy_gen_abap+0x63c)[0x74428c]
    (ab_genprog+0x13d3)[0xb03d13]
    (_Z17ab_LoadProgOrTrfoPKtjPj+0xb56)[0x8f9ab6]
    (_Z11ab_LoadProgPKtj+0x11)[0x8f9ca1]
    (_Z15LoadGlobalClassPKtjjj9ClasState+0x24c)[0x958c2c]
    (_Z11FillCfixIntPK4CREFP4CFIXjj9ClasState+0x214)[0x957404]
    (_Z11ab_FillCfixtj+0x65)[0x957ae5]
    (_Z26ab_CrefToCladId_ActivateOKtPh+0x7d)[0x957b6d]
    (_Z8ab_jaboov+0x623)[0x959793]
    (_Z8ab_extriv+0x607)[0x8ba9c7]
    (_Z9ab_xeventPKt+0x1c1)[0xa1c021]
    (_Z8ab_triggv+0x9c)[0xa1c77c]
    (ab_run+0x97)[0xbde5c7]
    (N_ab_run+0x9)[0x736359]
    (dynpmcal+0x669)[0x7333b9]
    (dynppai0+0x8eb)[0x734d9b]
    (dynprctl+0x3e9)[0x733db9]
    (dynpen00+0x4a5)[0x726eb5]
    (Thdynpen00+0x359)[0x541bd9]
    (TskhLoop+0xc49)[0x54d999]
    (ThStart+0x20f)[0x55b29f]
    (DpMain+0x2da)[0x4bd49a]
    (nlsui_main+0x9)[0x4910c9]
    (main+0x33)[0x491103]
    /lib64/tls/libc.so.6(__libc_start_main+0xdb)[0x3cde51c3fb]
    Please help me to resolve the issue.
    Thanks & Regards
    SKK

    read this part again:  The ABAP runtime system detected that the Dictionary-type "WRF_POHF_KOMP_STY" changed during the flow of the transaction. As the type was already used in the old version and in the new type should be used in the same transaction in the new version, the transaction had to be cancelled to avoid inconsistencies. How to correct the error Try to restart the program
    how often had you restarted ME21N before you posted this message?
    In best case this message appears only once, because the program / or dictionary was changed while you executed ME21N
    If many times, then contact your ABAPer, because then he probably did not transport all objects that were changed, or the objects have to be regenerated in your system.

  • User exit at the time of saving purchase order

    Hi experts
    There are some plants for which we need to auto GR. Is there any user exit available which will check these plants in PO at the time of saving PO document and do auto GR.
    Regards

    Enhancement                                                                               
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance    
    MM06E001                                User exits for EDI inbound and outbound purchasing documents   
    MM06E003                                Number range and document number                               
    MM06E004                                Control import data screens in purchase order                  
    MM06E005                                Customer fields in purchasing document                         
    MM06E007                                Change document for requisitions upon conversion into PO       
    MM06E008                                Monitoring of contr. target value in case of release orders    
    MM06E009                                Relevant texts for "Texts exist" indicator                     
    MM06E010                                Field selection for vendor address                             
    MM06E011                                Activate PReq Block                                            
    MMAL0001                                ALE source list distribution: Outbound processing              
    MMAL0002                                ALE source list distribution: Inbound processing               
    MMAL0003                                ALE purcasing info record distribution: Outbound processing    
    MMAL0004                                ALE purchasing info record distribution: Inbound processing    
    MMDA0001                                Default delivery addresses                                     
    MMFAB001                                User exit for generation of release order                      
    MRFLB001                                Control Items for Contract Release Order                       
    AMPL0001                                User subscreen for additional data on AMPL                     
    LMEDR001                                Enhancements to print program                                  
    LMELA002                                Adopt batch no. from shipping notification when posting a GR   
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC    
    LMEQR001                                User exit for source determination                             
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt     
    LWSUS001                                Customer-Specific Source Determination in Retail               
    M06B0001                                Role determination for purchase requisition release            
    M06B0002                                Changes to comm. structure for purchase requisition release    
    M06B0003                                Number range and document number                               
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N                   
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.  
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)    
    MEETA001                                Define schedule line type (backlog, immed. req., preview)    
    ME590001                                Grouping of requsitions for PO split in ME59                 
    M06E0005                                Role determination for release of purchasing documents       
    M06E0004                                Changes to communication structure for release purch. doc.   
    M06B0005                                Changes to comm. structure for overall release of requisn.   
    M06B0004                                Number range and document number                             
    User exit for me21n

  • Activate text for Cost Center for ME51N, ME52N, ME53N

    Hi, experts
    As a requirement on T/C ME51N, ME52N, ME53N is needed to activate on "Account assignment" tab, the text for Cost Center field, how can I do this?
    Thanks in advance.
    Is there any path or exit could help with it?

    I need to add on Tabstrip "Account assignment" for fields
    CO Area and Cost Center text field description ( right side ) for each one.
    How can I do this? Thanks in advance.

  • NEED VL02N VL09 USER-EXIT FOR DELIVERY COMPLETE INDICATOR IN PURCHASE ORDER

    I NEED VL02N VL09 USER-EXITS FOR DELIVERY COMPLETE INDICATOR IN PURCHASE ORDER POSITIONS.
    F.X: IF POST QUANTITY 10, BUT PURCHASE ORDER POSITION QUANTITY 30, I NEED AT ANY CASE TO SET DELIVERY COMPLETE INDICATOR FOR RELEVANT OUTBOUND DELIVERY AN P. ORDER POSITIONS.
    THANKS/

    Hi Malka,
    It's possible set the system to mark automatically the delivery completed indicator.
    First you need to set the under delivery and over delivery tolerances.You do this in customizing:
    Materials Management under Purchasing -> Material Master -> Define Purchasing Value Keys.
    Once you set this, you can insert this value keys on Material Master Record for the materials.
    When you create the PO with a material with this value keys set the system will check the under delivery and over delivery set on customizing.
    In customizing you also have the option to let the system mark automatically the delivery indicator based on delivery tolerances set.
    In Customizing for Inventory Management and Physical Inventory under Goods Receipt -> Set Delivery Completed Indicator, you can determine for each plant whether the system automatically sets the delivery completed indicator for delivery quantities within the underdelivery and overdelivery tolerances.
    You can test setting the under delivery for 0 (with a warning message) and see if the system will only mark delivery complete only for over delivery.
    You can also work with the following Badi: MB_GOODSMOVEMENT_DCI. This Badi also allows custom logic for setting the delivery completed indicator in a PO item.
    Message: M7 433 (The "delivery completed" indicator is set for the purchase order item)
    Regards,
    Rodrigo

  • Display descriptions of cost center and G/L account in ME51N/ME52N/ME53N

    Hi Experts,
    Can any one suggest that how to display descriptions of cost center and G/L account in account assignment subscreen- ME51N / ME52N / ME53N.
    Thanks in Advance...
    Siva

    hi
    if the field is required then u have to enter them manually
    so if this are not required then goto OKB9 here give the default cost center for the Gl acct

  • Change the name of custom tab in me51n / me52n / me53n

    Hi,
    I have to add a few custom fields in PR item of  transactions me51n / me52n / me53n. I have used the enhancement MEREQ001 for adding the custom fields. The sytem automatically creates a custom tab with the name Customer Tab for the additional fields that I have added using the enhancement MEREQ001 while displaying in me51n / me52n / me53n.
    Now I have a requirement to change the name of the custom tab created for transactions me51n / me52n / me53n from Customer Data to Others.
    Can anyone suggest me how to go about doing this???
    Thanks in advance.
    Abhisek.
    P.S.:- Points will be be duly awarded 4 helpfull answers.

    Hi,
    I tried doing whatever you had suggested but it seems that it is not working.
    Could you suggest some other way to do this?
    Thanks and regards.
    Abhisek.

  • User Exit which runs after pressing SAVE button at VF01 Screen.

    Dear all,
    I need user Exit which runs after pressing SAVE button at VF01 Screen.
    Kind Regards,

    If you search the forum, you can find plenty of threads on this, for example Re: Badi or user exit for VF01 while save Can you let the forum know what exactly you want to achieve using user exit during saving of a billing document?
    Regards,

  • User exit which gets triggered when a line item is deleted in va02

    Hello all,
                   I am unable to find a User exit which gets trigerred when i delete a line item from va02.If I use the User Exits for saving data in Include MV45AFZZ the screen field VBAP-POSNR for line item is not getting accessed.All i need to compare the line item texts. Which means if any of these texts change then i need to write my logic. But the screen field name for all the texts is the same.Please guide me.

    Hello,
    Whever you perform any actions on the line item, we have the user exit in MV45AFZZ, userexitxvbap. Whenever the the item is deleted the UPDKZ value in XVBAP value is set to 'D', else since you are using the transaction VA02, any change is recorded in YVBAP(for old values) and XVBAP(for new values), so using this two internal table you can write any necessary logic.
    BR
    Sudhakar.

  • User exit name which triggers when a save button is pressed in CJ20N

    Hi, does anyone knows which user exit is called when press the 'SAVE'  button in CJ20N transaction.
    Thanks

    hi,
    Below are the list of user exits available
    for cs02.
    PCSD0001            Applications development R/3 BOMS                           
    <b>PCSD0002</b>            BOMs: Customer fields in item                               
    <b>PCSD0003  </b>          BOMs: Customer fields in header                             
    PCSD0004            BOM comparison                                              
    PCSD0005            BOMs: component check for material items                    
    PCSD0006            Mass changes user exit                                      
    PCSD0007            Check changes in STKO                                       
    PCSD0008            WBS BOM: Customer-specific explosion for creating           
    PCSD0009            Order/WBS BOM, determine URL page                           
    PCSD0010            Order/WBS BOM, determine explosion date                     
    PCSD0011            Knowledge-based order BOM, parallel update                  
    PCSD0012            Customer - Mat. number/mat. number during material change 
    PCSD0013            Customer-specific processing of an explosion for BOM rowser
    Hope this helps !!
    Cheers
    Alfred

  • User exit for MFBF Transaction when we save the Transaction

    Hi All,
    I have a requirement like this I am generating batch numbers for MFBF Transactioin for this I have written code in the user exit 'EXIT_SAPLV01Z-002' this user exit will generate the Batch Number accordingly client requirement and update the batch number to the cust table which I have created,But now the issue is if we will not save the MFBF Transaction or it got some error and terminated the Transaction MFBF still the batch Number is updating to the custom table I want to find which user exit will trigger when we will save the docuement in the Transaction 'MFBF'?
    Thanks&Regards
    Mahesh

    Hi Mahesh,
    Check these user exits.
    PTRM0001            User Exit for Lead Column in REM Planning Table
    SAPLRMPU            Customer Exits for Material Staging
    XMRM0001            User exits: Backflushing in Repetitive Manufacturing
    No of Exits:          3

Maybe you are looking for

  • URGENT USE OF XML IN MY SQL SERVER

    Hi all i just want to ask for suggestion on how to convert my result set rom SQL Server to XML please, it badly needed thanks Ricky

  • Solaris 10 new features

    Solaris 10 introduces project-based roles within the OS-- we have configured a project for oracle but weren't able to find definitive instructions as to what should be set and, more importantly, what each parameter being set is actually doing for Ora

  • Problem in tables HR_HAP

    hallow i wont use in se 11 hrhap but the butten of contents is bright for all the table who start in HRHAP_     what is the problem it happens just in this type of table some now if sap have alternative table or change thair names thankes

  • HTTP Connection to R/3 System error- HTTP/1.0 404 Not found

    Hi, I am using a HTTP connection to XI to extract data from R3 to XI. The HTTP connection I have created in R3 are getting an error - "HTTP/1.0 404 Not found" while testing the connection. Porperty maintained in the connection: Terget host = <XI serv

  • About create a Word file with Jacob

    Hello! I want to create a new MSWord document with Jacob. All the examples that I have seen are for MSExcel and me do not serve. How I can create this document, insert text and images, the application to record and to close it from Java? This it is t