PR line item deleted after GR done

PO 4501031282 item 10 is stil valid with respect to  req 11627204 has been deleted.  How is this possible?
Last GR done 16.01.2011 and requisition is deleted 10.05.2011. 
How is it possible to delete PR line item after GR has been done?

Hi,
If GR is created and user is trying to delete PO and PR ,then sap can delete the same ,this is the standard functionality of SAP
you need to make enhancement for the same.
Use below Badi's and make the enhancement with the help of abapor ,set the error message.
Purchase Order-ME_PROCESS_PO_CUST
Purchase Requisition- ME_PROCESS_REQ_CUST
Regards,
Sandesh Sawant

Similar Messages

  • STO line item deletion after  PGI

    Dearr all,
    I have the following cycle,  STO--> VL10B-> Delivery Note creation> Picking -> PGI--> MIGO
    STO has 4 line items and I have done MIGO referring the delivery note. Later I found out that line item 1  material is wrong, now I want to cancell the line item and ammend the STO and put the right Item code.
    I am trying to delete the line item by VL09 , System does not allow, error says "  Deletion not possible for the items partially or fully delivered". How do I proceed as ths type of wrong entry happens reguraly during STO creation. ( For information STK received is not consumed and available in inventory)
    Please guide.
    Thanks
    Sam

    Hi,
    You cannot cancel the material document that is a result of PGI, except using VL09.
    And as it was told you by SAP, you cannot cancel separate items of delivery because when you pushed the PGI button it was valid for your whole delivery - your options: whether you cancel the whole delivery (I mean the GR that comes from the GI) or you do not cancel the PGI of the delivery.
    To be able to delete the item:
    1. Cancel GI - VL09
    2. Cancel the picking (in IM you only have to delete the picking qty, in WM you should use LT0G)
    Regards,
    Csaba
    Edited by: Csaba Szommer on Dec 24, 2008 8:46 AM
    Edited by: Csaba Szommer on Dec 24, 2008 8:54 AM

  • PO line items delete after GRN

    Hi Experts,
    In any PO if I have done GRN its line items should not be deleted. Means afrer grn po should not be delete only lock and delivery complete indicatior active . If any message is ther please suggest me
    Pooja

    Hi Pooja,
    Standard SAP doesn't allow you to delete the PO line item once you post the GR.  Only after posting the IR for the full quantity of GR, then only system allows you to delete the line item.  If IR is posted for a partial quantity of GR, then system expects a GR/IR clearing document.
    I had a similar requirement like you, once there is a subsequent posting like GR and IR users should not be allowed to delete the line item unless the documents are fully reversed.
    I used the Badi ME_PROCESS_PO_CUST -> method PROCESS_ITEM for this purpose and developed a custom enhancement.  If user deleted any line item, system checks for subsequent document and if any document exists it will throw error message.
    You can also build enhancement similarly.
    This enhancement will not impact the Archiving process.  Archiving program directly updates the deletion indicator at table level.
    Rgds, Mallik
    Edited by: mallik on Dec 28, 2009 1:37 PM

  • Purchase Order line items deleted after coying from PO in GRPO

    Hi All,
    Does anyone here experienced this problem? The user reported that after adding the GRPO that generated by copying from PO, they found out that the line items in PO has been deleted? We're trying to reproduce this problem but we're unable to reproduce it.
    Thanks and Regards,
    Vin

    Hi Melvin,
    Which version of SAP B1 you are working on ?
    So if your PO item lines are deleted when copying to GRPO are you able to track the Base document from the GRPO. having the particular GRPO opened enable the form settingsa and make visble the Basetype and the other fields and check if the PO No. is available.
    If this is a one of issue or you experience the same then thsi issue can be reported. If you have a back up of the DB before this transaction of PO copied into PO, restore the backup and check if the same applies.
    Regards,
    Rakesh N

  • Sales order line item delete error for MTO sales order

    Dear Experts
    iam facing below error for MTO sales order line item deletion
    "For reasons of cost management, item 000040 cannot
    be deleted"
    Please help
    Regards,
    KEdar

    It looks you try to delete the sales order line item and you get this error message.
    Try to put reason for rejection for the line item and save the order. This is equal to deleting the line item.
    You can also refer the OSS note 14097 - Order item cannot be deleted/overwritten for further information.
    Regards,

  • Sales Order line item Price after Discount

    Hi all
    How to get the line item price after discount in Sales Order Query?
    Kedalene

    Hi Kedalene,
    Please check below Query.
    SELECT T0.[DocNum], T0.[DocDate], T0.[CardName], T1.[Dscription], T1.[Quantity], T1.[Price] as Price_After_Discount, T1.[PriceBefDi] As Price_Before_Discount,T1.[DiscPrcnt],  T1.[LineTotal] FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.[DocEntry] = T1.[DocEntry]
    Hope this help
    Regards:::::
    Atul Chakraborty

  • Line item deletion in the PO once GR & IR is done

    Hi experts,
              I have a scenario that once the GR & IR is created for the PO it should not allow us to delete the line items of the PO for which GR & IR is created. I came to know that we want to activate the Badi(ME_PROCESS_PO_CUST) for this Process. can any one tell me how to use & activate this badi. Thanks In Advance...
    Thanks & Regards
    Raman T S

    In this BADI you have to enter the logic like system will check in table EKBE for each line item (EBELP) for each PO (EBELN) whether any Material document (BELNR) exist...here you can identify the GR number & IR number wrt PO history cat.(BEWTP)...here GR is identified as E & IR as Q...If system finds such document then will not allow to process the deletion & a customized message will pop up...take help with your ABAP person
    Regards,
    Indranil

  • PO line item deletion and its effects

    Dear all,
    When I delete the line item of po after MIGO and MIRO, it is allowing to do so.
    but after migo/miro it should not allow.
    what rectification can be done?
    also can u tell me because of this deletion any background entry happens or any stock changes happens?
    Thanks,
    Narendra

    Dear Frnd..
    plz try and change the status of message no 06 - 115 to "E - Error"... in SPRO ->> PURCHASING ->> ENVIORNMENT ->>Define Attributes of System Messages. - >> sYSTEM mESSAGES...
    hpe this will help..
    plz confirm
    Amit P Hiran
    njoy SAP..
    njjoy Lyf...

  • LIne item deletion -availability

    Hello Everyone,
    I am in a bit of a pickle. I had 2 KAs for a material/serial number combination say 1 and 2. The material has been confirmed in the schedule line
    in KA 1 but then BP wanted to bring it in using KA 2 so he assigned a reason for rejection for that line item in KA 1 so he could confirm the schedule line
    in KA 2. This didnt work.
    Unfortunately I deleted the confirmed schedule line in KA 1 and then deleted the line time itself in KA 1. This didnt result in the  material being available for a return with KA 2.
    As a result of the above in MMBE the material is still with the customer (KB)(we are using KB and KA for rental process mapping)
    but if look at KA 2 availablity check result for the material that qty is still confirmed against KA 1 line item which we deleted.
    Please assist in bring the material to available
    Regards
    Madan Shetty

    I had 2 KAs for a material/serial number
    What do you mean by KA??  As far as possible, please dont use any abbreviated words and conclude everybody would read your mind.  I presume it is order type.
    When you say rental processing, I don't understand why you were involving delivery.  Ideally, the process should have been Order related billing.  Also are the two lines have same material code? 
    Please share maximum informations both from business perspective and SAP point of view so that suitable suggestions can be given.
    G. Lakshmipathi

  • Line item deletions in opportunity  which has folow up doc quotation

    the problem is that even after deleting the line item in quote which is followup doc and then trying to delete the line item in the opp it is giving the same error message - 010 cannot delete the Line item ## which is same as before deleting the line item in the  quote
    once you save and open the transaction the product column for deleted line item  is in change mode again after selecting the same line item and tying to delete the product cat is getting deleted but the line is visible even after saving but if u open the transaction again then you are able to see the action of deletion completed
    I want to know why its behaving like that.

    Hi Srinath,
    This is because, your updated buffer for the transaction is not in coordination with your output.i.e. UI.
    i.e. before deleting the product from the transaction your UI is being field up with details.. and someUI parameters such as ALV grid which is displaying the data is not updated.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Line item deletion in ECC order not reflecting in CRM

    Hi all,
    1) I created an order in ECC with L1 and L2 line items.
    2) After successful replication to CRM, i deleted the line item L1 in ECC va02 and saved.
    3) Then checked CRM order(ensured that there are no replication errors and stuck entries in queues)
    4) L1 in CRM system is not deleted.
    Is this a standard functionality or can this be controlled anywhere. I know that if an order is created in CRM and distributed to ECC, we can't delete that line item in CRM. But in the reverse case even, is it the same??
    Please help me out.
    Regards,
    Rajesh

    Hi Rajesh
    Did you check Delta load is active for  sales document in R3AC4, if it is your source system is ECC when you do changes in the sales order in the ECC system, it should replicate to CRM
    yes,  this is a standard functionality as you said, when  order is created in CRM and distributed to ECC you can't do any  changes in ECC and even  vice versa.
    but you can do changes either or side  provided you need to  apply this note:888665
    Regards
    RAO

  • PO line item delete with the customised message type

    Hi,
    My requirement is...In a Multiple line item PO if all the line items are deleted than it should not send any print to the vendor though the message option is set to Print immediatelly(NAST-VSZTP = 4).
    These message type are customised output type like ZNEU.
    I have tried to stop the print program which is calling the smartfrom.I am successful in stopping it by taking the deletion flag from the table ekpo table.But not able to make the traffic signal light to red.Because after the print program it is going to the RSNAST00 program and taking the value NAST-VSZTP = 4 and make its status to green and as well as processed.
    Can any body suggested how to change this traffic signal light to red.
    Regards,
    Partha

    Hi Raghavendra,
                           I understand that you are facing problems due to non-availibility of Header data in PROCESS_ITEM. But the same can be pulled live from the program. Sample pseudo code and reference link provided below. Hope it helps your ABAPer gain an insight.
    REF: Getting Header Data in ITEM_PROCESS
    DATA: ls_item TYPE mepoitem,
    ls_header TYPE mepoheader,
    ls_header_obj TYPE REF TO if_purchase_order_mm.
    *Get PO Header data
    CALL METHOD im_item->get_header
    RECEIVING
    re_header = ls_header_obj.
    CALL METHOD ls_header_obj->get_data
    RECEIVING
    re_data = ls_header.

  • Po line item undelete after GR&IR copletion

    hi gurus,
         pls give me sugesition related to   PO line item is deleted after completion of GR&IR,now user is asking to undelete the line item is it possible to undelete the line item,if possible please give me suggesition how it is possible.
    Regards
    sap mm

    Hi
    Go to that PO line item there u can find <b>unblock/undelete button</b> ( open clock simbol
    click the same now ur item is undeleted
    Vishal...

  • Shopping Cart Item deletable after approval

    Hello all,
    I have an issue regarding Shopping Carts: When a Shopping Cart is approved, gives a Purchase Order which is sent to Vendor, Requester can still delete Item of Shopping Cart, which has effect to delete Item in Purchase Order. I opened a message for SAP but they tell me this is the standard behavior which is for me a non sense!
    I would like to know if you already met the fact that Shopping Cart Item being deletable after approval and if you corrected it, how?
    Thanks,
    Patrick
    PS: I am working on SRM 5.0

    Hi,
    Yes this is a standard behaviour.
    The business case is a user who made a mistake and do not have access to PO due to lack of authorization.
    He should be able to delete his SC which trigger a delete status at PO item level.
    Then , if system is well configured, an update output is triggered to communicate to the vendor taht the line item has been deleted.
    If you do not want this behaviour, just modify the roel authorization in PFCG transaction.
    Kind regards,
    Yann

  • PR line item deletion upon PM order TECO

    Hi All,
    PR line item gets deleted upon PM order TECO.
    Any suggestions pls.
    Thanks in advance.

    Reference [thread|Deletion flag set to service pr upon tech. completion of order]and  [thread|PR Marked for deletion after Business Complete]

Maybe you are looking for