Deletion of Production order

Hi GURUS,
I need to know is there any transaction code to delete the production orders.
Also before I delete production order I need to carry out the below steps,
Correct the goods movement for the below orders
Clear all financial postings for below orders
Ans then to Delete production orders
Please provide me the step by step explanation for deleting the production orders.
Awaiting for your reply.
Cheers,
Kumar.S

Hi,
As mentioned earlier, to set deletion flag on the order, the balance should be zero.
The balance will be zero, when you reverse out all GI & confirmations if any, or when you settle the order.
So in this case, go thru' each order & check what has been the GI & what is confirmed, now reverse out the same if it is in the current period, if it is in previous period, then discuss with your FI person.
To clear recrods from COGI, the user needs authorization for COGI & also for the business transactions which are triggered from COGI, so once you get a error message saying not authorized, ask your basis person to address these issues.
I doubt there is a simple process for setting deletion flags, simply because you need to understand what has been done & only then suitable actions can be taken. So if you look at it from only system standpoint it would only be a few transactions, but the analysis has to be done from business side, which i guess you've done.
If you're not sure on the above, first do it in QA, get a sign from business on the same & then do it in PRD system.
Regards,
Vivek

Similar Messages

  • Deletion of production order in ECC / APO

    Hi,
    It is not possible to set DLFL (Deletion flag) when the order is in
    CRTD status also when the order is DLV or TECO with no actual cost or open order value .
    It is happening in both the scenarios when
    1. Plan order is created in APO and then converted to prod order
    2. Plan order and prod order both are created in ECC , but both are transferred to APO
    What shall be the process for deleting the prod order in ECC.
    With regards,
    Mrinal

    Hi Mrinal,
    1) You can delete the production order in created status in APO using transaction /n/sapapo/rlcdel, select the required categories for deletion.
    Once the order gets deleted in APO, it will get deleted automatically from ECC also.  If not the transaction /sapapo/ccr to be used which will remove it upon iteration.
    2) Alternatively, if you carry out techo in ECC for a production order which is released, once after delting in ECC, queues needs to be cleared and then subsequently /sapapo/ccr to be run for production orders, so that it will get cleared from APO also upon iteration.
    Please try these and let me know whether your query is resolved.
    Regards
    R. Senthil Mareeswaran.

  • How to delete  Open Production Orders

    Hi,
    I would like to Delete Open Production Orders.plz tell me How to delete  Open Production Orders

    Hi
    for deleting POs you have to delete the line items. First select the line items and then choose the icon 'delete' in the item overview screen of PO.
    For open PO s also you have to do the same Or else change the PO quantity to the desired qty for what GRN has been made.
    Regards
    Siva

  • Deletion Of Production Order Collectively.

    Hi Guys,
    I want to delete my Production Orders Collectively,i know it can be done in CO78,Can any one plese tell me what are the steps to be carried out in CO78.
    I have 1 FERT material (Productoin Order)
    and 11 HALB material (Production Order)...all the production order to be delete collectively.
    Awaiting a positive reply from this thread.
    Regards,
    Kumar.S

    Dear,
    Please follow these steps
    1. Use program PPARCHP1 to activate deletion flag and deletion indicator.
    2. Use program PPARCHA1 to archive the production order.(Basis settings should be completed for storage of data before running this program).
    3. Use program PPARCHD1 to delete the order from the database.
    You can run this program from SE38 or using background scheduling using SM36.
    Note :- Archive the production order thru tcode CO78.
    Variant for PPARCHD1 remove the Test Mode. System will automatically select the Archive File based on the File Path. Also see SAP notes 540834
    Regards,
    R.Brahmankar

  • Deletion of production orders

    Hi All,
               How to delete the production orders in a day from the system

    We use CO78 in a monthly program to set the Status to DLFL.
    The next step is to set the Deletion indcator and then Archive, which will remove the order from the system.
    What exactly do you want to accomplish when you "delete the production orders in a day from the system?"
    Regards

  • Can not delete a Production Order is the Sales order item is rejected?

    Hello everyone,
    I can not delete the production order as the Sales order line item is rejected.
    Does anybody know if any configuration change is required or any work around?
    Thank you,
    BG

    Hi,
    Could you pl. explain how the production order is created?
    Also did you try by choosing Function in the menu (CO02 transaction) & try to set deletion flag or Technically complete?
    If so did you get any error message ?
    Regards,
    Senthilkumar

  • How to delete the production order in mass?

    Dear Experts
                 Please tell me how to delete the  old production orders?

    Raja,
    CO78 is a one stop transaction for production order setting deletion flag, deletion indicator, archiving and finally deleting.
    Generally we schedule the following programs in background in the sequence below,
    1. PPARCHP1 for Setting Deletion Flag
    2. PPARCHP1 for Setting Deletion Indicator (Once set cannot be revoked- so care should be taken in selection of orders)
    3. PPARCHA1 for archiving the production order with Deletion Indicator active. Basis should set the database/storage space for archiving/storing the records.
    4. PPARCHD1 for Deleting the records from SAP database.
    Regards,
    Prasobh

  • How can we delete the production order against sales order

    Dear All
    i

    Dear Gopi,
       In CO02, go to functions tab and select deletion flag active and save the PO. Once you activate the deletion flag GI, release and  operation confirmation will be deactivated.
    See below link to get more understanding.
    Delete Production Order from CO02
    Regards / US

  • Avoid Deletion of Production order Components.

    Dear All,
    Is there any arrangement to nbot to authorize the person to delete the component present in the Production Order.
    If not than can we get the consolidated report for the details whodeleted the Material.
    Regards,
    Mandar.

    Dear ,
    You may not be required that report if you have authorisation control through Screen Varint at user level and apply the following User Exit of SAP Standard Enhancement available for SAP PP Production Order .Find belwo those Enhancement and discuss with your ABAPer for the same .In transaction CMOD, create a project and include the project of the user exit, which you can look up in transaction SMOD.Then you implement the code in the include, and activate the project.
    1.C_STUE_BER CS BOM Authorizations or you can make use of the exception NOT_ALLOWED_WITH_ERROR in this exit
    2.PPCO0008 Enhancement in the adding and changing of components
    3.PPCO0015 Additional check for document links from BOMs
    Check father the below link which are useful I think :
    Problem in User Exit
    Request: BADI for CO02
    Re: CO02 enhancement
    Help needed: user exit for CO02
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=189893877
    Hope this will be useful to you
    Regards
    JH

  • Report to delet production orders

    Hi guys,
    help needed!
    Does anybody of you know a report to delete production orders completely?
    Such on as the RMMMDE00, which deletes all material of the current client.
    Hoping for an answer,
    Barbara

    Hi,
      I guess the below link will help you to some extent....
    http://www.sap-img.com/production/how-to-delete-old-production-orders.htm

  • Production order gets automat. deletion flag if a change in sales order hap

    Dear friends,
    I have the problem that there is a change in the sales order ( for example the customer) and then the already existing production order receives a deletion flag wich cannot be done undo.
    For example, we receive a request for a sales and we create a sales order. Afterwards, we will create the sales order with the customer who gave us the request. Then we can directly start with the Engineering, purchasing and so on. After a period of time, it happens that the "real" customer is know. So, each sales order line item will be deliverd to another customer. This can be relevant for the export control if the customers are located in different countries.
    At the time of adding or chanign the new customer and saving the already existing production order will receive the deletion flag.
    For me this situation is strange as I would not expect that the production order would receive a deletion flag only because a change in the sales order occurs.
    Can please anyone help!?
    Thank you very much,
    Bjoern

    Dear Friends,
    thank you very much.
    I found the problem and this is actually a funtionality comming from the export control checks. I forwarded this to our export control specialist as I dont see this as a production theme.
    The problem was, that the customer was changed and it was a different country. In this case the export control was activated and the online check was not sucsessfull. In this case a production is not allowed anymore and the system directly deletes the production order independing in which status the order is.
    Interesting function.
    Thank you all!

  • Production order gets automat. deletion flag if a change in sales order ha

    Dear friends,
    I have the problem that there is a change in the sales order ( for example the customer) and then the already existing production order receives a deletion flag wich cannot be done undo.
    For example, we receive a request for a sales and we create a sales order. Afterwards, we will create the sales order with the customer who gave us the request. Then we can directly start with the Engineering, purchasing and so on. After a period of time, it happens that the "real" customer is know. So, each sales order line item will be deliverd to another customer. This can be relevant for the export control if the customers are located in different countries.
    At the time of adding or chanign the new customer and saving the already existing production order will receive the deletion flag.
    For me this situation is strange as I would not expect that the production order would receive a deletion flag only because a change in the sales order occurs.
    Can please anyone help!?
    Thank you very much,
    Bjoern

    Dear Friends,
    thank you very much.
    I found the problem and this is actually a funtionality comming from the export control checks. I forwarded this to our export control specialist as I dont see this as a production theme.
    The problem was, that the customer was changed and it was a different country. In this case the export control was activated and the online check was not sucsessfull. In this case a production is not allowed anymore and the system directly deletes the production order independing in which status the order is.
    Interesting function.
    Thank you all!

  • Deleting Production Order

    Is it possible to delete a production order in such way that we won't be able to find in AFPO table?

    Only possible with archiving (SARA for object PP_ORDER)

  • Production Order reservation deletion.

    Can I delete the production order resevration directly in the other than active version in apo ?

    Hi,
    You cannot delete the production order reservation using standard deletion transactions but a BAPI can be used for deleting the prod order reservation. Existing functionality enables deletion of planned orders.
    Regards
    Vinod

  • Deletion of Serial numbers/ Parallel sequences from production order

    HI ,
    I am trying to delete the Serial numbers from the production order programatically using the FM SERNR_DEL_FROM_PP. I dont get any error , but the serial number is not getting deleted from production order. If anyone have used this FM for deletion Please let me know what extra has to be done.
    Similarly i have a requirement or deletion of parallel sequence from the production order. Any FM to do the same?
    Code screenshot below
    CALL FUNCTION 'SERNR_DEL_FROM_PP'
           EXPORTING
                material              = i_matnr
                j_vorgang             = 'PMP2'
                ppaufnr               = i_paufnr
                ppposnr               = i_itemno
           IMPORTING
                anzsn                 = l_num_serno
                ZEILEN_ID             =
               SERIAL_COMMIT         =
           TABLES
                sernos                = gt_sernos
           EXCEPTIONS
                serialnumber_errors   = 1
                serialnumber_warnings = 2
                OTHERS                = 3.
      DATA ls_afpod_po TYPE afpod.
      MOVE-CORRESPONDING gs_afpod_po TO ls_afpod_po.
    *.....Update Number of serial numbers in parent order
      ls_afpod_po-anzsn = l_num_serno.
      update afpo
      set anzsn = l_num_serno
      where aufnr = i_paufnr and
            posnr = i_itemno.
      commit work AND WAIT.

    Hello,
    the function module SERNR_DEL_FROM_PP calls the function module SERNR_DEL_FROM_DOCUMENT within. There, the changes are only written into the memory.
    See also the code below:
    CALL FUNCTION 'STATUS_BUFFER_EXPORT_TO_MEMORY'             "P99K058111
            EXPORTING                                             "P99K058111
                 I_MEMORY_ID = MEMID_STATUS.                      "P99K058111
    The variable memid_status has the value 'SN_STATS'.
    So if you want to update the data, you have to call the following function module:
    CALL FUNCTION 'SERIAL_LISTE_POST_PP'
      EXPORTING
        MEMORY_ID_STATUS       = 'SN_STATS'
    Regards Simon

Maybe you are looking for