BADI for MIRO transaction

Hello Experts,
I need to capture the Serial Number during invoice entry and stored in a custom table. It is key to note that an invoice line item with a multiple quantity will require multiple serial numbers.
I am looking for a BADI to enhance the screen to provide a input option for Serial Numbers.
I figure out a BADI MRM_ITEM_CUSTFIELDS but not sure this is the best suitable one or not.
Please provide your input.

Abdul,
General instructions for finding BAdI calls and when they happen:
Go to transaction SE80 in a client where you can experiment with the transaction that you are interested in.
Go to class CL_EXITHANDLER. [Select Class / Interface from the drop-down, and put CL_EXITHANDLER for the class.]
Go to method get_instance. [Press RETURN to ensure that the contents of the Object Name frame are for CL_EXITHANDLER. Expand the Methods node. Double-click on GET_INSTANCE.]
Insert a breakpoint just after the call to the method cl_exithandler=>get_class_name_by_interface.
Use the transaction in which you are BAdI-hunting.
Examine the contents of the field exit_name whenever the processing stops at the breakpoint. I have found a case where exit_name was an unknown field. Then class_name gave a good clue to the name of the BAdI.
Hope this helps,
John

Similar Messages

  • UserExit for MIRO transaction

    Dear All,
               I have to Change the Base Line Date in MIRO transaction with the GR Posting Date while booking the Incoming Invoice..i.e BSIK-ZFBDT date i have to change it with MKPF-BLDAT...
    I have tried all of the UserExits for MIRO transactions. but did not work...
    Can any body tell me any alternate way.e.g BADI or something..
    Regards,
    Rushikesh

    Have a look at below code which lists BADI for particular tcode. It might help you.
    *& Report  ZBADI                                                       *
    REPORT  zbadi                                   .
    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.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • How to check what are the enhancement done for MIRO transaction

    Hi Experts,
    Please help me out, how to check what are the enhancement done for MIRO transaction.
    Thanks in advance.
    Thanks,
    Basanagouda

    Hi
    Use the BADI
    Please refer these documents: [Enhancements required in MIGO|Enhancements required in MIGO; and
    [Enhancement in MIGO for Goods Movement|Enhancement in MIGO for Goods Movement;
    Hope this helps!!
    Regards
    Vijay

  • User exit or badi for me52n transaction.

    Hi all,
           i have a requirement to write a user exit or badi for me52n transaction. the requirement is in header section, only one plant should be accepted. that is in the first row one plant will be inserted. in the second row if we are inserting another plant other the first row plant, it should not accept it and it should raise an error.
    that is from the second row onwards, every plant should match with the first row plant.
    if any part of this issue is unclear, plz let me know so that i can explain it clearly
    this is urgent requirement.
    please let me know the solution as soon as possible.
    points will be awarded.
    thanking u in advance.
    A.srinivas.

    In this version exit EXIT_SAPLMEREQ_005 should exists (look at OSS <a href="https://service.sap.com/sap/support/notes/843446">Note 843446 - MEREQ001: Cannot call up external service data in user exit</a> this note refers to the exit and is applicable in  4.70. Look also at OSS <a href="https://service.sap.com/sap/support/notes/310154">Note 310154 - ME21N/ME51N: Customer-specific check, generating error log</a>
    Regards

  • User exit/Badi for MM41 transaction

    Hi guyz,
    Could you please tell me any User exit or badi for MM41 transaction, which will be triggered at the time of SAVE Article?
    Thanks,

    Hi guyz,
    Could you please tell me any User exit or badi for MM41 transaction, which will be triggered at the time of SAVE Article?
    Thanks,

  • User Exit / BADI for MEK1 transaction

    Hi All,
       Can anybody help me to know UserExit or BADI for the transaction MEK1?.
       Thanks
    Rgds,
    Sudhakar

    User Exits for the Tcode MEK1 are
    AMPL0001  User subscreen for additional data on AMPL
    LMEDR001  Enhancements to print program
    LMELA002  Adopt batch no. from shipping notification when posting
    LMELA010  Inbound shipping notification: Transfer item data from
    LMEQR001  User exit for source determination
    LMEXF001  Conditions in Purchasing Documents Without Invoice Rece
    LWSUS001  Individual customer source determination in Retail
    M06B0001  Role determination for purchase requisition release
    M06B0002  Changes to comm. structure for purchase requisition rel
    M06B0003  Number range and document number
    M06B0004  Number range and document number
    M06B0005  Changes to comm. structure for overall release of requi
    M06E0004  Changes to communication structure for release purch. d
    M06E0005  Role determination for release of purchasing documents
    ME590001  Grouping of requsitions for PO split in ME59
    MEETA001  Define schedule line type (backlog, immed. req., previe
    MEFLD004  Determine earliest delivery date f. check w. GR (only P
    MELAB001  Gen. forecast delivery schedules: Transfer schedule imp
    MEQUERY1  Enhancement to Document Overview ME21N/ME51N
    MEVME001  WE default quantity calc. and over/ underdelivery toler
    MM06E001  User exits for EDI inbound and outbound purchasing docu
    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 P
    MM06E008  Monitoring of contr. target value in case of release or
    MM06E009  Relevant texts for "Texts exist" indicator
    MM06E010  Field selection for vendor address
    MMAL0001  ALE source list distribution: Outbound processing
    MMAL0002  ALE source list distribution: Inbound processing
    MMAL0003  ALE purcasing info record distribution: Outbound proces
    MMAL0004  ALE purchasing info record distribution: Inbound proces
    MMDA0001  Default delivery addresses
    MMFAB001  User exit for generation of release order
    MRFLB001  Control Items for Contract Release Order
    Hope this helps

  • Exit or Badi for Migo transaction for given condition

    Hi,
    I need exit or Badi for MIGO transaction for the following condition ( When the goods receipt for the PO is initiated, prior to posting the accounting document).
    Please let me know
    Regards
    Ramesh

    Hi
    In rel 4.6C you can find these BADIs:
    - MB_DOCUMENT_BADI or MB_DOCUMENT_UPDATE
    and these exits: MBCF0002, MB_CF001
    Max

  • BAPI / BADI for KE21N transaction

    Hi all,
    Please does anybody know a BAPI or BADI for KE21N transaction.
    I need to update some fields on it.
    Tks,
    Daniela

    Hi Daniela Machado,
    Try this for CO PA Planning data..
    BAPI_COPAPLANNING_GETDATA                            Read CO-PA Planning Data                                                  
    BAPI_COPAPLANNING_POSTDATA  
      Write CO-PA Planning data    
    Also try,
    BAPI_COPAQUERY_GETACC_ACTDATA 
    BAPI COPAQuery.GetAccountBasedActualData                                 
    BAPI_COPAQUERY_GETACC_PLANDATA
    BAPI COPAQuery.GetAccountBasedPlannningData                              
    BAPI_COPAQUERY_GETCOST_ACTDATA
    BAPI COPAQuery.GetCostingBasedActualData                                 
    BAPI_COPAQUERY_GETCOST_PLANDAT
    BAPI COPAQuery.GetCostingBasedPlanningData       
    Regards,
    Tanveer.
    <b>Please mark helpful answers    </b>

  • BADI for F150 Transaction

    Hello evrybody,
    For T-code ' f150 ' package is FIBP.
    My requirement is to make some changes in dunning ,
    but i couldn't fina any BADI's or enhancements for that transaction,
    there is a userexit but it is not helpful to me.
    So is there any other options.
    Thanks in advance
    Regards
    Ravi

    hi Ravi chandra,
    There are no badis for that transaction and there is only one exit for this transaction.
    Enhancement
    F150D001                                Indiv. customer exits in prog. for printing dunning notices.
    I think the above exit will  satisfy your requirement.
    Since it is in FI module try for some BTE's if not go for modification.
    Reward points if usefull,
    Thanks,
    Kalyan.

  • User Exit / Enhacement / BADI for MB1B transaction

    Hi all,
    Movement type -311
    Plant 1004
    Storage Location - XXX
    Now reuirement is like during Transfer posting when user provides Receving Location and Material and Press Enter
    batch and qunatity should be automatically populated  based on some Selection.
    I checked BADI but no BADI is available when user press Enter.
    Please suggest me with Enhancement Spot , User Exit for this requirement.\
    Thanks in advance.
    Harsharandeep Singh

    Hi Harsha,
    Try these User Exits/Enhancements.
    Following are the BADIs for MB1B transaction:
    ARC_MM_MATBEL_CHECK Check Add-On-Specific Criteria for MM_MATBEL
    ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
    MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables
    MB_CIN_LMBMBU04 posting of gr
    MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
    MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
    MB_DOCUMENT_BADI BAdIs when Creating a Material Document
    MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
    MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
    MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
    MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data
    Following are the user exit for the same:
    MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
    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
    Vishnu.

  • User exit/ badi for fb02 transaction

    Hi,
    what are the appropriate user exit/ badi for fb02 transaction for a disabling(graying out) a
    payment block field for particular users..?
    Regards,
    Avi

    Following are the exits available for FB02
    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
    FEDI0001            Function Exits for EDI in FI
    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)

  • BADIs for a Transaction

    Hi Gurus,
    Can anyone please tell me how to findout the available BADIs for a Transaction?
    regards
    sunil

    Hi Jaya,
    There are 2 methods to find a BADI for any transaction.
    Method 1:
    step 1. Execute transaction SE37 or SE80 and find function module SXV_GET_CLIF_BY_NAME'.
    step 2. Insert a breakpoint in it.
    step 3. Now go to the SAP transaction you want to find a BADI in.
    step 4. When you execute it, it will stop at the above function module.
    step 5. Look at the value of field EXIT_NAME.
    step 6. This will provide you with the name of the BADI that is available in your SAP transaction code.
    Method 2:
    step 1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
    step 2. In 'Display' mode, go to 'Methods' tab.
    step 3. Double click the method 'Get Instance' to display it source code.
    step 4. Set a breakpoint on 'CALL METHOD l_exithandler=>get_class_name_by_interface'.
    step 5. Then run your transaction.
    step 6. The screen will stop at this method.
    step 7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
    Regards,
    SB.

  • How to find the list of USER-EXITS or BADI for the transaction ABSO

    Hi all,
    Please help me to find the list of USER-EXITS or BADI for the transaction ABSO & find the exact user-exit which meets the requirement.
    Thanks & Regards,
    gyanaraj

    Hi,
    Copy the problem  in SE38 and  Execute it
    Enter the Tcode  u want
    this  will the  list of Userexits and badis
    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.

  • BADI in MIRO transaction for G/L account validation

    Hi Experts,
    Can I know the Badis availabe in MIRO transaction Code.
    and list me the procedure to findout the Badis available for a perticular t-code.
    Let me come with my exat requirement,
    I need to check whether the G/L account number assigned is valid or not.
    I think now I am clear with my requirement.
    Regards,
    Sujatha.

    Hi Anjireddy,
    that BADI contains the following methods, but they are not triggered when I do my requirement.
    CHANGE_AT_SAVE          Invoice Document at Save
    CHANGE_BEFORE_UPDATE     Invoice Document Before Update
    CHANGE_IN_UPDATE     Invoice Document During Update
    Suggest me regarding.
    Regards,
    Sujatha.

  • User Exit/BADI's for MIRO Transaction

    Hi All,
    I need to modify the header text field  in DETAILS Tab of MIRO transaction. This text needs to be populated based on the line item conditions. I am not able to find any proper BADI or user exit where in i can get both header and line items details so that i can modify Header Text Field.
    Please help me out in same.
    Regards,
    Jayant

    Hi,
    in badi MRM_HEADER_CHECK try something like:
    * Get line item conditions
        CONSTANTS: c_ydrseg(18) TYPE c VALUE '(SAPLMR1M)YDRSEG[]'.
        DATA: wa_drseg TYPE mmcr_drseg.
        CLEAR wa_drseg.
        FIELD-SYMBOLS: <fs_ydrseg> TYPE table.
        ASSIGN (c_ydrseg) TO <fs_ydrseg>.
        DATA:  lt_ydrseg TYPE STANDARD TABLE OF t_mmcr_drseg.
        lt_ydrseg[] = <fs_ydrseg>.
    IF NOT lt_dyrseg[] IS INITIAL.
    LOOP AT lt_ydrseg INTO wa_drseg.
      IF wa_drseg-mwskz = 'WHATEVER'. "HERE GOES YOUR CONDITION
    * Modify Header text
        CONSTANTS: c_bktxt(21) TYPE c VALUE '(SAPLMR1M)RBKPV-BKTXT'.
        FIELD-SYMBOLS: <fs_bktxt> TYPE ANY.
        ASSIGN (c_bktxt) TO <fs_bktxt>.
        <fs_bktxt> = 'HERE_GOES_YOUR_VALUE'.
      ENDIF.
    ENDLOOP.
    ENDIF.
    Best regards.

Maybe you are looking for

  • No files will open in PS CS5, CS2, or 7.

    I have 3 versions of photoshop - none of which will open any files anymore. I've been using them all regularly and then a few weeks ago I've been unable to open files - ANY files. I also cannot create new files of any type with any of the 3 versions

  • Extra lines in rendered pages

    Hi All, We're experiencing the following problem in our application (which usues Oracle Application Server 10g Release 2 (10.1.2)): In rendered jsp pages empty lines are being generated what causes errors in Java Script code. For example, the rendere

  • Cheque lot not found

    Dear All, While using FBZ5, it is giving error that "lot not found" error number is FIBL547, I check cheque lot also but everything is maintain properly, even I tried to post other document with same cheque lot, same company code, in that case it is

  • Alert system for chain process

    Hello, I want to configure the alert system for when an error occurs in processing chains. I followed the steps in the forum THROUGH ALRTCATDEF transaction, but I can not do the following, which is what I really need; That the key responsibility for

  • Document Numbering Series

    Why there is no Option to define  Numbering Series for SALES OPPURTUNITY?