How to cancel the Goods receipt Number(BAPI_GOODSMVT_CANCEL) ?

Hi All,
I want to cancel ist GRN number ..
Please suggest on wat basis i cancelled ist GRN number.
MANDT     MBLNR     MJAHR     ZEILE     LINE_ID     BWART     MATNR             WERKS                          LGORT
110     590001     2009     1     1     206     4416MI              1100                               MCRO
110     590002     2009     1     1     206     4416MI              1100                          MCRO
Thanks in Advance..
Regards
Steve

Hi
Pass the following data to BAPI.
MATERIALDOCUMENT     -- document number
MATDOCUMENTYEAR    -- Year
GOODSMVT_PSTNG_DATE --- Date
GOODSMVT_PR_UNAME
In table pass the data GOODSMVT_MATDOCITEM.
In this pass the line_id,movement type

Similar Messages

  • How to stop the goods receipt before issueing the goods for production orde

    Frndz,
    I have created a production order, now before even making the issue of rawmaterials from the inventory the system is allowing the goods receipt for that production order , kindly tell me the step by step procedure to check it.
    Regards,
    Srini

    Hi Srini,
    there are couple of ways to handle this situation..
    1. If you set all the components as Backflush relevant in Material Master or setting all Compoents tick in OPK4 will ensure that at the time of confirmation you will have all the components will be done auto GI.
    Now in your control key or Prod. scheduling profile specify that Auto GR.
    Now your GR & GI are linked.
    In OPK4, in the 2nd Tab page, termination of Goods Movements and Goods movements Ticked, so that when ever there is a problem with the components system will terminate the Confirmation.
    So there will not be any GR without GI.
    But, one can make GR with MB31 or MIGO
    (So this is an option but no fool proof method).
    2. Activating the User Satus (Status Profile) so that once the GI is done only you allow the Confirmation.
    (The settings we can discuss if required).
    3. Having the Use Exit..
    Enhancement - MBCF0002
    Functional Module - EXIT_SAPMM07M_001
    Include - ZXMBCU02
    Refer below links for further details..
    do not confirm without goods issue
    default quantity of confirmation(co11) should allowed in goods movements mb
    Revert for further discussion..
    Regards,
    Siva

  • How to block the goods receipt of items mentioned in the PO

    hi gurus,
    My functional people requirement is, when he created a purchase Order of 1000 quantity and I have also done GR for 860 quantity against this PO. he wont be receiving remaining 140 quantity. So in order to avaid that he have checked del completed indicator in PO. But still this PO is allowing me to do GR of the remaining quantity. He got some functional help but he dont want to do taht thing. My question is how should I block the receipt of that quantity which I do not want to receive.
    he want me to write exit or badi. so Is there is any EXit or badi to do that
    PS: I do not want to change the PO quantity.

    change like this .. dup will get avoided
    if required do message handling
      CALL FUNCTION 'ME_EKPO_SINGLE_READ'
        EXPORTING
          pi_ebeln                  = is_mseg-ebeln
          pi_ebelp                  = is_mseg-ebelp
    *   PI_BYPASSING_BUFFER       =
    *   PI_REFRESH_BUFFER         =
       IMPORTING
         po_ekpo                   = ls_ekpo
    EXCEPTIONS
       NO_RECORDS_FOUND          = 1
       OTHERS                    = 2
      IF sy-subrc = 0.
        CHECK ls_ekpo-elikz = 'X'.
        CONCATENATE 'Delivery Already Completed for' 'Line item:' is_mseg-ebelp '-' 'Material:' is_mseg-matnr INTO message_var.
        MESSAGE e002(sy) WITH message_var.
      ENDIF.
    About the St22 analysis i dont have much idea .. i think so roll back is happening.
    May be others can help you regarding this.Try to post it as a new thread so that you will get better answers

  • How to differentiate a Goods receipt ?

    hello gurus
    how to differentiate the Goods receipts which are done only against an Inbound Deliveries  from that of direct POs.
    Is there any table to check the same ?
    Thanks in advance

    Hi,
    There is no link anywhere for this,
    You will have to refer to EKES,MSEG,EKPO or EKBE
    Diwakar

  • How to find Goods Receipt Number particular to Service Entry Sheet Number.

    Hi Experts,
      In one of my reports  i need to bring purchase order ,service entry sheet, goods receipt number .
    In ekbe i am getting the purchase order and its service entry sheet while keeping BEWTP = 'D'.
    so i am getting purchase orders and their service entry sheet numbers in belnr.
    Now i want to get the corresponding goods receipt number .
    But i am getting goods receipt number against the purchase order but not against service entry sheet , in same EKBE 
    while keeping BEWTP = 'E' movement type = '101'.
    My doubt here is how to get the corresponding goods reciept number for a service entry sheet.
    if i have three service entry sheet numbers for a purchse order i have three goods receipt numbers
    but how to get the relation between them  which GRN to which service entry sheet
    . is there any table which stores the service entry and its grn.
    If i am any thing functionally wrong  which i wrote above please correct me and give ur inputs.
    Thanks
    vamsi
    Edited by: vamsi talluri on Aug 20, 2009 7:21 PM

    Hi Sarath,
         If the Purchase order Item category is 'D' then it is a service order then it can have N service entry sheet numbers and once each service entry sheet is accepted it will be available for Goods reciept .. so that information will be avaiable..
    U can obtain the GRN against the Service entry sheet in EKBE itself.
    BELNR refers to GRN
    LFBNR refers to Service entry sheet number.
    And hence i am closing the thread.
    Thanks
    vamsi

  • How to cancel the delivery number in the billing due list

    Hi Gurus,
    My User has created the Consignment Fillup order and Dlivery for that order.
    Now User asking that the delivery number coming into Billing Due list (VF04).
    As you know all for Consignment Fillup there is no invoice. Please suggest me
    how to cancel the Delivery number in Billing Due list for above scenario.
    Br,
    Satish

    What you have faced is not at all an issue.  Its a standard behaviour only.  Though you are not generating commercial invoice here, you can generate (F8) proforma via VF04 in bulk.  Either you can generate one proforma per delivery or consolidate multiple deliveries into one proforma which it depends on VTFL copy control for the field Data VBRK/VBRP.   There if you maintain 001 or 007, you can club multiple deveries and if you maintain 003, one proforma per delivery can be created.
    thanks
    G. Lakshmipathi

  • Cancellation of Goods Receipt with Credit Memo Transaction Issue

    Dear SAP Expert and Guru,
    Normally cancellation of goods receipt cannot be done when invoice has been issued. Cancellation of Goods receipt can only be done when there is the credit memo being issued in MIRO.
    The problem now is that is there any table that can tracked the linkage between Credit Memo and the Cancellation of Goods receipt?
    The goods receipt with the invoice linkage can be found in both table EKBE and BKPF. But not the credit memo and cancellation of Goods receipt.
    Thank you
    Regards
    Leonard Tan

    Dear Jeya and SAP expert and Gurus,
    You are correct, but with the document number, how am I going to get the Cancellation of GR document?
    In table BKPF and EKBE. With the invoice number (34*******) then pass it to table BKPF to get the invoice number (52*******),
    Then get the invoice number (52*******) pass it to table EKBE to get the Goods Receipt document (61*******).
    However, this only can track the transaction goods receipt and Invoice but not the credit memo with cancellation of goods receipt.
    Kindly asvise on that.
    Thank you
    Regards
    Leonard Tan
    Note : Do not quote previous reply every time,simply reply for member you want to respond.
    Edited by: Jeyakanthan A on Jul 8, 2011 3:23 PM

  • Goods receipt number and purchase invoice nubember info objects

    hi experts
    i have the requirement to build the report with the  info objects of goods receipt number(document) , purchase invoice numbers and purchase document numbers from standard cubes or ods.i have checked in inventory management and purchasing cubes&ods i am not success got the purchase document number it is from ods   (0PUR_O02)  the InfoObject  is 0OI_EBELN(purchasing document number),like this i want InfoObject  for Goods receipt number and purchase invoices from where can i get these fields.
    if u need any more information i will provide.
    thanks and regards
    Sreenivas.

    Hi Ahamed,
    thanks for your reply,do u have any information about purchase invoice number.
    i need one more help from you, how to find out Debtors turnover ratio from Acceount Receivables(AR) (or)G/L (General ledger account).is there any standard queries from Business content,i was checked and i was failed,if you have any solution for this please let me know.
    thanks and regards
    Sreenivas.

  • How to cancel the GR after UD

    Hi
    i have created a GR (migo) and in this step i have also captured the excise invoice. QC people done the UD. after that i came to know that GR is wrong. now i want to cancel the GR.
    and make the new GR against the same PO.
    Thanks & Regards
    Pankaj Garg

    Dear,
    Choose Logistics -> Materials Management -> Inventory Management -> Goods Movement -> Goods receipt -> For purchase order -> PO number known.
    - The initial screen for creating a goods receipt for a purchase order appears.
    - In the field for the movement type, enter 102 (goods receipt for a purchase order into warehouse - reversal). 
    - In the field for the purchase order, enter the purchase order number for the original goods receipt. 
    - You can copy the purchase order number from the inspection lot.
    - Choose Enter to display the selection screen for the purchase order items. 
    - Select the purchase order item for which you want to create the goods receipt and set the Stock type indicator to the stock to which the goods were originally posted with the usage decision (for example, F for unrestricted-use stock or S for blocked stock). 
    - Save the goods receipt and exit the Materials Management component. 
    Choose Logistics -> Quality management -> Quality inspection -> Inspection lot -> Usage decision -> Change with history.
    - The initial screen for changing a usage decision appears.
    - Enter the number of the inspection lot for which you previously made the usage decision and choose Usage decision (UD). 
    To cancel the inspection lot, choose Usage decision -> Functions -> Cancel lot in the usage decision screen.
    Refer sap note 175842 ',Inspection lot: Reversal of goods movements from UD.
    Regards,
    Syed Hussain.

  • Migo-Cancelation of good receipt.

    Hi gurús:
                Im trying to do a  cancellation of a good receipt. The material have active the inspecction setup in the material master record. The system, during good receipt, create an inspection lot, but the material doesnt have an inspection plan creat it. Its not posible create on, because the material type is not aasing to the task list type Q(Inspection plan). So it is not posible take a usage decision for the inspecction lote.
    The material is in quality inspection, and when i try to do the cancellation of the good receipt, the system shows me the following error message:
    "Change the inspection stock of material XXXXXXX in QM only"
    Changes in the quality inspection tab of the material master record are not posible, becuase exist material with quality inspection status.
    I do not know how to cancel the MIGO document
    Thanks in advance for the help
    Regards
    Enzo

    YOu have to clear the document first form the QM than only you can reverse the document so do what ever you hae to do for the QM setup point of view than clear the document and undo your settings in QM if oyu don;t need for future.

  • Classical Report for linking/applying the goods receipts transaction

    Classical Report for linking/applying the goods receipts transaction quantities against oldest schedule line item dates and then downloading the file to Excel.
    o        Classical Interactive Reports for calculating average Day Payable Outstanding. Option 1) in summary by company code, vendor, currency. (w/ DPO calc) Option 2) in detail (w/o DPO calc) Option 3) special summary by vendor and roughly convert different currency into one currency of choice, using current YEARLY rate.
    thow to do these objects
    plz assist me
    and how to transfer the data from from one server to other like 3.1 to 5.0
    plz assist me
    Edited by: Alvaro Tejada Galindo on Feb 21, 2008 5:28 PM

    Hi,
    You can use Call Transcation tcode
    for calling the transaction u can pass values to the transaction by using SET PARAMETER ID and GET PARAMETER ID
    technique.
    For downloading use function module LIST_DOWNLOAD
    or GUI_DOWNLOAD.

  • Components were not consumed while posting the goods receipt through VL32N

    Hi Experts,
    We are into technical upgrade. We are upgrading from 4.7 to ECC 6.0. We are facing one issue. The issue is while posting the goods receipt for the subcontracting shceduling agreement through VL32N (Inbound Delivery) component materials were not consumed. While displaying the material document for the GR, could not find any compponent materials consumed with movement type 543, where as if I use the MIGO transaction code for the same inbound delivery, I could see the component materials were consumed with movement type 543.
    Could anybody tell us how to fix this issue if they come across.
    Appreciate your reply.
    Regards
    Bala

    Hi,
    Try checking below SAP notes
    Note 645119 - Problems with subcontracting using delivery
    338119 - Goods receipt in inbound delivery for SC order
    Hope this helps
    Reg
    Dheeraj

  • BAPI_GOODSMVT_CREATE, will do the goods receipt ( MB01 )for the subcontracting PO with batch management.

    Dear Professionals ,
    I Just want to confirm that whether BAPI "BAPI_GOODSMVT_CREATE " will do the goods receipt ( MB01 ) for the subcontracting PO with batch management.
    Since I will be passing only 101 mvy type in BAPi, will the system automatically call 543 mvt type with batch management and post the consumption.
    can I change the batch of the component items ?

    Hi ,
            Delivery note is like a ref document number
    so you can use the
    In the BAPI_GOODSMVT_CREATE There is header structure BAPI2017_GM_HEAD_01 which has a field REF_DOC_NO
    you can pass the delivery note value to that field .
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jul 10, 2008 3:41 PM

  • Way to check who created PO and input the Goods Receipt?

    SAP Experts
    A question to you all.  Is there a way/report/number of tables to validate which user ID create or changed a Purchase Order and if they also entered the Goods Receipt?  We want to be able to check this on a monthly basis as a management check.
    Thanks
    Denise

    If you need report for the same then you can check ME2N - dynamic selection - drop down Purchasing document header - select Created by field and enter User ID(or list of User ids) for which you want to see POs created.
    MIGO Display - Doc Info can give you the User who created.
    If you want other way round then you can use tables as suggested above:
    EKKO for PO
    MKPF for MIGO
    RBKP for MIRO
    Thanks,
    Praveen.

  • PO dont close with the GOODS RECEIPT

    hi
    We have this scenario.
    there are some goods receipt PO based in a Purchase order xxx, but  the  Goods receipt  doesnt a base document and the PO xxx  is a open status.  The goods receipt show in the remarks "based on xxx purchase order" and we can send to PO xxx  to a new  goods receipt again and this one closed.  How do I link documents and the documente show close status to no duplicate the goods receipt. We have 2007 sp00  pl 05?
    I´ve run the query in the sap note1152374  but we dont have any result.
    Regards
    NANCY HERNANDEZ

    1.-When this error is generated is lost the link but also the PO document changes its status to open?
    Is it possible? because de PO are open again
    The PO is never closed due to lost link.  It did not open again
    2.-check the logs and there´s no changes more than the creation of document
    When the document creating, no log will create for anything changing from PO.  That is because they are different documents.
    3 .- The scenario is replicable?, I can not generate the error again to explain to my costumer. How do I reply?
    Yes, if you changes anything like warehouse, it will. (Even if you changed back to match the original!)) Let them to check out what are the differences between PO and GRPO.

Maybe you are looking for

  • Syncing with Day-Timer

    I've been using Day-Timer Organizer as my address book/calendar for many years. Under Windows XP, it syncs perfectly with my Tungsten T5 over the cable. I have needed to replace my XP machine with a Windows 7 computer, and have run into an obstacle.

  • A/R Invoice+payment error

    Hi, when i go to create a a/r invoice + payment for one time customers, I get an error message which says default business partners for invoivce and payment not defined message 439-39. I know we have to do initial settings. I created a default custom

  • How to import photos from iphoto?

    Can photos from my iphoto account be downloaded into iphone?  Is this possible?

  • View all rows in Entity object

    please I have a problem can I one help me I want to get all rows from specific Entity object example I am now in validate method in XXX Entity Object and i want to get all the rows in XXX table from validate method(all rows) can any one help me to do

  • JMS Event Generator

    Hi, I have created a durable topic and an event generator to listen this topic. I got functionality to suspend this topic to start execution of some process and then resume back when it process finished. Meanwhile other application keep on publishing