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.

Similar Messages

  • 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

  • Po getting deleted after goods receipt and invoice verificatiob done.

    Dear all,
    PO is geeting deleted after GRN and IR has been done. it should not happen.
    PO is not getting deleted whn SES is made and release and giving standard error.
    but PO is geeting deleted after GRN and IR has been done. it should not happen.
    please help in this case.
    thanks.

    Hi,
    That's correct,  System is working as designed.                                                                               
    When all the procurement process is finished, it must be possible to delete the PO item for example for archiving purpose .                                                                               
    You can see the on-line help on that matter:                                                                               
    You cancel items in a purchase order by deleting them.                      
    Please note that an item may only be deleted if it is closed (that is       
    to say , there is no outstanding quantity to be delivered or invoiced).     
    Items are regarded as closed if, for example:                                                                               
    · the ordered quantity (or more) has already been delivered                 
    · the ordered quantity has been invoiced in full                            
    · no related follow-on processes (such as reservations) are active          
      in the stystem."                                                                               
    As you have already received the goods and posted the invoice, the deletion of the item shall have no effect. The procurement process has been completed.                                                         
    If however you try to delete the item after GR but before invoice receipt, the procurement process is not complete, therefore the error occurs.                                                                     
    Also note the item shall be marked as deleted, but not actually removed from the System, it shall still be available for reporting.                                                                               
    I hope this is answering your question.                  
    Regards,
    Mauro

  • URGENT-- Data is going to delete after end of loop .

    hi all,
    i have written code .....
    SELECT DISTINCT M1VKBUR M1KUNNR M1VBELN M1BSTNK M1AUDAT M1KNUMV M2NETWR M2MWSBP M3ERDAT M3FKART
                                         INTO CORRESPONDING FIELDS OF TABLE ITAB
                                         FROM VBAK AS M1 INNER JOIN VBRP AS M2
                                         ON M1VBELN = M2AUBEL
                                         INNER JOIN VBRK AS M3 ON M2VBELN = M3VBELN
                                         WHERE M1~VKBUR IN VKBUR
                                              AND M3~ERDAT IN ERDAT
                                               AND M1~KUNNR IN KUNNR
                                                AND M3~FKART IN FKART .
    DELETE ADJACENT DUPLICATES FROM ITAB COMPARING VBELN .
    LOOP AT ITAB .
    SELECT KAWRT KBETR INTO CORRESPONDING FIELDS OF TABLE ITAB2 FROM KONV
                   WHERE KNUMV = ITAB-KNUMV
                   AND KSCHL IN ('SKTO' , 'INV1') .
      MODIFY ITAB2 INDEX SY-TABIX TRANSPORTING KAWRT KBETR .
    ENDLOOP .
    LOOP AT ITAB2 .
      ITAB-CD_AMT = ITAB2-KAWRT * ITAB2-KBETR / 10 .
      ITAB-AMT_DUE = ITAB-NETWR + ITAB-MWSBP - ITAB-CD_AMT .
      MODIFY ITAB INDEX SY-TABIX TRANSPORTING CD_AMT AMT_DUE  .
    ENDLOOP .
    problem is that i m not getting values in itab2 at end of itab, its going to delete after completing  last itab value of KNUMV.
    can anybody help me its urgent .
    thanks in advance .
    Anil .

    Hi Anil..
    There are some corrections needed in ur Code..
    Check the modified code: Changes in BOLD
    SELECT DISTINCT M1VKBUR M1KUNNR M1VBELN M1BSTNK M1AUDAT M1KNUMV M2NETWR M2MWSBP M3ERDAT M3FKART
    INTO CORRESPONDING FIELDS OF TABLE ITAB
    FROM VBAK AS M1 INNER JOIN VBRP AS M2
    ON M1VBELN = M2AUBEL
    INNER JOIN VBRK AS M3 ON M2VBELN = M3VBELN
    WHERE M1~VKBUR IN VKBUR
    AND M3~ERDAT IN ERDAT
    AND M1~KUNNR IN KUNNR
    AND M3~FKART IN FKART .
    <b>SORT ITAB BY VBELN.</b>
    DELETE ADJACENT DUPLICATES FROM ITAB COMPARING VBELN .
    <b>IF ITAB[] IS NOT INITIAL.</b>
    SELECT KAWRT KBETR INTO CORRESPONDING FIELDS OF TABLE ITAB2
    FROM KONV
    <b>FOR ALL ENTRIES IN ITAB</b>
    WHERE KNUMV = ITAB-KNUMV
    AND KSCHL IN ('SKTO' , 'INV1') .
    <b>ENDIF.</b>
    LOOP AT ITAB2 .
    ITAB-CD_AMT = ITAB2-KAWRT * ITAB2-KBETR / 10 .
    ITAB-AMT_DUE = ITAB-NETWR + ITAB-MWSBP - ITAB-CD_AMT .
    MODIFY ITAB INDEX SY-TABIX TRANSPORTING CD_AMT AMT_DUE .
    ENDLOOP .
    Now it works properly.. And with better performance.
    Note: Avoid using CORRESPONDING FIELDS option in the SELECT when the Internal table structure is same as the Fields selected.
    <b>Reward if Helpful.</b>

  • Production Reporting out put not getting deleted after 30mins what we set.

    Hi,
    This issue regarding Production Reporting. In the workspace the report output not getting deleted after 30minutes (while publishing the report settings were like delete after 30 mins). Any suggestions please .....
    Thanks
    Venkat

    Hi Deepak,
    Please chek the field / value which u have changed is relavant to  printouts of the change.
    You can check  with following path
    SPRO> MM > Purchasing > Message > Fields Relevant to Printouts of Changes.
    Confirm tick is provided for PO ( P)
    Vivek

  • Any one has problem with notes getting deleted after a week ?

    After upgrade to iOs 7, my new notes that I wrote on icloud or email are deleted after a week. I  have to take note again and again, first i did not notice because i thought i was accidently deleted, but then a week later i lost the new notes again. All old notes are ok, it just happen to new notes after iOs 7. Pls help

    try SUS and reinstall it again

  • Firefox bookmarks/toolbar deleted after software update for Microsoft

    Firefox bookmarks and toolbar were deleted after a software update from my mac computer - an update from Microsoft - affecting word & firefox. The restore function within the bookmark section does not work - it shows the back ups but then states "unable to process the backup file"

    You can check for problems with the <b>places.sqlite</b> database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

  • Sound on clips gets deleted after quiting FCP X, why?

    Sound on some clips I imported from my GoPro gets deleted after I have quit the program and go back to it.  However, in the FCP X events folder, the original media still has the sound in the clip.  I do not understand why this is happening.
    Does anybody have any advice?

    One slight point about Patrick's info.
    Since version 10.0.3, FCP X has been able to edit multicam and most people agree that it does so in a far superior and easy way.
    I would also suggest that as a beginner you completely ignore the "Help" menu as it can be very confusing.
    Instead download these 2 hours of FREE video tutorials and you will see and learn exactly how to use FCP X in no time at all:-
    http://www.izzyvideo.com/final-cut-pro-x-tutorial/
    Finally do not spend a penny on FCP X until you are sure it is right for you.
    You can achieve this by downloading the FREE 30 DAY TRIAL:-
    http://www.apple.com/finalcutpro/trial/
    So within 30 minutes of reading this post you could have FCP X sitting on your desktop and be starting to edit with it  .  .  .  and all without spending a penny!
    P.S. If you already have FCP 7 & and it does what you want, you should stick with it. If it ain't broke, don't fix it.
    Message was edited by: Ian R. Brown

  • Legacy asset deletion after AS91

    Hi All,
    How to delete few assets after loading thru AS91. ( As 60 records are duplicated Input file issue- Basically I dont want to delete all 9000 records )
    Tcode AS06 does not allow me to delete with a message values are there. The SAP message is cryptic and they mentioned use the Transaction to change old asset and then delete - but not mentioned the Tcode.
    Tried to delete after deactivation also but didnt work.
    Regards,
    Chitras

    Hi,
    Despoina.
    First of all tell one thing that does your all assets having values ? If values are there for those assets ,
    go to AS92 click on take over values button then make all fields ZERO and save.
    Come to AS06 put asset number and select option from  Physically delet asset.
    Hope this clears to help you.
    If any problem still there please revert.
    Regards,
    Pankaj.

  • Automatic purchase order deletion after SD order is deleted

    Hi forum,
    I managed to get the automatic purchase order creation to work. Now I have a few issues about it.
    - why is the workflow not deleted after the sd order is deleted?
    - why is the purchase requisition not deleted after the sd order is deleted?
    Thank you for help!
    Regards,
    Florian

    Hi
    If you delete the sd order, then automatically purchase requisition will get deleted.
    First you delete the sales order, and do the MRP Run - MD02 and view the requirement at MD04. Automatically requiement will get deleted.
    Reward if it helps
    Regards
    Prasanna R

  • 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

  • Lockbox spool deleted after print

    Hi All,
    We have a issue where the user has mistakenly selected delete after print option while processing the lockbox job in background. And while printing the lockbox spoolm printer was jammed and it did not print the lockbox spool correctly (unable to read anything on print).
    my question: is there any way to retrive the spool if yes how? if NO then is there any standard report which will give me same details as the spool.

    no solution

  • PO Deletion after material receipt

    Hi Friends,
    Our client want PO's should not be deleted after goods receipt. Can anybody suggest, what I have to do?
    Regards,

    Hi Friend:
    In SAP,you could not delete PO line if this item already post good receipt and no IR,system will give you error message.This is SAP standard function
    If you  post GR and IR both,   we could delete PO line, this means system could achrive the deletion line.
    If no GR and IR, you could delete it freely.
    Dick Hua

  • Asset assigned PO stock should be visible in the MMBE after GRN

    Hello every one,
    I am having an issue related to asset(A) assigned PO, in this case, in std. after GRN against asset assigned PO stock is going directly in consumption.
    But in our bussiness scenerio we want Asset stocks to be visible in our stock excactly how the poject (Q) assigned PO stock is visiblein the system.
    For any further query kindly revert back to me.
    Regards,
    Anisha

    Dear Anisha Sinha
    It is Possible
    Go to SPRO->Sales and distribution->Basic function->Account Assignment/Costing->Mat.Req.class for costing/Account Assignment->Account Assignment ->here
    pls check what is your requirement class used in sales order e.g 040,  double click on it and see the Valuation select "A" or "M"
    you select M and save it.  Then create one new sales order and do your process,the stock will be available against your project.
    Enjoy...................!!!!
    only the requirement class is responsible for your stock.......
    Thanks
    Rajakumar.K

  • Production Order reservation(ETO) not deleting after PGI (VL01N)

    Hi All,
    Greetings!!!
    A query, regarding ETO (Project system)
    ETO scenario, For production, reservation will be create through WBS element. After production , If I do delivery and PGI,  production order reservation is not deleting.
    Same material If I do delivery(LP) through CNS0, then order reservation is going to delete after PGI. But Sales order price is not copying to Billing If I follow this process.
    Is there any copy controls to flow the sales price to billing when delivery happens through CNS0. If not
    Which requirement class and movement type I need to determine in Sales order.
    Please do needful.
    Very High,
    Thanks,
    Prasad.

    This is standard SAP
    SAP process is to deliver project stock using project delivery , where in PGI happens against the reservation created & deletes RESERVATION.
    wherein if you do PGI for order ( sale order or prod order ) , it happens against project stock ( spe stk Q - 281 movement )  i.e., against WBS element
    I faced the same for sale order delivery of project stock .
    we are selecting FINAL Issue indicator through user exit which triggers when PGI is clicked
    This will delete RESERVATION from stock overview
    hope this helps ...Let me know if you found any alternative

Maybe you are looking for

  • Is it possible to run a command when a monitor goes to a healthy state?

      Hi,  I'm using SCOM 2007R2 Is it possible to run a command/script when a web application Monitor changes to a healthy state? I have a web application monitor that checks four different websites from our proxy servers.  on the aggregate rollup of al

  • Export to Quicktime with alpha channel

    I'm trying to export my Keynote project to a Quicktime video with a tranparent background.  I set my slide backgrounds to None. In the export panel I've selected the "User Transparency" option and under Custom settings I've selected Animation with Mi

  • Thin white bars appearing above images

    What are the thin white bars appearing above images I have placed in my pages? Is there a way to avoid/remove these: example: http://homepage.mac.com/toddlich/Sites/RESOURCES/SHORT%20STORIES/DB87D5F5-4239-4 9D0-9B54-735351640A29.html

  • Can't play certain album

    Hi there, I can't seem to play the below album (the artist's latest), although the rest of their catalog seems to be fine. Metric - Synthetica (2012): https://open.spotify.com/album/2xbkLrXys1oVlp5fgTgwSJ They just released a new single on Spotify, w

  • Connect Audigy 2 Value to Recei

    I am currently using the digital out from the card and connect to the coaxial input of the receiver. Everything works fine, except when I play DVD on the computer the receiver won't automatically detect the Dolby settings. Also, When I try to test th