Need user exit or BADI name

Hi
  I have the below requirement.
In the transaction Me51n, in the item data->valuation tab
when the valuation price is greater than 5000.then
it should display an error message 'user should not enter mothan price Rs 5000'.
Please provide me the user exit or Badi name to implement the code.

Hi,
Use this code
it will tel u all the exits related to ur transaction.
Just go to se38 and copy this code there, activate and execute
*& Report  ZTEST_MANISH
*& Program to find exits for a particular transaction
REPORT ZTEST_MANISH NO STANDARD PAGE HEADING.
TABLES : TSTC, TADIR, MODSAPT, MODACT, TRDIR, TFDIR, ENLFDIR.
TABLES : TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
IF SY-SUBRC EQ 0.
  SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
                   AND OBJECT = 'PROG'
                   AND OBJ_NAME = TSTC-PGMNA.
  MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
  IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
      SELECT SINGLE * FROM TFDIR WHERE PNAME = TSTC-PGMNA.
      SELECT SINGLE * FROM ENLFDIR WHERE FUNCNAME =
      TFDIR-FUNCNAME.
      SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
                         AND OBJECT = 'FUGR'
                         AND OBJ_NAME EQ ENLFDIR-AREA.
      MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
  ENDIF.
  SELECT * FROM TADIR INTO TABLE JTAB
                WHERE PGMID = 'R3TR'
                  AND OBJECT = 'SMOD'
                  AND DEVCLASS = V_DEVCLASS.
  SELECT SINGLE * FROM TSTCT WHERE SPRSL EQ SY-LANGU AND
                                   TCODE EQ P_TCODE.
  FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
  WRITE:/(19) 'Transaction Code - ',
       20(20) P_TCODE,
       45(50) TSTCT-TTEXT.
  SKIP.
  IF NOT JTAB[] IS INITIAL.
    WRITE:/(95) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
           2 'Exit Name',
          21 SY-VLINE ,
          22 'Description',
          95 SY-VLINE.
    WRITE:/(95) SY-ULINE.
    LOOP AT JTAB.
      SELECT SINGLE * FROM MODSAPT
             WHERE SPRSL = SY-LANGU AND
                    NAME = JTAB-OBJ_NAME.
      FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
      WRITE:/1 SY-VLINE,
             2 JTAB-OBJ_NAME HOTSPOT ON,
            21 SY-VLINE ,
            22 MODSAPT-MODTEXT,
            95 SY-VLINE.
    ENDLOOP.
    WRITE:/(95) SY-ULINE.
    DESCRIBE TABLE JTAB.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No of Exits:' , SY-TFILL.
  ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(95) 'No User Exit exists'.
  ENDIF.
ELSE.
  FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
  WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
AT LINE-SELECTION.
  GET CURSOR FIELD FIELD1.
  CHECK FIELD1(4) EQ 'JTAB'.
  SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
  CALL TRANSACTION 'SMOD' AND SKIP FIRST   SCREEN.
Or u can use the following steps:
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.
Regards,
Manish

Similar Messages

  • Need User exit or BAdi for VF01

    Hi.
    I need User exit or Badi for VF01.
    Condtion: After Successful Save of document number in database.
    Please help me.
    To be reward all helpfull answers.
    Regards.
    Jay

    Hi
    The follwing user exits and badis available:
                                                                                    Enhancement                                                                               
    V05N0001                              
    User Exits for Printing Billing Docs. using POR Procedure       
    V05I0001                              
    User exits for billing index                                    
    SDVFX011                              
    Userexit for the komkcv- and kompcv-structures                  
    SDVFX010                             
      User exit item table for the customer lines                     
    SDVFX009                               
    Billing doc. processing KIDONO (payment reference number)       
    SDVFX008                              
    User exit: Processing of transfer structures SD-FI              
    SDVFX007                               
    User exit: Billing plan during transfer to Accounting           
    V61A0001                               
    Customer enhancement: Pricing                                   
    V60P0001                               
    Data provision for additional fields for display in lists       
    V60A0001                               
    Customer functions in the billing document                                                                               
    Business Add-in                                                                                SD_CIN_LV60AU02                       
    BADI for billing                                                
    VOR_WA_FAKTURA                        
    Billing before Goods Issue                                                                               
    If it is helpful rewards points.
                         Regards
                          Pratap.M

  • MIRO User-Exit or BADI Name

    Hi all,
    How can i control MIRO referans field during saving Vendor Invoices? What is the name of User Exit or BADI name?
    Best regards,
    Munur EBCIOGLU

    SE18 > INVOICE_UPDATE >
    based in ur requirement you can use:
    Methods:
    CHANGE_AT_SAVE     Invoice Document at Save
    CHANGE_BEFORE_UPDATE     Invoice Document Before Update
    CHANGE_IN_UPDATE     Invoice Document During Update

  • Need user exit or BADI for FB60

    Hi Guys!!,
    I am working on one object which   belongs to FB60 transaction. I have to give error message when user enter the ZTERM Value above 45 days for particular vendor group(MSMED).please help out.
    Richard.

    Hi,
    Foloowing are available user exits and BADIs for FB60.
    F050S001                                               FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002                                               FIDCC1: Change IDoc/do not send
    F050S003                                               FIDCC2: Change IDoc/do not send
    F050S004                                               FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005                                               FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006                                               FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007                                               FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001                                               Balance Sheet Adjustment
    FARC0002                                              Additional Checks for Archiving MM Vendor Master Data
    RFAVIS01                                               Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00                                              Line item display: Checking of selection conditions
    RFKORIEX                                              Automatic correspondence
    SAPLF051                                              Workflow for FI (pre-capture, release for payment)
    Please find the one suitable to your need.
    Hope it will help you.
    Regards
    Natasha Garg

  • Need user exit or BADI for NMM1

    Hi,
    I need user exit/BADI  for transaction NMM1.
    We need to know the material status of material to determine whether to send a Reservation or PR.
    Presently it is determining depending on material type .
    Regards,
    Sekhar Raju.

    It's a really big list -:)
    <b>Enhancement</b>
    NLEI0003
    NLEI0004
    NLEI0005
    NLEI0006
    NMAT0001
    NMAT0003
    NMAT0004
    NPDIST00
    NPDIST01
    NPDIST02
    NPRI0001
    NPRV0001
    NQSFP001
    NTPK0001
    NZUZ0001
    NLEI0002
    N1200001
    N1400001
    NBDT0001
    NBILL000
    NBILL001
    NBILL003
    NBTYPE00
    NC160001
    NC160002
    NC160003
    NCPR0001
    NHCO0001
    NKOS0001
    NKOS0002
    NLEI0001
    <b>Business Add-in</b>
    ISH_PROCEDURE_CHECK
    ISH_PROCEDURE_ADJUST
    ISH_PRINT_INVOICE
    ISH_PRICING_FIELDS
    ISH_PICKLIST_000002
    ISH_PICKLIST_000001
    ISH_PAYDIST_INSREL
    ISH_P21_TRANSFER
    ISH_PROCEDURE_PROPOS
    ISH_PROCEDURE_SORT
    ISH_REV_ASSIGNMENT
    ISH_RNZUZBI1_SORT
    ISH_SERVICEFORM
    ISH_SERVICE_DPD
    ISH_SERVICE_ENTRY
    ISH_SERVICE_MOVEMENT
    ISH_TREATMENT_DETERM
    ISH_CONTRACT_MAXIMUM
    ISH_COPAY_REPAY
    ISH_COPAY_TRANSFER
    ISH_DE_DRG_SC_FOREIG
    ISH_DIAGNOSIS_CUST
    ISH_DOP_DEDUCTION
    ISH_DRGCASE_CHECK
    ISH_INSREL_CASE_SAVE
    ISH_INVOICE_CHECK
    ISH_INV_CANCEL_CHK_1
    ISH_IR_DEFAULT_UNTGR
    ISH_MM_CONS_CO_PREP
    ISH_MM_DOCTYPE
    ISH_MM_EXT_INQUIRY
    ISH_MM_MAT_PRICE
    ISH_MM_STORL2MMDOC
    ISH_NPDRG2_FINAL_CHK
    Greetings,
    Blag.

  • VT01n,VT02n ...Need user exit or Badi to implement this code :

    Hi Experts ,
    In VT01n or VT02n transactions , when I give shipping type as 03 (VTTK-VSART) and TransportPlanPt as 4701 (VTTK-TPLST) , the additional data tab  field Suppl. 1 (VTTK-ADD01) must be filled with Z1 value automatically , Even though if the value is not given in additional data tab field Suppl 1 by the user. In which user exit or Badi shall i write my code ???
    After saving , I must get Suppl. 1 (VTTK-ADD01) as Z1 ,.
    Please suggest User exit or Badi with importing and exporting parameter's as VTTK table or any other solution to achieve this .
    Note : Table VTADD01 already has this value Z1 .
    Thanks All !!!

    There are enhancements you can make for Shipments in transaction CMOD.  Create a new project.  Then you need to add enhancement(s) to the project.  Look at the enhancements starting with V56.  I think enhancement V56USVDP will work for what you want to do.  After the enhancement(s) have been added to the project, then click on the Components button.  You will see a list of function modules.  Sometimes there is documentation available using the blue i button on the screen.  Double click the function module you want to change.  There is also documentation available in the function module sometimes.  Double click the Z include in the function module.  You will have to create the include.  Then you can make the necessary changes in the Z include.  After you have made your code changes, you have to go back to the component screen and activate the enhancement component.  The activate function is in the menu under the project menu.
    Hope it helps,
    Brian

  • Need User exit or BADI for IW31/IW32 transactions

    Hi all,
    Is there any user exit OR BADI availble for transactions IW31 and IW32. I need to restrict some Activity types and work centres(Error message should come when we give wrong combination of these 2 and press on save button).
    Thank you very much in advance.
    Thanks,
    Venu

    Hi,
    Check the BADI
    WORKORDER_UPDATE  - Business Add-In PM/PP/PS/PI Orders  Operation: UPDATE
    This is multiple use Badi , hope this is the one you are looking for.check by implementing and placing the breakpoint in appropriate methods.
    Alos check the below
    IWO1_SCREEN_MODIFY
    IWO1_PREQ_BADI
    WOC_FL_DETERMINE
    Regards,
    Raj.

  • User exit or BAdI name for Netprice field in PO

    Hi All,
    Can you please give me the name of the BADI or user exit to update the net price field in automatic creation of PO ME59N.
    In this case I am creating the PO based on a PR the net price field has to pick the price from the Sales Order.
    Please help me out in this.
    Thanks,
    Praveen

    <b>User-Exits</b>
    MM06E010
    MM06E009
    MM06E008
    MM06E007
    MM06E005
    MM06E004
    MM06E003
    MM06E001
    MEVME001
    MM06E011
    MEQUERY1
    MRFLB001
    MMFAB001
    MMDA0001
    MMAL0004
    MMAL0003
    MMAL0002
    MMAL0001
    M06B0002
    M06B0001
    LWSUS001
    LMEXF001
    LMEQR001
    LMELA010
    LMELA002
    LMEDR001
    AMPL0001
    MELAB001
    LMELA002
    LMEDR001
    AMPL0001
    MELAB001
    MEFLD004
    MEETA001
    ME590001
    M06E0005
    M06B0003
    M06B0004
    M06B0005
    M06E0004
    <b>BADIs</b>
    ME_HOLD_PO    
    ME_CIN_MM06EFKO
    ME_CIN_LEINRF2V
    ME_CIN_LEINRF2R
    Greetings,
    Blag.

  • Needs User Exit or BADI for VA02 Delete button

    Hi Friends ,
    I have requirement like i need to do perform some operation when in VA02 menuSALES DOCUMENTDELETE button pressing...So i need to write that code in User Exit or Some BADI or Enhancement Spot...
    I tried for BADI ,no BADI is triggering there...So please suggest me how to proceed further.

    Hi,
    You can do this using form USEREXIT_DOCUMENT_DELETE in include MV45AFZZ. You need to get a access key for this include.
    See the below link for more details;
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm
    Regards
    Karthik D

  • User Exit or BADI for VA02-Text editor Functionality

    Hi experts,
    Can anyone of you please provide me the User exit or BADI name for the tcode VA02 to call the Function Modules related to TEXT Editor?
    **********Issues********
    I have an Order eg.110022345...Under that Order,there are many line items...Say if i select one line item and change its Schedule line date,then that line item will get cancel and in turn an corresponding New line item will get ceated.
    However,the Content of the TEXT fields is not copied to the line item from the parent line item.
    I guess the STD SAP code functions in that way.So i thought of writting an Zcode to apply this functionality by using the Function modules "SAVE_TEXT" and "READ_TEXT_INLINE".
    In order to do this i need to know the User exit or BADI which is suitable for my requirment.
    Requesting you to help me in this case..
    Thanks in advans:)

    Hi
    Try USEREXIT_MOVE_FIELD_TO_VBAP in userexit MV45AFZZ.
    I'm not sure but may be you need to use FM 'CREATE_TEXT' instead of 'SAVE_TEXT'.
    First try with "SAVE_TEXT" if it won't work then use 'CREATE_TEXT'.
    Best Regards,
    Nikhil Patil

  • User Exit OR Badi for MK01 transaction (used for saving vendor amster data)

    Hi All,
    I have a requirement where I have to call my workflow, when we create the Vendor using my custom transaction (ZMK01, which is a copy of standard transaction MK01).
    For Workflow triggering I am using FM 'SAP_WAPI_CREATE_EVENT' in the user exit  'EXIT_SAPMF02K_001' but this is only for checking the data on saving Vendor Master.
    So I want to use FM 'SAP_WAPI_CREATE_EVENT' at right place. For that , I need User-Exit or BADI which is used for saving vendor master data.
    Could anyone please help me to find out the user exit or BADI for save event of vendor master data using transaction MK01.
    Looking forward to your advise and thanks in advance.
    Best Regards,
    Mamta

    Hi ,
    I forgot to activiate the project linked with User exit 'EXIT_SAPMF02K_001' .
    so problem is solved now
    Thanks,
    Mamta

  • User exit or badi for this functionality

    hi to all experts ,
                          i need user exit or badi for implementing a customized check to ensure appropriate incoterms is being maintained in PO document . they are maintaining two different incoterms maintained for the same vendor depending on the plant.
    thanks in advance

    hi,
    please give the information about
    which transaction??
    which field??
    i think u need only validation, if check is not present u need to throw error or info mess, right..
    regards
    vijay

  • User Exit or BADI For Customer Hierarchy Maintainence- VDH1N

    Hi All,
    I need User Exit or BADI for the Customer Hierarchy Maintainence VDH1N Tansaction.
    I need to Capture all the Changes done to the Customer Hierarchy by the User in ECC.
    Thanxs.
    Swathi

    Hi,
    Follow these steps to find BADI...
    1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
    2. In 'Display' mode, go to 'Methods' tab.
    3. Double click the method 'Get Instance' to display it source code.
    4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
    5. Then run your transaction.
    6. The screen will stop at this method.
    7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.

  • User exit or Badi for VF11

    Hi,
    Can anybody suggest me
    Any User-exit or Badi name for VF11 tcode (Billing cancellation)
    Moderator Message: Search before you post and ask your questions in the right forum.
    Edited by: kishan P on Feb 11, 2011 3:11 PM

    Hi
    Exit
    SDVFX001 User exit header line in delivery to accounting
    SDVFX002 User exit for A/R line in transfer to accounting
    SDVFX003 User exit cash clearing in transfer to accounting
    SDVFX004 User exit G/L line in transfer to accounting
    SDVFX005 User exit reserves in transfer to accounting
    SDVFX006 User exit tax line in transfer to accounting
    SDVFX007 User exit: Billing plan during transfer to Accounting
    SDVFX008 User exit: Processing of transfer structures SD-FI
    SDVFX009 Billing doc. processing KIDONO (payment reference number)
    SDVFX010 User exit item table for the customer lines
    SDVFX011 Userexit for the komkcv- and kompcv-structures
    J_3RSINV Userexit for the komkcv- and kompcv-structures
    V05I0001 User exits for billing index
    V05N0001 User Exits for Printing Billing Docs. using POR Procedure
    V60A0001 Customer functions in the billing document
    V60P0001 Data provision for additional fields for display in lists
    V61A0001 Customer enhancement: Pricing
    BADI
    BADI_SD_SALES_BASIC
    BADI_SD_TO_FM
    BADI_SD_BILLING
    Ranga

  • User exit or BADI in transaction code WAK2

    Hi All,
      I have a requirement to implement a user exit or badi on transaction code WAK2 or WAK1. On click of SAVE button after entring sales price in  price planning tab . I need user exit or badi's after clicking save. I got three user exits 1. call customer-function '001' 2. Call customer-function '002' 3. Form badi_matnr_check_init 4. call method g_badi_matnr_input_002 but none of them deel with sales price field.
    Thanks and Regards,
    Asif

    Hi friend,
    Try this ampliation at CMOD:
    WCOUP001
    Try this BADI:
    RDM_PROMOTION_WAK1
    Regards,
    Welinton Rocha

Maybe you are looking for

  • Suspend only works for first suspend; later attempts fail (Catalyst)

    Currently I am attempting to get suspend working on my desktop. I had managed to get it working, and right after cracking a bottle of Martenellis in celebration, I come to find out the if I enter suspend again, my screen stays black. Sigh. Now, I am

  • How to get the size of the backed up datafile in a backup set with rman?

    Oracle 10gR2 and catalog is in place. Since RMAN only backups the used blocks(does not take backup from NEVER USED blocks), what can be the explanation of some extra space during backups? And also how to trace this space allocation by datafile with v

  • Run MRP by vendor

    Hi, Do you know if there is any way to run MRP by vendor ? We would like to define for a planning run only material of a particular vendor. Thanks, PYR Edited by: Pierre-Yves Ryckwaert on Apr 7, 2008 2:49 PM

  • Does the DSC 8.2 module work ok with Labview 8.2b23 versión

    Hi all, I have the Labview 8.2 20th, but when starting in the right hand lower corner there is a 82b23 versión. I would like to get the DSC 8.2 module but I´m no sure if that version of Labview is ok for this DSC module. Could anyone confirm this que

  • 'Add a Page' missing from Site Actions

    Hello, We are having a weird problem on our SharePoint 2013 server where the menu item "Add a page" is no longer in Site Action menu. All sites are publishing sites and we have custom masterpage with custom pagelayouts too.  We don't have other custo