Userexit/badi for tcode MB1A

Hi,
I am currently looking for a userexit or BADI for transaction MB1A for me to modify/delete the accounting documents document created by this transaction.
Thanks!

The below are the available user exits for MB1A.
MBCF0002            Customer function exit: Segment text in material doc. item
MBCF0005            Material document item for goods receipt/issue slip
MBCF0006            Customer function for WBS element
MBCF0007            Customer function exit: Updating a reservation
MBCF0009            Filling the storage location field
MBCF0010            Customer exit: Create reservation  
                            BAPI_RESERVATION_CREATE1
MBCF0011            Read from RESB and RKPF for print list in  MB26
MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
To check for the suitable badi, Go to transaction SE24 and give the Object type as CL_EXITHANDLER and click on Display button.
Double click on method GET_INSTANCE, put a break point on case statement.
Execute your transaction and look for variable EXIT_NAME at your scenario then It will show the available badi's.
Reward if it is useful.
Thanks,
Srinivas

Similar Messages

  • User exit for BADI for Tcode: IW31

    Hi
      Can any one tell me User-exit or BADI for Tcode: IW31.
         Whenever an Order is released (IW31) or saved then automatically Purchase Requisition will be created by standard program. My requirement is like at the  same time , we need to create Purchase order automatically based on Requisition created above within the transaction IW31.
    Thanks in advance.
    Sowjanya.

    Try this
    BADI : IWO1_ORDER_BADI
    IWO1_PREQ_BADI
    IWO1_SCREEN_MODIFY
    User Exit : IWO10012 (SMOD)

  • Userexit/BAdi for CBIH102  (HR-EHS module)

    Hi guru's,
    Please help find the userexit/BAdi for Transaction code: CBIH102. The Requirement is to auto-populate the Accident Category  (CCIHT_IPEVA-IALPCAT) field  during the Creation/Change mode. I tried the below exits/BAdi & set all the breakpoints, activated CMOD projects and even implemented BAdi. It is not triggering. Enhancement Framew
    Object Name                                 Description
    EHSIAHM1                                     EH&S: Menu Exit 1 for Incident/Accident Log Header
    EHSIAHM2                                     EH&S: Menu Exit 2 for Incident/Accident Log Header
    EHSIAPM1                                     EH&S: Menu Exit 1 for Incident/Accident Log Person
    EHSIAPM2                                     EH&S: Menu Exit 2 for Incident/Accident Log Person
    EHSMPHM1                                   EHS: Menu Exit 1 for Measurement Project Header Data
    EHSMPHM2                                   EHS: Menu Exit 2 for Measurement Project Header Data
    EHSMPJM1                                    EHS: Menu Exit 1 for Measurement Project Measurements
    EHSMPJM2                                    EHS: Menu Exit 2 for Measurement Project Measurements
    EHSSARA                                     EHS: Check/Edit Lines in SARA List Before Printout
    BAdi Name                                    Description
    EHSI_AC_COSTC                          EHS: Cost Calculation in Safety Measures
    EHSI_ANNC_RATCP                      EHS: Calculation of Rating of Standardized Criteria
    EHSI_ER_MEX_01                          EHS: Risk Assessment Menu Exit 1
    EHSI_ER_MEX_02                          EHS: Risk Assessment Menu Exit 2
    EHSI_ER_MEX_03                          EHS: Risk Assessment Menu Exit 3
    EHSI_ER_MEX_04                          EHS: Risk Assessment Menu Exit 4
    EHSI_FAL_***_SRV_SCR           EHS: Screen Enhancement: Injury/Illness Log-Service Assignmt
    EHSI_FAL_MEX_01                        EHS: Injury/Illness Log Menu Exit 1
    EHSI_FAL_MEX_02                        EHS: Injury/Illness Log Menu Exit 2
    EHSI_FAL_MEX_03                        EHS: Injury/Illness Log Menu Exit 3
    EHSI_FAL_MEX_04                        EHS: Injury/Illness Log Menu Exit 4
    EHSI_IA_RPHDFLG_COMP             EHS: Determ. of Reportable Event Indicator in Inc./Acc. Hdr
    EHSI_INT_ORG_1403                     EHS: Write Long-Term Average to Infotype 1403
    EHSI_MJVA_MATCHUP                  EHS: Transfer Measured Values - Amounts
    EHSI_MJ_IMPORT                           EHS: Import Measured Values
    EHSI_MJ_MEX_01                           EHS: Measurement Management - Measurement - Menu Exit 1
    EHSI_MJ_MEX_02                           EHS: Measurement Management - Measurement - Menu Exit 2
    EHSI_MP_CREATE                          EHS: Create Measurement Projects
    EHSI_MP_DV_SCR                         EHS: Screen Exit: Device List in Measurement Management
    EHSI_MP_EPI_IMP                           EHS: Import Exposure Profile
    EHSI_MP_METHOD_HELP               EHS: F4 Help for Measurement Method
    EHSI_MP_MEX_01                           EHS: Measurement Management - Meas. Project - Menu Exit 1
    EHSI_MP_MEX_02                          EHS: Measurement Management - Meas. Project - Menu Exit 2
    EHSI_WA_MEX_01                         EHS: Work Area Menu Exit 1
    EHSI_WA_MEX_02                         EHS: Work Area Menu Exit 2
    EHSI_WA_MEX_03                         EHS: Work Area Menu Exit 3
    EHSI_WA_MEX_04                         EHS: Work Area Menu Exit 4
    EHSI_WA_OVERALL_RAT             BAdI Default Impl.: Work Area Overall Rating
    EHSI_WA_RECEIVED_RAT             BAdI Default Impl.: Work Area Received Rating
    EHSI_ACPM_DATA_TRANS           BAdI Default Impl.: Work Area Received Rating
    EHSI_CLM_HEAD_SCR                  BAdI Default Impl.: Work Area Received Rating
    EHSI_CLM_MEX_1                          BAdI Default Impl.: Work Area Received Rating
    EHSI_CLM_MEX_2                          BAdI Default Impl.: Work Area Received Rating
    EHSI_CLM_PAY_SCR                    BAdI Default Impl.: Work Area Received Rating
    EHSI_IAL_COSTS_SCR                 BAdI Default Impl.: Work Area Received Rating
    EHSI_IPEVA_TIMDAT                     EHS: Make the Multiple Absences in the I/A Log flexible
    Regards,
    Vinayak

    Up please )

  • Any Userexit & BADI for transaction VB(7 during final settlement

    Hi SAP GURUS,
    I have checked no user exit and BADI. Any Userexit & BADI for transaction VB(7 during final settlement. During final settlement of rebate, I have to change the amount from KONP table in transaction VB(7 . Let me know the userexit and BADI.
    Regards,
    Karthik.

    Hi Sekhar,
    These following BADI are not capturing KONP item details.
    I want to capture KONP item details to modify amount.
    ARC_SD_COND_CHECK : Archiving Object SD_COND: Additional Checks
    ARC_SD_COND_WRITE : Archiving Object SD_COND: Archive Additional Data
    SD_COND_SAVE_A : Save condition application A, E
    Regards,
    Karthik.

  • Userexit/BADI for MBST Tcode

    Hi all,
    Is there any userexit or BADI for Transaction MBST.
    Pl help.
    Regards,
    Vamsi.

    hi,
    I want know out of userexits listed in above thread, while saving which user exit will call.
    iam trying putting breakpoint in all exits, but i am not getting any relevant exit.
    while posting or saving Material document number for cancellation in MBST.
    regards,
    vamsi.

  • User Exit / BADI for TCODE  PSV1

    Hi
    Can any body let me know the BADI / User Exit Name for tcode PSV1 Scenario is as under
    when ever Business event created with resource in PSV1 , I need to send data to other system at the time of creation.
    Regards
    Ammad

    Hi,
    Execute transaction SE24
    Give class name CL_EXITHANDLER
    Open GET_INSTANCE method.
    Set a break point below line
    CALL METHOD cl_exithandler=>get_class_name_by_interface
    Now run trasaction PSV1, and  your control will break at each BADI(If any), exit name and instance will give you the BADI details.
    I think this is one of the simplest way.
    Thanks

  • User Exits or BADI for Tcode ME51N

    Hi All,
    My requirement is i need to check available quantity at the time of Purchase req creation. If PR quantity is available in stock then it should not allow to create new PR.
    Is there any user exit or Badi for this requirement. Kindly send me.
    Regards,
    Paras

    Hi Paras,
    Copy this program and execute. Will get all list of existin g Exits and Badis.
    very useful program
    Below code will give a list of BADIs for particular transaction.
    *& Report ZNEGI16 *
    REPORT ZNEGI16 .
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    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,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    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 in ('SMOD', 'SXSD')
    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:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.
    Reward points if this helps.
    hema.

  • User exit or BADI for tcode CNS0

    Dear Friends,
    I want to validate something when a delivery is created from a Project from tcode CNS0. I was not able to find any user exit or BADI for it, if any body know any BADI or User exit, please let me know.
    Thanks in advance
    IK

    Hi,
    there are tow enhacement spots avaialble for T-code CNS0
    ES_SAPLCNSH                    ES_SAPLCNSH
    go to se18>select enhacement spot>ES_SAPLCNSH -->Display
    The above enhacement is available in FM 'FUNCTION cn_sh_goods_movement_data.'
    And also Enhacement spot avaialbel in NCLUDE LCNSHFM2 .
    try to write your code in above two enhacement spots and check whether it will work for requirement.
    Prabhudas

  • User exit or BADI for Tcode ME51N

    Hi All,
    My requirement is i need to check available quantity at the time of Purchase req creation. If PR quantity is available in stock then it should not allow to create new PR.
    Is there any user exit or Badi for this requirement. Kindly send me.
    Regards,
    Paras

    Hai,
    User Exit:  MEREQ001
    Function exit             EXIT_SAPLMEREQ_001  
                                   EXIT_SAPLMEREQ_002  
                                   EXIT_SAPLMEREQ_003  
                                   EXIT_SAPLMEREQ_004  
                                   EXIT_SAPLMEREQ_005  
                                   EXIT_SAPLMEREQ_006  
                                   EXIT_SAPLMEREQ_007  
                                   EXIT_SAPLMEREQ_008  
                                   EXIT_SAPLMEREQ_009  
                                   EXIT_SAPLMEREQ_010  
    Screen exit               SAPLMEGUI           
    Include tables           CI_EBANDB           
                                   CI_EBANMEM

  • Userexit/Badi for vendor or enduser addition/change in sales order creation

    Hello Gurus,
    I need a userexit/badi that gets triggered on the addition/change of partners in sales orders
    I need to make some validations when the user adds/changes the vendor or
    enduser in the sales order creation.
    I tried many exits that I could find from forum but they were not able to asist.
    Any help would be much appreciated.
    Thanks in Advance,
    Sumit.

    Well, if all else fails, USEREXIT_MOVE_FIELD_TO_VBAK will definitely be called when you change partners... but of course it will be called much more often than at only partner changes. Still, internal table XVBPA shows the current partners, so you could compare its content with the earlier state of the table to recognize a partner change you're interested in.
    Strangely, the usual Y-table (YVBPA) is not populated, not sure why, otherwise the comparison would be even easier.

  • User Exit / BADi for TCode -  IMA11 (Create Appropriation Request )

    Hi friends ,
                Can anyone help me in finding the User Exit / BADI for Transaction IMA11 (Create Appropriation Request , Module - FI ).I want to create search help for field "Partner" in table control "Person Involved" present in this transaction.
    Thanks in advance.
    Regards
    Nand Kishor

    Hi,
      The following user exits are available :
    Exit Name           Description
    AAIR0001            IM-IS: User value fields in app.req. reporting
    AAIR0002            IM-FA: User fields for app. requests
    AAIR0003            IM: Workplace assignmt when creating PM order from app.req.
    AAIR0004            IM Drilldown: Definition of User-Defined Characteristics
    AAIR0006            IM-FA-IA: Data Transfer from App. Req. to WBS Element
    regards
    Aveek

  • UserExit/BADI for ME22N services tab

    Hi all,
         My requirement is that, I need to do validation of the Service Quantity of Purchase Items in ME22N transaction (ie. Change PO).
    I have tried a BADI  "ME_PROCESS_PO_CUST", but I am getting only the PO item quantity in this BADI, not the service quantity.
    Can any body suggest me a correct  UserExit/BADI  to to the validation of Service Quantity.
    Regards,
    Anbarasan K

    Thanks Charlie.
    The user exit SRVESLL worked.

  • Userexit/BADI for FB60 - simulate button

    Hi All,
    I have a specific requirement in FB60. Need to know BADI or Userexit which gets triggered on Simulate Button.
    Thanks in advance
    Ratnakar

    Hi Ratnakar,
    The best way to search for a BADI in a transaction is by putting a breakpoint in the class CL_EXITHANDLER (tcode SE24) in the "Get Instance" method.
    go to SE24
    enter classname as "CL_EXITHANDLER"
    display
    double-click on "get Instance" method.
    Put a breakpoint.
    Now run the 'Simulate' in FB60 and check for exit_name when program stops at breakpoint.,
    Regards,
    Vivek Kute.

  • BADIs for MB11, MB1A, MIGO?!?!?

    Hi friends,
    I've make an implementation for BADI definition "MB_DOCUMENT_BADI". This implementation will be called by MB11(MB1A, MIGO). I need to <b>cancel</b> a line item  from input data (importing 2 itabs mseg & mkpf) before updating to system. 
    My problem: I cannot modify 2 itabs above cause "IMPORTING" type in the interface of this BADI.
    Any one can tell me another BADI that allow to solve my problem or a method to cancel line item.
    Thanks,
    Gy

    Hi Siva,
    Thank for your helpful but that BADI have the same problem as MB_DOCUMENT_BADI.
    I can change the contents of xmseg, xmkpf within my class's method but when leave it so that change don't  effect a change of material document.
    Thanks,
    Gy

  • Any menu exit or badi for tcode F110

    Dear all,
    My requirement is that whenever the user runs tcode F110, a flat file has to be generated with all the details from tcode F110. How can i do that? Should i change the std pgm or any menu exit or badi available. Plz help me in this regard.

    Hi
    Following are the User Exits and BADIs available:
    Enhancement
    RFFOX074                                Frame for user exit RFFOX074 (in program RFFOCH_U)
    RFFOX075                                Frame for user exit RFFOX075 (in program RFFOCH_U)
    RFFOX081                                Frame for user exit RFFOX081 (in program RFFOF__T)
    RFFOX082                                Frame for user exit RFFOX082 (in program RFFOF__T)
    RFFOX100                                Frame for user exit RFFOX100 (in program RFFOUS_T)
    RFFOX101                                Frame for user exit RFFOX101 (in program RFFOUS_T)
    RFFOX102                                Frame for user exit RFFOX102 (in program RFFOUS_T)
    RFFOX103                                Frame for user exit RFFOX103 (in program RFFOUS_T)
    RFFOX104                                user exit
    RFFOX105                                Frame for user exit RFFOX105 (in program RFFOUS_T)
    RFFOX200                                Frame for user exit RFFOX200 (in program RFFONZ_T)
    RFFOX210                                Frame for user exit RFFOX210 (in program RFFOAU_T)
    RFFOX211                                Frame for user exit RFFOX211 (in program RFFONZ_T)
    RFFOX230                                General program for user exit RFFOX230 (in program RFFOJP_L)
    RFFOX240                                Enhancement for User Exit 240 (RFFOAT_P)
    RFFOX250                                Enhancement for User Exit 250 (RFFODK_E)
    RFFOX901                                Framework for user exit RFFOX901 (in program RFFOM100)
    RFFOX902                                Framework for user exit RFFOX902 (in program RFFOM100)
    FDTAX001                                Enhancement to Transaction FDTA (event after the download)
    FEDI0002                                Function exits for EDI DOCS in FI - Incoming pyt adv.notes
    FEDI0003                                Function exits for EDI docs in FI - Save PEXR segments
    FEDI0004                                Function exits for EDI docs in FI - particular events
    FEDI0006                                Function Exits for EDI-docs in FI: Save IDCR Segments
    RFFOX003                                Frame for user exit RFFOX003 (in program RFFOM100)
    RFFOX041                                Framework for user exit RFFOX041 (in program RFFOBE_I)
    RFFOX042                                Framework for user exit RFFOX042 (in program RFFOBE_E)
    RFFOX043                                Framework for user exit RFFOX043 (in program RFFOBE_D)
    RFFOX061                                Frame for user exit RFFOX061 (in program RFFOCH_P)
    RFFOX062                                Frame for user exit RFFOX062 (in program RFFOCH_P)
    RFFOX063                                Frame for user exit RFFOX063 (in program RFFOCH_P)
    RFFOX064                                Frame for user exit RFFOX064 (in program RFFOCH_P)
    RFFOX065                                Frame for user exit RFFOX065 (in program RFFOCH_P)
    RFFOX066                                Frame for user exit RFFOX066 (in program RFFOCH_P)
    RFFOX071                                Frame for user exit RFFOX071 (in program RFFOCH_U)
    RFFOX072                                Frame for user exit RFFOX072 (in program RFFOCH_U)
    RFFOX073                                Frame for user exit RFFOX073 (in program RFFOCH_U)
    Business Add-in
    FI_BSTM_MC_EXIT                         FI Account Statement: Exit from MultiCash Conversion
    FI_F110_SCHEDULE_JOB                    F110: Check before scheduling a proposal/update run
    Cheers
    Shakir

Maybe you are looking for