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

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • Purchase order line item delete / undelete

    Dear Experts,
    I have one scenario please check system not allow to me to reset Mark of Deletion in P O line item for below purpose i do one below scenario.
    1.     Material without any valuation category
    Material : XYZ-0001
    Plant : 1000
    Purchase order no. 4310034899 ,
    Make GRN & VIV
    2: After Valuation category changed in material master u2026.(Material XYZ-0001)
    If I Try to Undelete line item from purchase order after val cat. Change u2026 system appear error message Deletion indicator cannot be unset
    Please if any idea so share with me.
    Regards
    Aamir

    Aamir,
    When the PO Item was created say for example Material had Valuation category "Y" and latter you wanted to change the category to "Y". Now system would have check for all open PO's etc...based on this you must have set Deletion Indicator to this Line Item to allow valuation category change in material master. Now when this Item got created in the table level (EKPO), system updates the valuation category "Y". Currently this valuation category is not active so it would not allow you to perform removal of deletion indicator as program cannot automatically nor you have an option to manually update the valuation category to this Item.
    Regards,
    Prasobh

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

  • 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

  • PO delete after GRN

    Dear Experts,
    In my production server I want after grn ( Expect GRn cancel )in any PO  my user not able to delete po line itmes.How can it is possible.
    Pooja

    Hi,
    Create a Transaction Variant t code SHD0
    Then create a z t code by using SE93 here assign this transaction variant to the new t code .
    Then ask your basis team to restrict the users by t code this would be a easier way.

  • 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

  • Web Services API Documentation?

    Hello, I was looking for documentation regarding OLM web services, since I'd need to perform a few simples queries from an external software. Could you please point me in the right direction? Thanks....

  • Using Connection Pooling in a WLS 5.1.x - Cluster

    Hi,           We have problems using connection pooling in a WLS 5.1.x - Cluster. Is it           possible to use CP in such a cluster at all ? The problem is, connections           will be opened and never been closed. How can I configure a cluster

  • Airport Express power cord

    I was wondering if there is a way to only buy power plug cord that can allow the Airport Express to not be on the wall?  I'd like to connect the cords needed for airtunes, but cannot do it without putting an extension cord on the AE (or using the pow

  • File sharing with ipad

    Can I access Windows machines with my iPad through my home network?

  • Need help on selectedIndex Property

    Hi, We are facing a issue in our screen which is developed using Flex Builder 3.0. We have Extended the Functionality of "AdvancedDataGridColumn.as" to have List of Values(LOV) editable column in it. User can add rows to the Advanced Data Grid  by Cl