Deleting PO line having subsequent MIRO

Hi all,
In our system we can delete PO line item eventhough it has subsequent MIRO. <b>We want to restrict this</b>. I could not find out any configuration for this. On SD side if we have subsequent doc, we can not delete the line item. Do we have something similar on MM side.
I do not want to go for user-exit as i am thinking that there must be something in SAP to prevent this.
I am working on 4.6C. Can anybody please let me know what are the different solutions available to make this happen.
Thanks,

HI,
I think deleting a PO line item is not correct if further cycle is done.
I want to know why there is a need to delete PO line item after the further procedure is done.
To delete the line item kindly set the message as warning or as info message:
To set it as warning follow below procedure:
Goto SPRO - >> Public Sector Management ->> Funds Management Government ->>
Basic Settings ->> Change Message Control ->> New netries - >> Put the message no. ->> Maintain "W" under ONLINE as well as in BATCHl column and press enter and Save data.
Now try deleting the line and save data - system will prompt a message saying - { Exceptions have occurred (see environment -> exception messages) } then select tab Environment ->> Exception messages. There you will see the exception i.e. your message. Now save the data, system will not stop you from saving the data.
Hpe it will solve your problem.
Njoy lyf..
njoy SAP...
Regards,
Amit P hiran

Similar Messages

  • Deletion of Line item in Po after GR occurs

    Hi SAP Expert,
    Can we make the system to block the users from perform deletion the line item in PO after GR has been made? There are case that the user simpled
    delete the line item in PO which GR has been perform and we what to block
    the users from do this deletion.

    Hi,
    In attributes of system Message setting for PO try to add message no.06 115 as error and assign the same to users.Moreover this message comes as a standard setting and prevents from deleting the PO line if Gr is made .But this will not restrict if MIRO is done after GR.
    Dhruba

  • Unable to delete PO line item if GR qty is different from IV qty

    Dear all,
    Please help me to check this issue. The PO line item purchased with 10pcs (quantity), and the goods receipt (GR) is 10pcs as well as the invoice verification for 10pcs. However, weeks later, they performed a movement type of 102 to cancel 2pcs back to vendor, but no subsequent movements follow up.
    Now, the user wanted to delete this line item in PO, but the system throw out an error message:
        "Quantity delivered differs from qty. invoiced (Function not possible)"
        Diagnosis: You have attempted to delete an item whose GR and IR quantities differ.
    Is there any work-around or solution of how to delete this PO line item?
    Thank you and appreciate for helps.
    Warm Regards,
    Edwin

    Dear both,
    Thanks for the prompt reply. This particular material is not applying the "GR-based IV" feature. This is why the user is able to cancel the goods receipt without the cancellation of invoice first.
    The reason why the user needs to delete the PO line item for this material is because they need to change the valuation class of the material which they suspect this is the cause. They have clear all the stocks quantity, clear all the relevant open quantity but left this PO line item. They wanted to delete the line item so that they can change the valuation class.
    Does it mean that it has to use credit memo to clear the quantity? This transaction was posted in 2007, what would be the impact to FI if I post credit memo in 2008?
    Thank you very much for your helps.
    Warm Regards,
    Edwin

  • Cancellation of 1 line item of miro

    Hi I have done 1 miro which is of 6 line item . Out of which I want 5th line item to get miro reversal.
    I tried going to miro & pressing copntrol + F10 I have entered the miro no.
    But I see all the line items are selected and gray out. I am not able to deselect other line items.
    How I can reverse only 1 item in MIRO then.

    Hi kiran,
                 In MIRO screen there is no reversal option for one line item and better to delete that line item by pressing delete(Blue coloured arrows) perticular line item before doing this Select the line item first. Before that you have to think about the GR parked how much pls check the difference will comes so other way to repark In MIR7 and GR enough.
    Regards
    Sridhar

  • Deleted PO line item not coming to Sourcing

    Hi,
    We created PO from sourcing, later we realized that vendor need to be chaged. so we deleted PO line item, but this deleted line item is not displaying in sourcing cockpit. when could be the reason
    Thanks
    Ravi

    Ravi,
    Please check the following notes
    Note 1059979 - BBP_GET_STATUS_2: deleted PO did not send the shp to SOCO
    Note 1012124 - SHP not reappear in SOCO after backend PO delete
    Note 1055238 - Item is not sent to SOCO after backend PO deletion
    From the bid Invitation
    Note 1134786 - Requirement sent back to SOCO when a PO is deleted
    Thanks,
    Surya

  • Profit Center is not getting captured in Vendor line item from MIRO.

    Dear Friends,
    Profit Center is not getting captured in Vendor Line Items from MIRO Transaction for some New Business Users, where as for Old Users profit center is getting generated at Vendor Line Item.
    We have provided the same authorization of old Users to new business users. (i.e. New user is a copy of old user)
    Please help us how we can the get Profit Center in all transactions will be processed by New Business users.
    I think we need to maintain user based authorization to get the Profit center in vendor Line items processed from T.Code:MIRO in SAP.
    Looking forward for your kind cooperation in this matter
    Thanks & Regards,
    Naveen Kumar.

    Hello Naveen,
    I am not very sure about your query, as you might be knowing that the Profit Center is only updated in New GL tables (FAGLFLEXA, FAGLFLEXT) and hence the Vendor relavant tables would not.
    The profit center information in the split lines or the line of the 'General Ledger View' are only displayed within transaction FAGLL03 which read the 'new' table for the NewG/L.
    About profit center wise reporting, when New GL is active Please review attached consulting SAP note:
    - 826357     Profit Center Accounting and new general ledger in
    I hope this helps. If not, please provide an example of your requirement.
    Thanks and regards,
    Suresh Jayanthi.

  • Profit Center Not coming in Vendor Line Item in MIRO

    Hi Experts,
    We are facing one problem when we are posting miro in one plant profit center is coming in vendor line item in miro. But when we are posting miro with the same material code but with different plant same company code. But in miro vendor line item profit center is not coming.
    What mistakes we have done in spro.
    Kindly help me out.
    Regards
    GR

    Hi
    Normally vendor line item will not carry profit center, hence I think this is populated through some enhancements.
    Hence you may need to analyze with the help of an Abaper.
    Regards

  • GR POsting date as Base line date in MIRO.

    Hi SAP Expert,
    Using StandardConfiguration, Base line date in MIRO can be populated as Posting date/Invoice document date/ new entry of Invoice Reciept using configuration of Terms of Payment.
    My client requirement is to populate GR posting date as a base line date in MIRO.
    can you please let me know how/where/what configuration to be done to achieve the client requirement.
    please also let me know the Table & Field used If any ABAP coding Involve.
    With Regards
    Manoj Singh

    hi,
    baseline date in MIRO triggered by payment terms in FI .
    take help of the FI consultant create payment term based on GR document date.
    regards,
    sujit

  • System should not allow to delete PO line Item after GR/IR

    Hi,
    I am working on a SAP Retail Implementation project.
    Currently the system is allowing us to delete the PO line items after doing GR or IR against that PO line item. But the clients requirement is that the system should not allow to delete PO line item after doing GR/IR.
    We are using Account Assignment Category-N, Item Category-S.
    Please let me know if you have the solution for this requirement.
    Thanks in advance
    Thanks & Regards,
    Suresh

    Hi,
    Standard SAP will not allowed the PO to be deleted once it was GR done. The controlled is on the attributes of message to set as "E"
    Message no. 06115
    But if invoiced takes place, the is the point that PO can be deleted.
    You have to do have a Enhancement using MM06E005, insert you logic here to check PO history tables like EKBE, then check if invoice " Q" (BEWTP) exist, the PO cannot be deleted once the user delete the PO line and SAVE it. Ask you developer to help you on the following coding.
    Use MM06E005 and EXIT_SAPMM06E_012
    IF SY-TCODE = 'ME22N'.
    IF sy-ucomm = 'MESAVE' OR SY-UCOMM = 'YES'..
    LOOP AT TEKPO.
    IF TEKPO-LOEKZ = 'L'.
    SELECT SINGLE BELNR FROM EKBE INTO BELNR1 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'E'.
    IF SY-SUBRC = 0.
    SELECT SINGLE BELNR FROM EKBE INTO BELNR2 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'Q'.
    IF SY-SUBRC = 0.
    Regards,

  • How to delete backorder lines?

    hi experts,
    i cancelled one sales order, this salesorder has 3 lines and i cancelled line by line and it came up at the end "order status = close" "lines status =cancelled"  but one line stays in backorder that should not be stay there coz it has been cancelled. how delete that line in the backorder. i try to pick realease it and there nothing happen. just warning message that i cannot.

    Do you have access to Oracle Support?  If you enter a Service Request, they will provide the correct code to make sure everything is updated correctly - the delivery and everything else that is dependent on that.  Updating on your own can be risky cause you may miss something that needed to be corrected.

  • I want to delete one line of text and add new text.  Is that possible?

    I have exported the document and can add information but cannot delete a line of information to put correct information in.  Is it possible and, if so, how can you do it?

    Hi madelyn,
    I'm happy to help, but need al little more information from you. What did you convert from/to? Did you start with a PDF and convert to Word, for example? Or convert a file to PDF? Your answer to that question will help me provide you with the information that you need.
    Best,
    Sara

  • How to delete the line for 300SAP* in table USR02 in SQL Management studio

    Hello
    I used to delete the line for 300SAP* in table USR02 in SQL Enterprise Manager. After I could log on with “pass”.
    I wander how to delete it in SQL Management studio. When I expand tdatabase it takes so long time and it is uncontrollable

    Hello,
    you have to delete the row by a sql statement.
    Open a new query and run a script like this:
    use <Your SID DB>                 -- e.g. use PRD
    setuser 'your sid in lowercase'  --- e.g. setuser 'prd'
    delete from USR02 where MANDT = '300' and BNAME = 'sap*'
    go
    Run a complete backup before deleting data manually.
    Regards
      Clas

  • How to delete a line in SAP Script

    Hi,
         How to delete a line in SAP Script.
    Cheers
    S Kumar

    Okay.if still you are looking the option of deleting line there is one solution.
    Just delete the all contents of perticuler(which needs to deleted) line including the tag column(Where you are /*) and save.if you see again than line would not be seen as blank,you will found it has been deleted.

  • Need a exit while deleting the line item in PO

    Hi to all experts ,
    My requirement is to find an exit or badi when the user deletes a line item and click on save the line item should be captured,. Is there any badi or exit which can do it .

    Hi,
    Try these user exits.
    M06B0004  Number range and document number
    M06B0005  Changes to comm. structure for overall release of req
    M06E0004  Changes to communication structure for release purch.
    M06E0005  Role determination for release of purchasing document
    ME590001  Grouping of requsitions for PO split in ME59
    MEETA001  Define schedule line type (backlog, immed. req., prev
    MEFLD004  Determine earliest delivery date f. check w. GR (only
    MELAB001  Gen. forecast delivery schedules: Transfer schedule i
    MEQUERY1  Enhancement to Document Overview ME21N/ME51N
    MEVME001  WE default quantity calc. and over/ underdelivery tol
    MM06E001  User exits for EDI inbound and outbound purchasing do
    MM06E003  Number range and document number
    MM06E004  Control import data screens in purchase order
    MM06E005  Customer fields in purchasing document
    MM06E007  Change document for requisitions upon conversion into
    MM06E008  Monitoring of contr. target value in case of release
    MM06E009  Relevant texts for "Texts exist" indicator
    MM06E010  Field selection for vendor address
    MMAL0001  ALE source list distribution: Outbound processing
    MMAL0002  ALE source list distribution: Inbound processing
    MMAL0003  ALE purcasing info record distribution: Outbound proc
    MMAL0004  ALE purchasing info record distribution: Inbound proc
    MMDA0001  Default delivery addresses
    MMFAB001  User exit for generation of release order
    MRFLB001
    Regards,
    Vijay

  • Error while deleting contract line item

    Hi All,
    In ME32K when I try to delete the line item of the contract it goes to runtime error. Pls help me why I get that error.
    It has 3 PO`s created in 2010.

    Error analysis
    A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP" raised the
    exception
    condition "FAILURE".
    Since the exception was not intercepted by a superior program
    in the hierarchy, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    How to correct the error
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "RAISE_EXCEPTION" C
    "CL_HANDLE_MANAGER_MM==========CP" or "CL_HANDLE_MANAGER_MM==========CM005"
    "GET"

Maybe you are looking for