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

Similar Messages

  • How to block  an Goods Receipt...for a PO not invoiced yet.

    Dear friends ,
    We have one new situation for one specific foreign vendor where we need to block the goods receipt  if no Invoice Receipt is done yet.
    we know that is possible to block invoice receipt without the GR...but we need exactly the inverse of this... block the GR while the IR is not posted..
    any help will be appreciated.
    Alessandro

    Dear Allessandro,
    There are several ways to meet your scneario.
    1. Goto ME22n and lock the line items in the PO which you o not want to receive, system will not allow to post GR untill this is unlocked. This is manual process.
    2. Go to MK05, enter the Vendor number and purchase organization. Press enter
       Under the block  for quality reasons select option 3 . This will block the system to place any further quotatoin requests, Purchase Orders and Goods receipts to be done on that particular vendor.
    Hope any of the above options will help resolve your problem
    Thanks
    Murtuza

  • Wanted to block the Goods Receipt but not the Invoice Receipt

    Hi
    After the partial delivery of the Goods Receipt, i am manually setting the "Delivery completed" indicator in the PO. I dont want any future delivery against this PO. But it is allowing me to do a GR even though the Delivery Completed Indicator is set.
    How can i stop all the future deliveries agains the PO. But at the same time, is should not block the IR. I tried this by locking the PO item. It is not allowing me to do any GR after locking the same. But at the same it is not allowing me to do the IR also.
    Is there any way i can stop the GR, but do the IR for the purchase order ? Please clarify. Points assured.
    Thanks
    Venkat.

    Hello,
    If u maintain the latest GR date as a current date in the PO item level - delivery tab, then system will not allow to do further GR in future.
    Latest Possible Goods Receipt
    This is the latest acceptable date for goods receipt (GR).
    If goods are received after this date, you will receive either a warning message or an error message, depending on the system setting.
    If you receive an error message, you will not be able to post the GR.

  • Packaging material is not appearing in the Goods receipt of STPO

    Dear All,
    We are currently dealing one Roll-Out project for one multinational company. In that from sales side, one of the main processes defined is u201CStock Transport Purchase Order processu201D. As a regular process, outbound delivery document also created with ref to STPO.
    As per the client requirement the u201CPackaging materialu201D needs to be added as additional line item in the delivery to calculate the packaging cost. This packaging material is a "Stockable and Valuated" material. So while performing the PGI the stock will get reduced from SD side.
    The problem is, using this same STPO delivery document the Goods receipt is planned to do in the another side of company code. while doing the Goods receipt system is displaying only the "Finished Product" only. The packaging material is not displaying while doing the goods receipt in the another company code.
    due to this we are not able to complete our test cycle.
    so we need the expert opinion to solve this issue.
    if the packaging material is added as additional line item while doing Goods receipt then, the problem is solved.
    Kindly suggest us...
    Regards,
    MANI
    frWe have customized that also and now u201CPackaging materialu201D is adding as a new line item in the delivery document as a non valuated material.
    But the issue is, the Billing type u201CZICu201D is not getting determined while creation of billing if u201CPackaging materialu201D is added as a new line item. If u201CPackaging materialu201D is not added as a line item then, billing type is getting determined automatically without any issue.
    We have checked in LIKP table, its containing the billing type as u201CZICu2019. But if packaging material is added then, the billing type determination is not happening.
    We are assuming that some customizing needs to be done from MM/SD point of view. I am seeking the experts help regarding this issue to solve the problem.
    Regards,
    MANI

    Dear Friends,
              Thanks for the Feedback.
    Even though it is a associated company, in one company code the packaging material stock was reduced and packed for the STPO shipment.
    After receiving the consignment, in the receiving company code they will perform the goods receipt with ref to "Outbound Delivery" document.
    Since in the outbound delivery document "Packaging material" also available. So as a business strategy we are expecting the same "packaging material" also should available for goods receipt.
    I hope i have explained with max of my knowledge to clear your doubt.

  • Error while posting the Goods Receipt

    Hi Friends,
    I am having an issue while posting the Goods Receipt.
    I am getting the error "Balance not zero: 1.000,00- debit: 0,00 credit: 1.000,00". I am using the Purchase Order with Account Assignment category P and K. When ever I used the account assignment category, I am getting this type of error. I have checked the configuration and every thing is OK. System is not able to debit the G/L account which is mentioned in the Purchase Order, hence the problem. However, I think system is able to get the G/L account (to Credit the amount) from Automatic Account determination.
    Would like to know if any one come across similar type of problem and resolved it.
    We have recently upgraded the system from 4.7 to ECC 6.0.
    Apprciate the help.
    Thank you,
    Prakash

    Hi
    Thank you for the reply.
    I have checked what you have mentioned. While creating PO it is determining the G/L account automatically through the assignments in OBYC. Even then I am getting the error while doing the Goods Receipt.
    Any one is having any idea?
    Thank you,
    Prakash
    Edited by: Prakash KM on Dec 17, 2010 6:26 PM

  • PO Item Goods Receipt indicator change based on the PO document type

    Hi All,
    Our requirement is for a particular PO document type the PO Item Delivery tab > goods receipt indicator needs to be set as blank and the field should be greyed.
    For this PO type we are usign the account assignment category K and F. We cannot remove the Goods receipt indicator from this account assignment in SPRO because this is the central change and it will affect other Purchase organizations.
    We are using the R3 4.6c Version.
    We tried the User Exit "MM06E005" with exit FM "EXIT_SAPMM06E_016" but this cannot be used to changed the PO Item standard fields.
    Badi ME_PROCESS_PO_CUST not exist in R3 4.6c.
    Is there any other solution avl to meet out requirement.
    Thanks & regards.
    Madhan.

    Hi,
    I think you have posted the question in the wrong Forum.

  • 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

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

  • Splitting the goods receipt qty at the time of COR6N

    Hello Friends,
    Actually we want to do auto goods receipt at  the time of confirmation (cor6n).I have given the PI03 control key to the operation and phase.So system shows the goods receipt item in goods  movement screen in COR6N.
    We manage all the materials in batches.So i want to split the goods receipt qty into no. of batches.
    In cor6n,in goods movement there is option for splitting, but at a time it allows me to split the qty once only.If i have to split the qty again than again i have to select the splitting option .
    i want to split at a time.How to do it/

    Hi Jitendra,
    It can be doing Batch Determination.I don't want to tell you to perform Batch Determination if you don't want.Just press icon for Batch Determination and no strategy found then do it Batch Determination without Class Selection.
    System will propose all available batches.Here split required qty as per your choice. and then press copy button.
    Regards,
    Dhaval

  • How to avoid outputting goods receipt

    Hi,
    iam printing a goods receipt with output type WE01 thru MB90
    How to avoid outputting befor printing it??
    Regards
    Krishna

    hi Charlie,
    i dont want to assign output type to material document..
    but i want to print the goods receipt.
    i maintained condition record for Trans./Event Type,Print Version and Print item.
    But iam unable to print iT.
    Any further config required to acheive this?
    Many thanks
    Krishna

  • Goods receipt is automatically created at the time of confirming the transf

    Hi,
    we are following the confirmation control key inbound delivery process.
    I am making an inbound delivery with refernce to the purchase order.
    then i am making a putaway against the inbound delivery through LT0F and creating a transfer order against the inbound delivery.
    Then i am confirming the transfer order through LT12, when i am confirming the transfer order the goods receipt is automatically created without manuallyy doing a PGR in inbound delivery.
    Can any one let meknow how to avoid the creation of the auto GR at the time of confirming the putaway TO
    Sunil

    Hi,
    In LT0F check in  the initial screen -->control data -->weather the adopt put away quantity field value is 4. If it is 4 then the GR will be posted automatically.
    Regards,
    Bharat.

  • 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

  • Goods receipt date cannot be in the past

    hii
    While doing Po i getting below error
    " Goods receipt date cannot be in the past  "
    How to rectify this ?? and why its occuring ??
    Thanks

    >
    MM group wrote:
    > hii
    >
    > While doing Po i getting below error
    >
    > " Goods receipt date cannot be in the past  "
    >
    > How to rectify this ?? and why its occuring ??
    >
    > Thanks
    Check the error No. If error is standard, then we can change the error message to warning, if the error is ABAP generated, we cannot get it changed. Usually ABAP generated errors are created as per clients requirement and can be changed with client and ABAP consultation.

  • 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

  • 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

Maybe you are looking for

  • Retrieving All Objects From Session

    I'm developing a JSP shopping cart application, i have problem with sessions. A user can add a product to their cart, this adds the product name and the product price to the cart using: <% session.setAttribute("pname", pname); session.setAttribute("p

  • How can I export a slideshow as Quicktime video in iPhoto 9.5.1?

    I want to export a slideshow I created in iPhoto 9.5.1 as a Quicktime video, but neither File > Export nor the Export button at the bottom give me a Custom Export option. I believe this was an option in older versions of iPhoto. Thanks in advance!

  • How to install and add Enterprise Portal over an existing ECC server

    Hi Guys We have already installed the ERP package (ECC) and we have enough memory and diskspace on the server and there we are considering installing Enterprise Portal over the existing server so that we can use both ECC and EP. How can we do this? W

  • Help needed regarding regular expressions

    hello i need to write a program that recieves a matematical expression and evaluates it...in other words a calculator :) i know i need to use regular expressions inorder to determine if the input is legal or not ,but i'm really having trouble setting

  • Setting bits question

    I have a bunch of bytes of data I want to build in a byte array. I looked at BitSet but I dont' think does what I want. I'd like to be able to specify a start byte/bit, end byte/bit, along with the data I want to add. Ex. I'd like to be able to set t