Can the badi of MIRO be used to add/delete the material documents in MIRO?

Hi ,
Can the BADI of MIRO be used to add/delete the material documents in MIRO? As I use call transaction to call 'MIRO' , during I fill in the bdc tab of the MIRO, I want to use its badi to delete/add some listed material documents in the items of the MIRO.
If you have solution, please let me know. Thank you very much.

Thank you for your reply.
Yes, I have finished the call bapi code. But the users want to change some post date, tax, amount and some account values
during MIRO. So I tried to use call bdc.
But when I call bdc to run miro, I need to update the material documents reciords which are choosed according to some specific logic.

Similar Messages

  • User Exits / BADIs triggered during the Material document creation

    Hi Experts,
    Can anybody tell me the User Exits / BADIs /Possibilities that can be triggered during the Material Document Creation which can be used to update the Equipment Master User Statuses.
    Thanks,
    Sangeeta.

    Hey Sangeeta,
      Try these User Exit's
    MGA00001  Material Master (Industry): Checks and Enhancements
    MGA00002  Material Master (Industry): Number Assignment
    MGA00003  Material Master (Industry and Retail): Number Display
    Using Enhancement MGA00001 (Function Exit : EXIT_SAPLMGMU_001 ) you can validate & Change your Material Document Number.
    Badi's
    BADI_EAN_SYSTEMATIC
    BADI_GTIN_VARIANT
    BADI_MAT_F_SPEC_SEL
    BADI_MATERIAL_CHECK
    BADI_MATERIAL_OD
    BADI_MATERIAL_OD
    BADI_MATERIAL_REF
    BADI_MATNR_CHECK_PVS
    BADI_MM_MATNR
    BADI_MM_MATNR
    CDT_CHECK_MATERIAL
    MG_MASS_NEWSEG
    MG_MASS_NEWSEG
    WRF_DISCONT_FACT_E
    Note: This is for transaction code MM01, MM02 & MM03.
    Regards,
    Saravanan M

  • Can I remove photo shop 3 using windows add and remove after transfering photos to elements 10

    can I remove photo shop 3 using windows add and remove after transfering photos to elements 10. Will I lose any of these photos in elements 10?

    Yes you can remove it and your photos will not be removed. Un install it from add or remove or from the start menu.

  • How can we find the Idoc number which posts the material document in SAP

    Hi All,
    How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
    Thanks
    Chandru

    Hi,
    In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
    regards
    suresh

  • User exit  for MIGO  after the material document is created?

    hi  guys ,
    I have requirement like after the   material document was creted in migo  i need to call my new transcation. can any one please let me know how  i have to solve this ?
    Moderator Message: Unfortunately, this is not a training forum and we can teach all about Exits and Badi's. I suggest you take a classroom course..... or do some R&D first
    Edited by: kishan P on Nov 30, 2010 11:57 AM

    Hi
    U need to create a FM with UPDATE MODULE attribute checked: so you fm can be run in UPDATE TASK
    This fm has to have the same interface of the method of the BAID (or user-exit) or a parte of it, if you don't need to use all parameters of the interface.
    All code to schedule the job has to be placed in this fm: you can use the fm JOB_OPEN and JOB_CLOSE in order to scheule a job programmatically.
    Call this fm in the BADI, the call has to be in UPDATE TASK, in this way your porgram can start as soon as all updating processes are over
    Max

  • Cancel the material document creation process

    Hello Experts
    I am having the requirement where i have to check for some custom validations before posting the material document. If those validation fail, material document should not be created.
    i tried that by finding suitable user-exit or BADI for MIGO but it seems every user-exit or BADI gets fired after material document is created. What i am looking at is when we 'Check' the document it should also include our custom validations.
    I have implemented the similar scenario for PO creation.
    Thanks in advance
    Regards
    Rajeev

    It is a mess! when the delivery is reversed, the user should have used correct reversal date. Now you can't cancel the material document. Consult MM specialist to add the quantity in the past period and off-set the same in the current period.
    On a second thought, check with your accounting if you PGI in the current period as the reversal and new PGI happened in the current period, which off-sets the entry in accounting.If they are OK, then you need not bother about this.
    Regards,
    Edited by: Shiva Ram on Apr 7, 2011 11:56 AM

  • Error while cancelling the material document.

    HI,
    while cancellation of material document thru MIGO screen getting error
    Deficit of PU IR quantity 20.000 EA
    Message no. M7021
    Diagnosis
    Shortfall below the specified stock level or quantity amounting to 20.000 EA.
    Diagnosis
    Shortfall below the specified stock level or quantity amounting to 20.000 EA.
    The invoice of material document has been process thru ERS.....so no way we can cancel the invoice.
    waht is  the exact process to cancel this document which furher use ERS for invoice verification.
    thanks.....

    Hi Ayaan,
    You need to set the indicator against the movement type 102 under the following path :
    SPRO>Materials Management>Inventory Management and Physical Inventory>Goods Receipt>For GR-Based IV, Reversal of GR Despite Invoice
    Once set , try reversing the material document . This will work .
    Regards
    Ramesh Ch

  • How To Cancel the Material Document Created in VL09

    Dear All,
               I have a crictical issue,please guide me to solve this.
    User has created the order and delivered on 31-03-2011,again he has reversed in VL09 on 07-04-2011.but the actual goods issue should happen only on 31-03-2011.Now when i try to deliver the same order on 31-03-2011 it's throwing error like defict of SL stock.I can't even cancel the material document that got created in VL09.I have to deliver only on 31-03-2011.
    Kindy guide me to solve this.
    Regards,
    Venugopal

    It is a mess! when the delivery is reversed, the user should have used correct reversal date. Now you can't cancel the material document. Consult MM specialist to add the quantity in the past period and off-set the same in the current period.
    On a second thought, check with your accounting if you PGI in the current period as the reversal and new PGI happened in the current period, which off-sets the entry in accounting.If they are OK, then you need not bother about this.
    Regards,
    Edited by: Shiva Ram on Apr 7, 2011 11:56 AM

  • Add the vendor of the material document

    In report ME80FN, in the Purchase order history viw, please add the vendor of the material document (can be different from the PO vendor if freight invoice)
    Thanks

    Hi Barb,
    The approach to your design will depend on how many unique items you plan to search for and whether you want the subtotals to appear all at once or if you want to calculate them one at a time based on a search-for item that you determine as you use the document interactively.
    Also very important is whether you will have only the animal name in a cell, or if the animal name will be a part of a larger block of text in the cell.
    Any additional information that you can provide about the nature of your project and how you will use it will be helpful.
    Regards,
    Jerry

  • External delivery number from VL3xN as reference in the material document

    All,
    I have the following situation. I need the external reference ID delivered by the supplier sent in an advanced shipping notification (ASN) to be copied over as the reference in the material document.
    If you post the delivery with MIGO, the external reference is copied, if you use VL3xN or BORGR, it is not.
    Can anybody help me here?
    Thx & regards,
    Bobby

    Padmasri,
    the x in VL3xN stands for 1 or 2, i.e. either create or change.
    BORGR is the transaction code for goods receipt in the automotive business.
    B.

  • Get the PO # wrt the material document #

    Hi All,
    I need to populate the PO # and PO item # in the Accounting document items while doing the MRKO (Consignment and pipeline settlement). For this i am using the user exit 'ZXM08U11'. But in the user exit i am not able to get the PO# and PO Item # wrt the material document.
    Please suggest how to fetch the PO# wrt the material docuement # which i can populate the same in BSEG table.
    Let me know if there is any alternate solution to find the same.
    Thanks,
    Santosh

    >
    kiran dasari wrote:
    > Hi Vijay,
    >
    > Look at VBFA. This is sales flow table. You Input the preceeding document and item number and get the subsequent document and item numbers.
    >
    > Hope this helps.
    >
    > Thanks
    > Kiran
    Have you read the question before answering ? Question is for MM document and you are telling Sales scenario. This is what we call SPAMMING the forum.
    Regards
    Karthik D

  • CIN - Excise value posting for the material document

    Hi,
    We have assigned the routine 356(FV64A356) in the Pricing Procedure for Depot Sales where Service team issues components for the Service repair job through a Goods Issue(MIGO-261 Mvt Type) document.We are also able to create a excise invoice for the material document.
    The flow is Service Order - Goods Issue - through resource related billing a DMR is generated for the labour as well as the Goods Issued(MIGO-261), from DMR a debit memo is raised to invoice the Customer.
    The formula in the routing is, during the creation of Billing or Proforma document it picks up the excise value posted for the delivery if the excise has been posted,if the delivery is not found, then it continues with the excise value calculated in the sales order (DMR in this case)
    Is there any way or any other routine "to check for the excise value posted for the delivery ,if the delivery is not found, then check for the material documents if any linked to DMR(through Service Order)".
    Could anyone help in this regard.
    Thanks,
    Ramki.

    Hi,
    While creating the excise challan using J1IF01 you can see a excise invoice selection tab, Select the J1IF01 line item & click on this tab, here you can select the excise invoice from which the base amount will be determined.
    Thanks & Regards,

  • Reversing the material document

    Dear Friends,
    PO is created with account assignment category 'K' and subsequently GRN is done for the full quantity in March'2008.
    Some quantity is physically returned to storage location but not entered in SAP.
    Now they want to reverse that quantity in SAP.
    As opening the MM posting period is not recommended, unable to cancel the material document.
    So please suggest me a solution to reverse that quantity.
    Points will be rewarded immediately to the helpful answers.
    Raju

    Hi Sivakumar,
    I am trying to understand better:
    the matl doc created in March 08, for X qty and GRd.
    Now some qty is returned to sloc in June Right ...
    In this case, I would suggest you to create a physical inventory document for that material , and perform a adjustment of stock using 701 or 702 as appropriate.
    By doing this you need not touch the matl doc created in march 2008.
    I am assuming that, the mateiral is good and usable, or else, its better to create a return order and send it back to vendor.
    Please reward if useful.
    Please let me know if you need any ohter information too.
    Thx,
    MJ

  • Wrong exchange rates ...How to reverse the material document.

    Hello,
    I have an issue with Exchange  rates . By mistake we have entered wrong exchange rates in OB08 and created purchase order and done the goods receipt with wrong exchange rates after that we have corrected the  same in OB08  later when we have done invoice receipt it has taken the new exchange rate which is correct.
    Now   i want to reverse the  invoice document & Material document  . When i have reverse the invoice document  it has taken the new exchange rate.
    Whereas when i am doing  reversal  of  material document it not taking wrong exchange rate it is taking the present exchange rate.
    Please advice how i can reverse the material document exactly with  same exchange rates  as it done for GR or How i will settle this difference amount.
    Thanks.
    Ashok

    When i have reverse the invoice document it has taken the new exchange rate.
    Maintain  exchange rate in purchase order,Tick mark fixed,Reverse/Cancel invoice document it will reverse with p.o ex. rate.
    Please advice how i can reverse the material document exactly with same exchange rates as it done for GR
    Maintain desired exchange rate in OB08 for GR Posting date,Cancel material document
    Also check
    SAP Note 518114 - FAQ: Goods movements in foreign currency
    Edited by: Jeyakanthan A on May 3, 2010 4:52 PM

  • Production Order Co01 enhancement to link the Material Documents from Mater

    Hi Friends,
    I have a reqirement I need to link the Material documents in the Production order, for Header material & Component material based on some condition, can any one tell which Enhancements will work for this.....
    Thanks,
    Ravi

    Hi Ravi,
    If you want to change the header field values during saving of the production order, Function Exit   EXIT_SAPLCOZV_001 can be implemented of enhancement PPCO0007.
    Regards,
    Surender Yadav

Maybe you are looking for

  • How do I move multiple emails from Inbox to a specific folder?

    I have left a lot of emails in my Inbox that should have been moved to specific folders. How do I move them in bulk to their specific folders other than moving each one individually. I have highlighted the messages concerned by searching and then sel

  • Error 503 in WEBLogic Server 9.2- Production and Test Environment

    Dear All, since a few weeks (after deploy new Version) i got a lot of Error 503 in my Environment. what i can/should do to identify what is wrong to solve the problem. I cannot find Log entries who could explain what is wrong. Have any one any Idea o

  • Built in Mobile Intel 945 and Flash player

    With a mobile 945GM (built in video with MaxDMS or 128Mb from BIOS) and latest flash I receive intermitent video feeds images off youtube on both IE and Mozzila. Is there a version of Flash Player (either on IE or Mozzila) that works?

  • Why aperture doesn't support Fujifilm S100 FS Raf?

    Dear Sir      despite of the fact that has passed five years since when the above camera has been released, your program Apple Aperture (now on 3.4 version) doesn't support his RAF file format. Why? Instead I've noticed that you have given support fo

  • Help Please with Flash Player Updates not installing

    Hi, Please could someone help? I have recently bought an Asus Laptop with 6 meg Ram & 2.4 Ghz & Windows 7 64 Bit and the vendor (Pc World) installed MS office, Adobe Flash player & full Norton 360 anti virus software for me. The issue I am having is