Undelete PO line items

Hello ,
I am having a Production sceanaraio where i had to deleted mass PO line items which were created thru Sales order requirnments
SAles order - PR - PO
So being almost 700 numbers , I had used MASS transaction MEMASSPO to delete the line items - set the delvy indicator flag as L .  All the line items were successfully deleted . But now business wants this to be undeleeted for some and when I tried to undelete thru the undelete button in PO , it does not allow to delete with a message " PO deleted at header level . Add.no possible " .
Is there anyway by which we can Undelete this PO again . Please suggest asap.

I managed to undelete the PO line item .
When the PO's were deleted , all the line items were deleted which in turn deleted the Header . So the Deletion indicator is changed to "C" . So for doing undeletion  ,select the PO numbers again in MEMASSPO and it will show the deletion indicator as "C" . New value should be left as blank in deletion indicator and then mass update it and save it.
Now come back to PO which you have changed the deletion indicator flag and select the undelete button and it will now allow to undelete the PO line item.

Similar Messages

  • Undeletion of line item through ME22N

    Hi all,
    In PO i have a line item for which GR and invoice reciept is done. Deletion indicator is set for this line item. Now when I am trying to undelete the line item it is giving error as " Order unit cannot be changed"
    But when I am Undeleting it through ME22 it is allowing to undelete it . Why so?
    How can I undelete the line item through ME22N.
    Thanks and Regards
    Chetan

    what changes are made to the PO before this message comes up.
    What changes do you you have in the PO at all?
    the message is triggert in SAP include  MM06EF0M_MASSEINHEITEN
    And SAP compares and old unit with a new unit.
    And in case your PO has already been quantity  or invoice received then it will not allow the cahnge.
    Debug the include wenn the message is triggert and compare the 2 unit fields.
    See OSS note 662054 and 655365. They explain some circumstance when the message is issued.

  • ME22n undeletion of line item

    Hi all,
    In PO i have a line item for which GR and invoice reciept is done. Deletion indicator is set for this line item. Now when I am trying to undelete the line item it is giving error as " Order unit cannot be changed"
    But when I am Undeleting it through ME22 it allowing to undelete it . Why so?
    How can I undelete the line item through ME22N.
    Thanks and Regards
    Chetan

    How does the PO item order unit compare with:
    1.  The PO item pricing unit
    2.  The info record ordering unit
    3.  The info record price unit
    4.  The PR item unit
    5.  If a material, the base unit, order unit, etc.
    What is the message number for the error?
    Regards

  • Undelete a line item from Sales Order

    Hi,
    Is it possible to un-delete an item from the sales order?
    If yes, how can we do this?
    please advice.
    Thanks

    Hi,
    One way is to set reason for rejection for remaining line items at item level.
    Select the line items and go to menu and set the reason for rejection.
    Based on the same you can even create a CATT program to put reason for rejection at line items.
    Thanks and regards,
    Saju.S

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

  • Deletion of a line item from PO

    Hi,
    I have a PO with only one line item, where the line item is created with reference to PR and PR is created from Production order.
    The GR and IR is done for PO.
    But the line item is marked for deletion after IR.
    Now i want to undelete the line item.
    When i press undelete/unlock tab, it is througing an error
    Requisition 90043093, item 00002, created from production order.
    help how to undelete the line item.
    I think many question will come to mind
    1) Why you marked delete for a item after doing GR and IR.
    But user did it with out knowledge.
    I have tested the following scenarios...
    1) I created a PO with referece to PR. Did GR and IR. Then marked for deletion of line item in PO. It allows for deletion. Then in change mode of PO i undelete/unlock. It allows to unlock with warning message. delivery completed.
    But it is not i case of PO with referece to PR and PR is cretead from production order.
    relavent answers rewarded with points.
    Thanks
    Giri

    Hello Girisha,
    Note the error message number and change the message settings from Error to warning in message attribution and then try to delete it.
    Incase, you are not able to do that, I suggest to open issue with SAP through OSS.
    Regards
    Arif Mansuri

  • Issue while UNDELETE the PO line item

    Hi MM Sapperu2019s,
    I am facing an issue where one of my user wrongly activated the deletion for 1 line item in the PO and now when I tried to undelete the PO line item it was giving me the below error,
    Error as Requisition XXXXXX, item XXXX, assigned to other order account
    Message no. 06251
    Please help me to fix this issue.
    PS:
    I have found similar SDN links but where the issue is PO has linked with Sale order and in my case the PO account assignment has linked with network.
    Moderator do not lock this query saying that similar issue has been already discussed
    Awaiting for the experts reply.
    Cheers,
    Kumar.S

    Is that the background to your problem:
    you have a requisition and you created a PO 1 for this requisition,
    then you deleted the PO 1 and requisition became open again,
    then the requisition was change in account assignment
    and then you created a PO 2 for this requisition.
    what do you expect from re-opening the PO 1?

  • Undeleting a PO line item with multiple account assignment and PO history

    I  am getting error message
    PO history already exists (Multiple account assignment not possible)
        Message no. MEPO841
    When attempting to undelete a purchase order line item that has GR (nonvaluated) and Invoice postings.
    Sequence of events.
    PO line item was created with mutlitple account assignments ( 50/50 distribution) and GR nonval flags on.
    Invoice Posted (blocked for payment)
    GR done
    PO line item marked for deletion.
    Now getting MEPO841 when attempting to undelete.
    Tried to Reverse GR and cancel material docuement - unable to do so - message no selectable items in PO
      (even with check zero indicator )

    Hello Dan ,
    Error message MEPO 841 is only issued if you have Multiple account assignment function (MAA) activated. Multiple account assignment function is a new business function developed in Release 604.
    If you have MAA active, you are not allowed to change a single account assigned PO which has GR posted to a multiple accounts assigned PO. If this is tried , MEPO 841 will stop you from doing this change.
    If you want to have your old functionality in the lower release, you should switch off the business function LOG_MM_MAA_1 ( MM Multiple Account Assignment )  in Release 604.
    Please switch the business function LOG_MM_MAA_1 off in test environment  and test the problem again in a productive system.
    I hope this information has been helpful in solving your problem. Please let me know if you have any further questions.
    Thank you.
    Best Regards,
    Frank Farinella

  • Undelete Purchase order line item

    Good day,
    Is it possible to undelete a deleted purchase order line item? If yes, how can I establish this?
    Thanks & regards,
    Christel Smolders

    hi
    u will see block / unblock symbol also dust bin symbol in Po line. U can delete line item here and when u want to undelete by pressing unblock u can achive same
    select the line item and then press unblock / undelete symbol ( Open lock symbol) line item will undelete
    Vishal...

  • To restrict undeleting/unblocking of  a PR line item

    HI,
    My scenario is such that a PR is created and approved  in SRM and  in R/3 you can delete the PR line item and also undelete/unlock it.
    My issue over here is that once the PR line item is deleted it cannot be restored or undeleted/unlocked, only the persom with special rights can unlock/undelete it.
    Chintan

    HI ,
    You can acheive this by following :
    Create a new Doc type for PR ( specific to PR  Created by SRM  ) .
    In User Exit,  Validate  the follwoing combination "User having speciic roles" + "Doc Type  same as above" is trying to undelete the PR item , then allows the user else throws error.
    Hope this will solve your query.

  • 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

  • Workflow not triggering after undletion of expense line item after release

    Hi Experts.
    There is one issue in which a PO contains inventory line item (an item without account assignment category) and expense line item (an item with account assifnment category).The user releases the PO through workflow.The user then deletes expense line item and after a span of time he undeletes the same line item.Now the business requirement is after undeletion of expense line item the workflow should trigger again.I have consulted with technical team they say that it is not possible by coding and is possible trough customization.

    Hi,
    Please check that Change Version for PO is active.
    IMG: SRM -> SRM Server -> Cross-Application Basic Settings -> Switch On Version Control for Purchasing Documents
    Regards,
    Masa

  • Unable to capture field values in Master agreement  Line Items

    I am trying to get the field values from master agreement line items page. I have written the following code to get the line item details which is working fine to capture part number and quantity->
    agreementBean = doc.getRootParentIBean();
    lineItemCollection = agreementBean.getLineItems();
    collectionsize = lineItemCollection.size();
    for(i=0;i<collectionsize;i++){
         collectionbean = lineItemCollection.get(i);
         partNum = ""+collectionbean.getPartNumber() ;
         Quantity = ""+collectionbean.getQuantity();     
         throw doc.createApplicationException(null,partNum + " , " + Quantity );
    Now, my problem is that I am unable to capture the following field item values in the master agreement > line items page.
    1. Price Unit
    2. Unit Price
    3. Product Category
    4. Plant
    Please help me to find the values.
    Thankx in Advance.
    Su
    Edited by: subrataindra on Aug 10, 2010 11:11 AM

    This will return the name of the plant.
    .getExtensionField("PLANT").get().getDisplayName(session);
    Check if this returns the product category
    collectionbean.getExtensionField("ITEM_CAT").get().getDisplayName();
    This will Return the Price
    collectionbean.getExtensionField("PRICE").get().getPrice();
    (return type :BigDecimal)
    This will return the currency
    collectionbean.getExtensionField("PRICE").get().getCurrency;
    (Return type:String)
    Similarly to retrieve other fields for which there are no standard functions, use .getExtensionField("Field ID")
    Hope this helps
    Regards,
    Immanuel

  • Vendor Line Item not cleared after F110

    Hi Gurus,
    We encountered an issue. The payment run was processed last April 18 and the vendor invoices were captured during the payment run and in the aging report, these invoices didn't appear as Open Item.
    In between April 19 until August 19, these invoices are not part of the proposal list until the when they run payment on August 20. The value is zero and in the proposal list, there is a value in the Reason to Print Advice "A".
    What is the reason for this?
    Thank you.

    Hi Dianne Obviar,
    For that invoice payment delete uncompleted payment
    proposal.
    U go through this path select F4 in run date field
    There check it any un completed proposal is there and delete
    that invoice line item will come for payable
    Regards
    Surya

  • Open Item and Line Items are not matching

    Hi Gurus,
    I ran the EFT for vendor #1600109 for payment on 10/18/07.  If I run the vendor open items report (ZFI019) for today, it shows the balance net of the EFT that is $203,466 ( $263869 - EFT Value is $60,403). 
    When I ran the vendor line items display (FBL1N), it shows all the invoices including the invoices paid on the Oct 18 EFT $263,869 which is (2034,66+60,403). 
    User wants the open item report should tally the line item display.
    I will assign good points.
    Thanks for your help
    Prashanth

    Hi Gurus,
    EFT is working fine. But the Vendor Open item Report (Custom Report) and Vendor line item report (FBL1N) is different.
    We are looking a balance for a vendor as on 15th where the balances are not matching between the reports but if i run FBL1N on 18th the balances are matching.
    Clearning date is 18th
    Posting Date is 15th.
    Thanks
    Prashanth

Maybe you are looking for