Subsitution Exit for MIRO transaction

Dear Sir,
We are required to write a subsituion-exit for MIRO , so that during the MIRO Assignment field can be populated with the PO-Number .
We request SAP experts to kindly guide us about the code to be written for such a subsitution-exit . We willl be highly greatful for the help please .
We assure to give full points for the suggested solution pl .
Regards
B Mittal

Hi,
in enhancement LMR1M001 if you read the documentation of component *EXIT_SAPLMR1M_003 it says:
As of Release 4.6A, transaction MR1M is no longer supported. Therefore this customer exit and its functions are obsolete.
Being this the case i would consider using badi BADI_FDCB_SUBBAS04 (if it´s not already implemented).
If you have a look at badi BADI_FDCB_SUBBAS01 in se18 you´ll see that there is an example implementation class named CL_EXM_IM_BADI_FDCB_SUBBAS01 .
Read carefully as well the documentation of BADI_FDCB_SUBBAS01.
Best regards.

Similar Messages

  • Field/Screen Exit for MIRO

    Hi Friends,
    The client requirement is to fix an Exit to disable or inactive the field INVFO-LIFRE or to put the INVFO-LIFRE field (invoice party in Details tab) as display mode where the user not able to change it while posting invouces in MIRO.
    I've tried by program screen enhancement in 'SAPLFDCB' but i couldn't able to fix it since the screen name of INVFO-LIFRE is not showing/coming while posting MIRO (checked in debugging mode).
    Instead of fixing error message through BADI/USER EXIT, is there any way to make field/screen exit to disable or inactive the filed??
    Please advise.
    Thanks & regards
    Sankar.

    Hi,
    Check the below link.
    [Screen exit for MIRO transaction;
    [Re: steps to create field exit;
    Regards
    Sunil

  • 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

  • Any user exit for MIRO

    Hi All,
       Is there any user exit / field exit  which gets activated when invoice party value ( in the detail tab of transaction MIRO ) gets filled (either manually or from PO ). The requirement is to display a warning message, once the invoice party is filled, if its a particular supplier.
    Thanks in Advance.
    Regards,
    Kiran

    Hi,
      Check the following user exits available for MIRO transaction,
    LMR1M001            User exits in Logistics Invoice Verification                        
    LMR1M002            Account grouping for GR/IR account maintenance                      
    LMR1M003            Number assignment in Logistics Invoice Verification                 
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs        
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting        
    LMR1M006            Logistics Invoice Verification: Process XML Invoice                 
    MRMH0001            Logistics Invoice Verification: ERS procedure                       
    MRMH0002            Logistics Invoice Verification: EDI inbound                         
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP                     
    MRMN0001            Message output and creation: Logistics Invoice Verification         
    Rgds,

  • How to created exit for CS02 transaction to maintain bom details of a mater

    hi ,
         plz explain how to created exit for CS02 transaction to maintain BOM details of a material. what is the BOM component . give me sample example.

    Hi,
    these are the user-exits for CS02
    Transaction Code - CS02                     Change Material BOM
    Exit Name           Description
    PCSD0001            Applications development R/3 BOMS
    PCSD0002            BOMs: Customer fields in item
    PCSD0003            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 exchange
    PCSD0013            Customer-specific processing of an explosion for BOM browser
    Regards
    Nilesh

  • 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

  • Need a BADI/ exit for MIGO transaction

    Hi,
    I need a BADI / exit for tha transaction MIGO. My requirement is before displaying the materials in the item tab, check whether the user has authorization for that material or not. If he has no authorization, give error message. This should be done for all types of documents.
    Please let me know if you need more information.
    thanks,
    Kishore

    hi,
    You can have the authorization for the inventory management via authorisation..
    Check the path: SPRO --> MM --> Purchasing --> Inv. management nad physical inventory --> Authorization management  --> Maintain roles and assign users....
    Regards
    Priyanka.P

  • Find active user exit for a transaction code

    Hi All,
    Please help to find the active user exit for a transaction code.
    for Ex. below is the list of user exits for package VA ( for creation of sales order and changing sales order). Let me know which user exit is active and which is not active.
      Exit name    Short text
      SDTRM001  Reschedule schedule lines without a new ATP check
      V45A0001  Determine alternative materials for product selection
      V45A0002  Predefine sold-to party in sales document
      V45A0003  Collector for customer function modulpool MV45A
      V45A0004  Copy packing proposal
      V45E0001  Update the purchase order from the sales order
      V45E0002  Data transfer in procurement elements (PRreq., assembly)
      V45L0001  SD component supplier processing (customer enhancements)
      V45P0001  SD customer function for cross-company code sales
      V45S0001  Update sales document from configuration
      V45S0003  MRP-relevance for incomplete configuration
      V45S0004  Effectivity type in sales order
      V45W0001  SD Service Management: Forward Contract Data to Item
      V46H0001  SD Customer functions for resource-related billing
      V60F0001  SD Billing plan (customer enhancement) diff. to billing plan
    Thanks & Regards,
    Sabu

    Goto TADIR table give program id as R3TR ,Objec type as CMOD and execute.
    You will get all active exits in system.
    Exits related to SD may be in ZSD package.

  • Do we have any exit for KP26 transaction(second screen)?

    Hi,
    Do we have any exits for KP26 transaction(second screen)?
    I want to write some code at the moment, the values from KP26 gets saved in COST table.
    Please tell me ASAP.

    Hi ,
    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. (kp26) do the operation acordingly agin execute. after save also it will go to the debug mode.(u will get the  user exit &adi also)
    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.
    8.  u will get the  user exit & badi  after save
    if found helpfull do reward.
    Regards.
    sachhidananda

  • Screen exit for FS00 transaction

    Hi All,
    My requirement is i need to provide a button in FS00 transaction to approve the GL Code. Can anyone suggest me screen exit for FS00 transaction. 
    Thanks,
    Chitra.

    Hi
    You can find Exits and BADI from SPRO. Just identify the area where you want to enhance and go to that area by SPRO , then you can see system enhancement that are available. This is the good way to find enhancement because you can find the documentation related to enhancement.
    Like  SPRO > Material Management > Purchasing > Develop enhancement for purchasing (Exits)
    or see Business add ins for purchasing.  Read the documentation.
    Else you can search exits and badi by the package name like find the package of a transaction where you want to put enhancement. SE93 > Transaction name > Display > Package.
    then go to SE80 and open the package then see function group start with X. this are exits  that are available. you can find enhancement also.
    Else to find BADI related to a transaction just put break point to class method cl_exithandler->get_instance in SE24.
    and run the transaction , then you can find the BADI as exit name in this function call.
    These are the way you can find enhancement  , but the way which is describe 1st is the best way.
    hope it will solve ur problem.
    Thanks

  • Any Suitable exit for CNMASS Transaction

    Dear All,
      Could any one tell me the user exits for CNMASS transaction. This transaction is used to mass update the records for a particular project.  or is there any way that we can add some of the user fields to that transaction.
    Thank You,
    Regards,
    Swaroop Patri

    Hi Swaroop,
             There is no user exits available for this Tcode. Copy the existing program and make changes in Z prg
    With Wishes
    Jai

  • Screen Exit for MB1C transaction with program :SAPMM07M and screen 410

    I am working on a requirement which is to enhance the Functionality of transaction, MB1C.  In Mb1c item details screen I want to add some additional text line (about 7 to 8) for client Materials. The requirement is to add details of drawings which we have to enter at the time of GR. One item text field is available but that is not enough. As the drawing specs, spool no, ... etc., have to be entered. My question is there any screen exit for MB1c Transaction?. If not how to proceed?.  Could someone answer my query. I am working on ECC 6.0.
    Thanks & Regds
    Ariffu Mohammed

    Please explore the following exit and there documentation , inorder to                    
    fulfill the requirement                                                                               
    MB1C SAPMM07M  MBCF0002        E            EXIT_SAPMM07M_001                             
                   MBCF0006        E            EXIT_SAPMM07M_005                             
                   MBCF0009        E            EXIT_SAPMM07M_009                             
                   MBCFC003        E            EXIT_SAPMM07M_003                             
                   MBCFC004        E            EXIT_SAPMM07M_004                             
                   MBCFC010        E            EXIT_SAPMM07M_010                             
         SAPMM07M  MBCF0002        E            EXIT_SAPMM07M_001                             
                   MBCF0006        E            EXIT_SAPMM07M_005                             
                   MBCF0009        E            EXIT_SAPMM07M_009                             
                   MBCFC003        E            EXIT_SAPMM07M_003                             
                   MBCFC004        E            EXIT_SAPMM07M_004                             
                   MBCFC010        E            EXIT_SAPMM07M_010

  • What to do if there is no relavent BADI/EXIT for standard transaction

    Hi,
    Can any one say,What to do if there is no relavent BADI/EXIT for standard transaction.
    Helpful Answer will be rewarded.

    SAP provide some hooks to add our code to the standard program. This is what we called enhancement.
    It has following types:
    1. Personalization ( here the fields can be hide, display only etc. )
    2. Customer Exit ( Function module Exit, Menu Exit and Screen Exit )
    3. BTE
    4. BADI( Function module Exit, Menu Exit and Screen Exit )
    5. User Exit
    Suppose all these are not helpful, then you could create the code from scratch. But it is too difficult to develop because of its complexity.
    So what you can do is get SAP access key and change the code in the standard program. This is called as modification. Advantage of Enhancement and modification is whenever there is a new version come the changes made by us in standard code will be attached in the newer version also. 
    The final way is copy the source code into customer namespace and make changes according to your criteria. Eg. in the standard PO creation if you do like this, several disadvantages are the user has to give a new t.code, BASIS guy has to restrict the standard PO create T.code and you can't avail the new features of future versions.
    Hope this gives you complete picture and solution.

  • 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.

  • User-exits for MIRO :: for terms of payment & baseline date

    Hi all,
    is thr any user exit for terms of payment (zterm) & baseline date (zfbdt) for transaction MIRO.
    Regards,
    Nilesh

    hi Nilesh,
    try this exit: LMR1M001
    hope this helps
    ec

Maybe you are looking for