Change lineitems for MIRO Transaction

Hi
We are using ECC 6.0 version. Our requirement is to change line item data in the MIRO before save.
It would be a great help if you can provide any BAdI or User Exits.
Regards

Hi
If you are in system version is ECC 6.0, you can find out a Enhancement SPOT (ES_SAPLMRMC)
under Function module MRM_FINAL_CHECK, which can be used to perform this requirement.
I hope this will help you solving your issue.
Pls reward suitable points.

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

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

  • SAP script for MIRO transaction

    Hi,
    Please give me the standard sap script available for MIRO transaction

    Hi,
    Arun: The program name is RM08NAST
             The form name is MR_PRINT
    You can get the details by going thru' NACE transaction or TNAPR Table.
    Reddy: Please understand MIRO is for invoice posting. As you said its not for GR, PO or any other blah blah.
    Arun, hope its enough. Feel free to revert back.
    --Ragu

  • Outbound IDOC for MIRO transaction

    Hi Experts,
    What would be steps innolved in trigerring an (outbound ) IDOC when an inovice is posted using MIRO transaction.
    How can I send the idoc automatically in the outbound ALE layer. Is theres any message type to set up or any program to be execute.
    Basically certain information in the Invoice has to be captured in the IDOC.
    Regards

    Hi Raghvendra,
    I my scenario, i will be creating the inovice in SAP manually using t.code MIRO and once the invoice is posted i need to capture the details in IDOC. The EDI customization would come into picture for receiving invoices through EDI.
    Regards

  • FI Number ranges for MIRO transaction

    Dear All,
    My client has requirement for same number for MIRO as that is in FI.
    Kindly suggest

    You can do this by inserting the same number range in your FI document type linked to LIV and make this range external (see OSS 203522). However as one of the other experts pointed out that in FI number range is at company code level but at client level in MM so gaps may occur. This is a common problem since 4.6 when SAP introduced two separate number ranges in LIV and FI and there are many OSS notes on the subject. Having the same number is part of the Release Notes on 4.6 please check there on the method.
    I used note 634744 to solve this
    Hope this helps
    Siva

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

  • Standard variable of PO for MIRO Transaction

    hi,
          durinf transaction MIRO, when we hit pricing procedures then i want the standard variable for PO(ekko/ekpo) flowing in the pricing procedure so that i can use it in pricing procedure.
    Thanks,
    Gaurav

    Hi gibi,
    You can check both PO price and changed invoice value in ME80FN report.
    1.Execute ME80FN with relevant PO number.
    2.On the ALV icon list last icon u can change your view, change it to "Purchase Order History"
    3.Then you wll get the PO history.
    4.Now click "Change Layout" icon and add "Invoice Value in FC" field in to your display list.
    5. Now you can compare your PO price - "Amount" with "Invoice value in FC"
    Hope this will helpful.
    thanks
    Sandun

  • How to change program for a transaction

    Hi i have one program already assigned to the transaction code.
    i want to assign the same transaction code to other program instead of the existing one. please give me steps to change.
    thanks in advance
    KP

    Hi,
    Go to SE93 and press chaneg button adn remove the name of the program and assign the new program name to the tcode.
    But make sure that the <b>program type</b> is the same otherwise it will dump.
    If the type is different <b>delete the TCODE and create it as a fresh.</b>.
    Because u have to choose a different option for different program types while u create a TCODE.
    Hope this helps.
    Please reward points and close the thread if ur query is answered.

  • 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

  • Cross Company MIRO Transaction - BSEG-TXGRP Not Valued for Account Type "S"

    I am working with the ABAP group to create tax reports for audits and sales tax charged by vendor.  I am basically wanting a line item report of all purchases along with any tax applied to each line.  Therefore, I am, for the most part, using tables BKPF, BSEG, and BSET.  For our US transactions, we have one company paying the invoice on behalf of all other US companies.  Essentially, every transaction is a cross-company transaction.  The problem is I am having a hard time tying BSEG to BSET by line item.  For FB60 transactions, I can tie BSEG-TXGRP to BSET-TXGRP; however, for MIRO transactions, BSEG-TXGRP is not valued for Account Type "S" (GL Accounts).  Any ideas?  I could not find a note to capture this issue.  There was a note, but it was with regard to Account Types "D" and "K" I believe, vendor and customer accounts.
    Any help would be greatly appreciated.
    Thanks,
    Deanna

    So,
    Did you ever resolve this.  I have the EXACT problem right now.   Inter-co. MIRO documents only getting TAXGRP popuplated for Original Co. Document (not cross-co. document).
    Thanks,
    - Tim

  • 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

  • Field selection layout for MIRO

    Hi,
    I want to maintain the field selection layout for MIRO transaction (i.e i want to maintain mandatory/supress fileds for MIRO header data). Where i can manage......?
    Thanks & Regards
    Anilkumar Dalai

    Hi,
    Using the filed selection of the posting key, you can get the required effect.
    Goto OB41, select the posting key 31 and change the field status as required.
    Regards,

  • Make purchase order lineu00B4s posting date visible from miro transaction

    I have tried to add purchase order line´s posting date from "spro-Materials Management- Logistics Invoice Verification-
    Incoming Invoice- Maintain Item List Variants" but I can´t.
    Is it possible?
    Thanks in advance.

    I just checked and you're right.  Amazing the posting date isn't included as std.
    This might help, you'll need a development.
    Screen Exit for MIRO transaction
    (If you want a screen variant based on existing available use tx OLMRLIST)
    Regards

Maybe you are looking for

  • Tax code on plant  material and vendor combination

    Hi , I have created Tax code in FTXP and I have maintained conditions in FV11 in combintaion plant,vendor and material combination along with Tax code but while creating PO Tax code is not defaulting automatically. Am I doing correctly or I should do

  • How to convert well format xml in coldfusion?

    Hi, I am consuming asp.net webservice in coldfusion.It returns xml but it is not in wellformat. Please suggest me how to convert to well format xml. Advance Thanks,

  • Export/Import of keywords between Elements and Lightroom

    I am wish to import the Pictures I have in my Element 11 catalogs into the Lightroom 5  catalogs. I have applied keywords/tagging to my Pictures in Elements and wish to import the same keywords/tags to the Pictures after they have been imported to Li

  • RFC for subnet mask

    Which RFC describes the illegal subnet masks (255.255.255.254, 255.255.255.255)?

  • Use of gl calls with jogl outside callback methods

    Hello, I use JOGL, and I can use the gl calls only when I've the GL object in one of callback methods of GLEventListener, is it possible to use gl calls outside those methods?