Mass cancellation of material documents created

We have generated 400 material documents during initial inventory upload using lsmw. Now we want to cancel/delete the documents created. Is there any method to delete it.
Thanks

My suggestions:
- LSMW + MBST
- BAPI_GOODSMVT_CANCEL >> with the help of an ABAP programmer...
Regards,
Csaba

Similar Messages

  • Mass cancellation of material document

    Dear All,
    Is there any way I can do the mass cancellation of material documents.
    I know I can do one by one with "MBST". I have to cancel nearlly 1000 of documents. Please guide me how can i do that.
    Thanks and Regards,
    Vineet Dhawan

    Hi Vinnet,
    Write a Program by calling BAPI_GOODSMVT_CANCEL. Here input are Material Document Number, Year, Posting Date & User Name. No recording also required if we call BAPI in your program. Total number of documents call be given as feed file input with the above details. you may take ABAP help for this
    Regards,
    Ramakrishna

  • 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

  • Mass reversal of material documents

    Hi All,
    We have MBST for reversing/cancelling trhe material documents. But how can we reverse/cancel the material documents on a mass basis?
    In transaction MASS, there is no object created for mass reversal of material documents.
    How can we create an object for mass reversal of material documents?
    Is there any other Tcode or program for mass reversal of material documents?
    Thanks and regards,
    Ramachandra DN

    Dear Ramachandra,
    We Create
    <b>LSMW</b> for <b>T.Code MBST</b>
    I hope it is better way to use Mass reversal of Material Documents
    Otherwise depend upon the size of the data we can move to other uploading programmees.
    For better clarification you can approch ur ABAPers to resolve the issue.
    With regards,
    B.Ravindranath

  • Revoke of Service Entry Sheet and hence cancellation of Material document

    Suppose one Service entry sheet you created once you accept Service entry sheet it will create a material document once you revoke the service entry sheet it will create a reversal material document. which table and field we find the relationship in original Material document created against SES and canceled material document against revoke of SES.

    Hello,
      in table MSEG youo can enter with Purchase Order number (EBELN)  and Purchase order item (EBELP): this way you will have all the material documents created for that PO, both for the acceptance and the reversal of the entry sheet. You can use the Reference document (field LFBNR) to see the link between acceptance and reversal of the entry sheet. On top of that, you can use fields "Movement type" (BWART) and "Debit/Credit Indicator" (SHKZG) to distinguish acceptance and reversal of the entry sheet for the same PO item.
    Hope to be useful.
    Best regards,
    Andrea

  • 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

  • Transaction code for mass cancelation of delievry document and sales docume

    Dear All,
    Is there any transaction for mass cancellation of delievry document and sales docume.
    any suggestion
    Thanks with Regards
    Subrat
    Edited by: subu sd on Jul 15, 2009 7:49 AM

    Hi ,
    Adding to Eduarodo's Point, if you dont want to Archive the documents and just wanted to cancel then you can do this by LSMW or eCATT.
    First cancel all the subsequent document and then Sales order . In sales order put Reason for rejection.
    Thanks,
    Raja

  • Cancel Billing ,Material Document(PGI),Delivery,Sales order

    hi experts,
    pls help me Cancel Billing ,Material Document(PGI),Delivery,Sales order.
    so when ever given to billing number cancel to all the document
    plz send to me code and suggestions.
    plz it is urgent.
    advanced thanking you.

    you can do that from VF02 - application menu - billing document - cancel.
    if you want to do that from program use standard bapi's to cancel BAPI_BILLINGDOC_CANCEL1... also please reffer to transaction code BAPI for more bapis to reverse pgi - or you can write a BDC to reverse pgi - tcode is vl09.
    i dont think you cancel  order but you can delete depending on your config. check out in application menu on va02. use bapi BAPI_SALESORDER_CHANGE to reject the items in sales order.

  • Cancel Archived Material Document

    Hi Experts
    I have scenario, where I need to cancel a Material document(PGR ref to a delivery) which appears to be archived. I was archived by the system, due to an update termination error, following some conversion issues in material master.
    How can I cancel this archived material document
    thanks & regards
    Vin

    your question is not clear
    if a material document is already archived (deleted physically from the tables), then you cannot cancel it, as you can only cancel what is available.
    In this case you would need to perform a new movement using the cancellation movement type, but without reference to a material document.
    I was archived by the system, due to an update termination error,
    this is just impossible. Archiving is only done by execution of certain transaction, but not by termination of postings.
    If the update has terminated, then the movement has never been in your system, hence you dont need to cancel it.

  • Want to reduce the number of material documents created during Confirmation

    When confirming each phase on the process order, backflush of components happens and a material document is created .So if we have multiple phases, multiple material documents are created. This way we are having large number of material documents created for each process order .
    We do not want a material document to created for each phase but rather create one document while confirming the last phase of the process order. How can we achieve this? Is there a configuration or a user exit that can be used?
    Our goal is to reduce the number of material documents created.

    IF you assigned all the component  to final phase then You can get only one  material document for all the component
    or
    Remove  all the backflush setting   and do the Picking in COIK, The system will Post all the  261 movement component in one document

  • How to cancel a material document

    i am using MBST transaction to cancel a material document which was posted for a STO movement type 351 but i keep on get an error saying "No postings can be made to profit center 104220 in company code 1020"

    Hi ,
            With ref. to your message , it seems  your proft center 104220 IS NOT ACTIVATED FOR COMAPNYCD 1020.................
    Pls refer link...  No postings can be made to profit center 1000 in company code 2000 l
    thanks

  • Mass Cancellation of confirmations , documents

    Dear Experts,
    We have created some more than 100 production order , for which we have issued materials , confirmations dobe , GR done , TECO done . Now we want to cancel all the posting , confirmations as we want to cancel these orders and create new orders . Is there is any provision in standard to cancel all documents , confirmations , GR , teco collectively in a single step or any work arounds.
    Thanks.

    Hi,
    There is no mass way to cancel the Confirmations and Documents.You have to cancel them manually one by one or create LSMW for it.Same case is applicable to revoke the TECO status.
    Regards,
    Dhaval

  • Capture Excise Invoice for material document created against a PGR

    Hi SD Gurus,
    We have a scenario of reverse subcontracting where we have to receive raw material from vendor, process it and then dispatch the finished goods to the vendor or the vendor's customer.
    For receiving the raw materials, i have created a document type which is copied from standard RE type. Against this order, a returns delivery is created which is then PGR-ed. With reference to the previous document, a service order is created in SD, which is then billed.
    But i am facing a problem when i tried to capture the incoming excise invoice for the raw materials. When i tried to capture the excise against the material document generated for PGR, the system is throwing a error, that it cannot capture the excise for this materia document type.
    I would be greatly obliged if anyone can throw some light on this. Do i need to maintain any special configuration for this? Why is SAP not allowing it? How this can be done?
    With Regards,
    Arindam Datta.

    Dear Arun R,
    You Kindly go to the following path and maintain your movement type over their and do the MIGO.I am very sure at the time ot migo excise tab will come for part-1 updation and subsequently you capture part-2 on J1IEX.
    SPRO->LG->Tax on Goods Movemet->India->Business Transactions->Incoming Excise Invoice->Specify which movement type involve excise Invoices.
    Hope this will help you out.
    Regards
    AKS

  • Error while cancelling the material document. MIGO

    i am getting following error while cancelling material document
    You cannot cancel GR, since inspection lot is already partly posted
    Message no. QA046
    Diagnosis
    You are attempting to reverse a goods receipt although quantity postings have already been made from the inspection lot. This means that stock for the goods receipt has already been transferred and, for this reason, a cancelation of the document is no longer possible.
    Procedure
    Ensure that the postings in QM (within the usage decision transactions) are carried out.

    hi,
    You can't do cancellation here just because you have given some lot/qty to QI:
    2 ways:
    1. Don't do cancellation, make returns for the rest of the qty...
    2. Take back the qty in the Unrestrcited stock back and then try to do cancellations...
    Regards
    Priyanka.P

Maybe you are looking for

  • Status not updated in JCDS  Order Operations

    Hello Experts,   I have a requirement  in which  if status changes (either system or user status ) for any operation of an order, I need a table which shows object number , the date of status change . In JCDS , when i change some Order Operations sta

  • HT1212 How to transfer movie from iTune to my iPhone 5?

    Hi Community, I would like to know how to transfer movie from iTune to iPhone. A step-by-step procedure will be appreciated. Thanks and regards, Jidanne

  • Posting key determination

    Hi everyone. I have recently created a new document type for our operations with advance pay. When billing occurs and the accounting document is created, the total value of the sales is debited on the client account, using posting key 01, and credite

  • Triggering a custom action in a tab bar controller

    Hey guy, As you know, normally, when you click an item in a tab bar it is going to load a view right? But I was wondering if there is a way to trigger a custom action when you click an item in a tab bar controller instead of loading a view. If there

  • Swatch library suddenly disappeared and doesn't recognize to reload

    I was working on a file as normal and noticed that in a matter of a few minutes, the swatches I had all disappeared. Had left me with none. Rebooted system, didn't help. When I go to reload swatches, it doesn't recognize any of the libraries. HELP!