Batch deletion flag - Purchase order

Dear all,
even if I set in batch master the deletion flag at a plant level (MCHA-LVORM) I can create a Purchase order. No message are displayed (warning or error).
Only when I post the good receipt, an error message occurs (M7 144).
How can I prevent to use a deleted batch in PO?
Thanks
Marco

Hi,
mark the deletion or restrict batch for flag in MSC2N, after that change the mesage type M7 144
in OPK9 also check your valuation area.
Regards
Raj.

Similar Messages

  • Cannot Set the Deletion Flag on Order

    All the SAP Gurus,
    I am facing a problem when setting deletion flag for the Maintenance Order after I have Closed the Maintenance Order. It gives me the following error that the Purchase Order still exists that is why Deletion flag cannot be set on the Order. Now what should I do? How to delete the Purchase Order?
    Regards,
    Usman

    hi
    Since PO is already converted it is not possible to put the deletion flag unless all the services or material has been purchased.
    In the maintenance order try to delete the service or material ,which in turn deletion icon will  be set in the PR .
    then try to put the deletion flag for closed order
    regars
    thyagarajan

  • Auto Deletion of Purchase Orders

    Hello
    Is anyone aware if there is a process available for auto delettion of purchase orders which have not been goods receipted within a given time frame
    Cheers
    Prakash

    Hi,
    As far as I know, there is no automatic report for deletion of purchase orders. Document deletion should be done manually, since it requires the user acknowledgment.
    Kind regards,
    Ricardo

  • Cannot set deletion flag for order

    Dear Experts,
    I am trying to set deletion flag for order XXXX,
    i am getting Error Massage " You cannot set deletion flag for order XXX (see log) Message no. CO432"
    my order status is REL  CNF  DLV  PRC  GMPS MACM OPGN SETC
    How can i set deletion flag for order.....
    Please give your suggestion.
    Thanks for support.......

    Dear,
    Order status is REL CNF DLV PRC GMPS MACM OPGN SETC
    And, I have checked log u201CThere are no entries in the deletion flag logu201D
    There no balance- I have not done any confirmation (Total Qty 1000 EA, Delivered Qty 0 EA)
    You have done confirmation and delivery has happened thats why the status shows "CNF & DLV" You need to complete your settlement.
    Check and revert back.
    Regards,
    Alok Tiwari

  • Can We determine the outer-batch no in Purchase order?

    There's a chemical company. It has a requirement. Managing batch is very important to chemical materials. When they create Purchase order, they hope that they can determine the special batch-no of materials which is from vendor for the purchasing material. Because different batches of material have different chemical character.
    How can we determin the outer-batch no when creating purchase order?

    you cannot determine external vendors batch numbers in your SAP system.
    Even you inspect samples of several baches from your vendor and maintain this as own batches in your system  you cannot determine the batch from the purchase order, there is no batch determination featere in a PO. And even there would be one, it would take your own batch number, and not the vendor batch number.
    If you use exteranl batch number assignment and your vendor batch number gets the same batch number in your system, then you can enter the batch in the batch number field manually (once it is created in your system), In any other case you have to mention the vendor batch in a text.

  • BAPI used to delete the Purchase Order

    Hi All,
    I need to create a report by which we need to delete the selected purchase order.
    Kindly suggest me the BAPI which I should use for the same.
    Thanks,
    Sandy.

    Hi,
    Purchase orders cannot be deleted, but you can flag individual line items for deletion. BAPI_PO_CHANGE should do what you want.
    MJ

  • Deletion Flag Process Order

    Hi Experts,
    Is there any transaction for Activating Deletion Flag for a pool of Process Orders collectively? Many thanks!
    Kumar

    Another alternative is to run the transaction COA5 (Archive Administration Preprocessing).
    This will allow you to set the deletion flag en-masse.
    The selection of the pool of orders is made in the selection variant.
    Requirements are that the process orders are settled, associated PI sheets, inspection lots and any linked purchase orders are complete.
    It has a good log on what process orders could not have the deletion flag set and why.
    Chris

  • How can batch field in Purchase Order(PO) be a fixed value????

    Hi Experts,
    In SAP, when create a purchase order, there is a field "Batch" for every item,
    which means "Assigns a material that is manufactured in batches or production lots to a specific
    batch ".
    For some special reasons, we want for some certain materials,when create purchase orders every
    time,the "Batch" field will be a fixed values.
    For example,for material "AB1" ,"CD2",when create purchase orders every time,the "Batch" field will
    be "2345" automatically,do not need input manually.But for all the other materials, the "Batch" field would be null ,no value.
    How can I do this? How can assign fixed batch number values to some certain materials in Purchase
    Order?
    If there needs some ABAP development,which user exit do I need??
    Thanks for any reply!

    Hi there,
    You may need to establish, whether you wish to use batch managent or split valuation.
    Spilt valuation does allow you to default values into purchasing documents via information records, but I guess it depends on what else you want to do with this tracking
    Split valuation can be controlled independently at the material and plant level
    Regards
    Steve

  • Deletion of purchase order condition type

    hi gurus.
    the situation is that-
    the user has created a purchase order with some condition type ( freigts).and then he done the migo automatically material document generated with (gr document &
    delivary cost document as po history).now the user realise that there should not be any freight so he canceal the material document.now when he want to delete the condition type the system did not allow him to do so.is this sap standard error or it's happening due to customisation.i am in ecc5.0 and ecc6.0
    please help me out.
    regards,atanu

    Hi,
    Unfortunately this type of issue don't get resolved even if after you cancel the material document . Experts can comment on this .
    Either you create a fresh PO or make changes in MIRO level.
    Thanks
    Dipak

  • Deletion of Purchase Order from Version

    Hi,
    I want to delete a resource at a factory. I have deleted all planning data related to this resource from live version 000 and Copied version.
    When I try to delele resource from the model it gives a message " Res. F313_HAND_RESO, plng ver. ALT_TEST21 has assignments in liveCache - action not possible", which indicates that the resource is still being used in a Purchase Order (PchOrd) which exists in a copied version.
    If I use /sapapo/rlcdel to delete these PchOrd from version, message is displayed "No orders exist in LiveCache". I even tried to delete these PchOrd using transaction "/SAPAPO/SDORDER_DEL" (ATP: (SD) - Delete Orders from the Database), but even this program is unable to delete this PchOrd.
    Can one of you throw light as to how i can go about deleting this PchOrd from version?
    Thanks for your help in advance
    Regards
    Amod

    Try report /SAPAPO/DELETE_PP_ORDER giving the appropriate version and select checkbox Products Planned Externally.
    Please note if PO is in active version then this report can not delete it.
    In that case you need to deactivate the appripriate Integration Model, run delta Report which should propose delete of the PO in APO.
    Hope this helps,
    somnath

  • How to delete a purchase order from the database

    I thought that I was in development machine but I was wrong., I have created a purchase order that I would like to delete from the database.
    Thanks in advance.

    >
    Amarnath Reddy Gurappa wrote:
    > Hi ,
    >
    > I would suggest you to put the deletion mark and save the PO .
    >
    > IF you really want to delete the po in the database  then go to the table ekko and
    > ekpo and delete them ,but for this you should have access to se16n and
    > &sap_edit
    PLEASE, do not recommend such, because it is a wrong approach.
    a purchase order has certainly more entries than jsut in table EKKO, and EKPO.  you can check in DB15 how many tables belong to the object MM_EKKO. If you delete jsut entries from EKKO and EKPO, then you create inconsistencies.
    SE16N and &sap_edit, is not anymore possible having current patches installed. SAP revoked this option, because people like you spread this thru the internet and this is causing security issues.
    A phyiscal deletion should only be done via archiving, this is the standard process.
    If you entered something in error, then set the deletion indicator, everybody can do mistakes, but deleting it with irregular options from the database is certainly a much bigger error.

  • Deletion of Purchase order Via BAPI

    I want to delete a already created Purchase Order using a function module.
    Please guide.

    Hi
    Use BBP_PO_DELETE Function delete Purchase order.
    if you have more than one, then loop at table and call this function module to delete all PO's.
    or use BAPI_PO_DELETE_HISTORY
    Reward points if useful..
    Regards
    Nilesh

  • Unable to Delete PO (Purchase Order) due to changed Invoiced value. Helppp.

    If you create a service entry sheet, process the service entry
    approval,post an invoice for an amount greater than the Service entry
    then, cancel
    the entry sheet and add a new service specification (i.e. same entry
    sheet), the following problem occur:
    1. You can no longer cancel the invoice if the services of the entry
    sheet are deleted.
    2. After changing the entry sheet and renewed acceptance of services
    performed, a posting takes place where the value differs from the
    value of the entry sheet.
    Steps to Reproduce:
    1. Create a Service Purchase Order of $2,000.00
    2. Create a Service Entry against the Purchase Order for $2,000.00
    3. Approve Service Entry against the Purchase Order for $2,000.00
    a/c postings Dr Expense $2,000.00
                         Cr GR/IR $2,000.00
    4. Create an Invoice against the Service Purchase Order for $5,000.00
    a/c postings Dr Expense $3,000.00
                        Dr GR/IR $2,000.00
                        Cr Vendor $5,000.00
    5. Revoke the Service Entry
    a/c postings Dr GR/IR $5,000.00
                        Cr Expense $5,000.00
    I am expecting the Reversal of the Service Entry figure is $2,000.00, but instead, the Reversal of the Service Entry figure is $5,000.00. Why is that so? I need to be able to Reverse/Delete the PO.

    If you create a service entry sheet, process the service entry
    approval,post an invoice for an amount greater than the Service entry
    then, cancel
    the entry sheet and add a new service specification (i.e. same entry
    sheet), the following problem occur:
    1. You can no longer cancel the invoice if the services of the entry
    sheet are deleted.
    2. After changing the entry sheet and renewed acceptance of services
    performed, a posting takes place where the value differs from the
    value of the entry sheet.
    Steps to Reproduce:
    1. Create a Service Purchase Order of $2,675.00
    2. Create a Service Entry against the Purchase Order for $2,675.00
    3. Approve Service Entry against the Purchase Order for $2,675.00
    a/c postings Dr Expense $2,675.00
                         Cr GR/IR $2,675.00
    4. Create an Invoice against the Service Purchase Order for $6,452.50
    a/c postings Dr Expense $3,777.50
                        Dr GR/IR $2,675.00
                        Cr Vendor $6,452.50
    5. Create Credit Memo $1,537.00
    6. Revoke the Service Entry against the Purchase Order for $2,675.00
    I am expecting the Reversal of the Service Entry figure is $2,675.00, but instead, the Reversal of the Service Entry figure is $1,537.00. Why is that so? I need to be able to Reverse/Delete the PO. Please help...
    Thank you.

  • Item Deletion in Purchase order(IDOC)

    Hi all,
    I need to generate idoc for deleting the line item in purchase order,im able to create and change,if i go for deletion,the change indicator in CDHDR table is showing U(change) only not D(delete).
    valuable inputs will be rewarded....

    Deletion functionality never work for WGSREQ since it has several design errors in source code of FM VWWS_STORD_DISPATCHER and VWWS_STORD_DELETE_DOCUMENT. I hope that SAP will do correction soon.

  • PO item was deleted from purchase order but it is visible in MD04

    Hi all,
    I have deleted the PO item form the purchase order but after saving also , it is visible in the MD04, i just want to remove form the MD04 as sub req .
    What could be the reason?
    Thanks in advance
    Regards
    Prasad

    Dear,
    Please check: http://sapfans.com/forums/viewtopic.php?f=9&t=312950&start=0&st=0&sk=t&sd=a
    Subreq in MD04
    How to Delete SubReq , DepReq , OrdRes in MD04
    AND MOST IMPORTANTLY SEARCH FOR RELATED OSS NOTES ALSO...
    Regards,
    Syed Hussain.

Maybe you are looking for