How to set deletion flag in Production order item level

Hi Friends,
I have a requirement like...
Suppose production order conatians 100 items. now i want to set deletion flag for 20 items only.
In Co02 t.code deletion check box is disable mode.
There are nearly 100 production orders .i have to write the program....
Is there any BAPI or other way to meet this requirement.
Can you please help me..

Also, You might want to have a look at the BAPIs like BAPI_PRODORD_SET_DELETION_FLAG which are used to set the deletion indicator but it appears to me the deletion flag can only be set at the header level using these BAPIs.
Please have a look at SAP business object BUS2005 methods from transaction SW01 for more Production Order related BAPIs.
One more thing ... since you mentioned that in CO02 the deletion indicator is greyed out, then it might mean you are missing the authorizations to set the deletion flag. Please consult with your Authorization (BASIS) administrator. As a hint, the authorization object here is C_AFKO_AWK.
Cheers,
Aditya

Similar Messages

  • Set Deletion flag to production order

    Dear Gurus,
    I have a set of production orders, which has been partially confirmed. I confirmed them fully from CO11. These orders are for our sample materials so that the cost is zero. but when i try to set the deletion flag it gives an error as
    Unprocessed future change recs for order 1004050SP prevent del. flag/completion
    Message no. CO688
    Please kindly guide to set the deletion flag for these orders or close.
    Br,
    PubuduS

    Hi,
    Please check the below thresd for similar error.
    Process Order Deletation Flag
    Regards,
    Chandra

  • Mass revoke deletion flag for Production order

    Hi all,
    As we know, we can use program PPARCHP1 to mass set deletion flag for production order.
    now, i would like to revoke deletion flag, i had been use tcode: co02  Functions -> Deletion Flag -> Revoke to do it.
    but, i have lots of production order, is there any standard program could mass revoke deletion flag?

    Dear there is no standard functionality or transaction is available to revoke the deletion flag the only option is you have to do it manually one by one order through the option which you already mentioned.
    Cheers
    KK

  • Set Mass Deletion Flag for production orders

    Hi,
    I am planning to set mass deletion flag for production orders using programme PPARCHP1.
    My users dont have access to SE38/SA38 and they cant run this program from directly.
    I dont wnat my users to do this preprocessig using SARA or CO78 as it will give access to them for whole archiving process + it only works in background.
    I am thinking to create a Z tocde for this program and use it in dialogue mode also. Do you guys see any aftereffects with this process?
    Let me know if creating a Z tocde sounds a good idea?
    Edited by: santosh sarda on Mar 10, 2011 3:23 AM
    Edited by: santosh sarda on Mar 10, 2011 3:28 AM

    The standard SAP procedure to set the archive is that
    - you run COAC in background to set deletion flag and deletion indicator.   It should be set as the variant and run periodically (i.e., monthly). 
    - The system get all orders with DLV status in the past xx days depending on your variant to set deletion flag. 
    - Also it will change the status DLFL to DLT based on your residence time 1. 
    - The orders with DLT that reside in system longer than residence time 2 then archive.
    This should be done by IT department or background jobs.  Not the users.
    Which, in my opinion, is enough.  However, if you do need the user to select by themselves which orders they want to set deletion flag (why is that?).  Then you may want to explore enhancement. 
    For the sake of simplicity, I will recommend to use user status (normal cohv can change that, as we know; therefore no new fancy screen needed).  Then develop the user exit to set deletion indicator in PPCO0002 - EXIT_SAPLCORE_001 based on user status.  The rest of the procedure should remain the same.
    If you want to allow user to do every steps and develop some Z* screen for users, they must have the authorization for archiving anyway.  They just don't have the t-code COAC, and SARA.  In my opionion, it is overkill.  Plus in terms of users, I don't think they have skills enough if there is some errors during archiving (i.e., logical file error, etc.).
    Hope it helps.

  • Set deletion flag on process order.

    Hi Friends,
    My requirement is i want to set deletion flag on process order.
    For this system gives error as
    1. System status CRCR is active (ORD 93000112)
    2. System status ORRQ is active (ORD 93000112)
    Here i have solve the problem number one through transaction code BS22 (i.e. under System status I0241 -CRCR , previously LKZS - Set deletion indicator & LVMS -Mark for deletion was maintain as Forbidd now i have made it under No influence )
    after saving this customization system give only error two ( System status ORRQ is active (ORD 93000112)
    Same way when i try to find ORRQ but here i havenu2019t found  ORRQ.
    Could you plz help me.
    Best Regards,
    Parag Save.

    Dear,
    The system sets this status when you release the order, provided that the Order record required indicator is set in the order type-dependent parameters (see Customizing for Process Order)....
    This setting is there in SPRO....
    Production Planning for Process Industries - Process Order-Master Data-Order-Define Order type Dependent parameters...
    In this you set the option Order record Required....
    Requirements are that the process orders are settled, associated PI sheets, inspection lots and any linked purchase orders are complete.
    Following are prerequisites for closing a process order
    1 The order must have the status Released (REL) or Technically completed (TECO)
    2 The order balance must be 0
    3 There can be no open purchase requisitions, purchase orders.
    4 There can be no future change records from confirmation processes.
    .Now Calculate Overheads using Tcode : KGI2 - Individual Processing
    CO43 - Collective Processing
    Step to be follow,
    1.Calculate WIP using Tcode : KKAX - Individual Processing
    KKAO - Collective Processing
    2.Calculate Variance by using Tcode : KKS2 - Individual Processing
    KKS1 - Collective Processing
    3.Finally do the settlement of Order in Tcode : KO88 - Individual Processing
    CO88 - Collective Processing
    Please refer this thread also,
    https://forums.sdn.sap.com/click.jspa?searchID=17422319&messageID=5934846
    The transaction COA5 (Archive Administration Preprocessing).
    This will allow you to set the deletion flag
    Hope this helps.
    Regards,
    R.Brahmankar

  • Deletion flag on production orders.

    Hello PP Gurus,
    Is there any mass transaction to uncheck the deletion flag on production orders.
    I know the deletion flag can be set thru CO78.
    But, is there any way to uncheck deletion flag for bunch of production orders thru mass??
    Thanks in advance !!
    Sashivardhan

    Hi,
    You can do it by the following options
    1) LSMW - take one order do recording of reversal of deletion flag and then run with your complete order list.
    2) BDC - with help of your ABAP team create a BDC and the run the complete list of order to apply reversal deletion flag.
    There is a program "RIARCORVS" for  activating the Deletion flag collectively but right now  as i do not have the authorization for SE38 i un able to check whether this program supports uncheck the deletion flag collectively.
    Please check this program if it is not supporting then you have to go for a BDC or LSMW
    Pavan

  • HOW TO SET DELETION FLAG TO SERVICE ENTRY SHEET ?

    Dear Experts,
    Can anybody explain how to set deletion flag to Service entry sheet created ?
    Service Entry sheet has been accepted and saved, i want to set deletion flag to the Service Entry sheet.
    Thanks in Advance

    Hi,
    Go to ML85 and give your service entry sheet no in Entry sheet data and select "cancel release" check box and give the corresponding release code and execute and save. The release gets cancelled.
    The other way is go to ML81N and give your Po and service entry sheet and click on the icon "cancel release" (reverse arrow mark) give the corresponding release code for cancellation and save. Now the service entry sheet will go to "No acceptance" mode. again go to the change mode and select the line item and delete it by clicking on delete icon.
    regards,
    Kannaiah Naidu

  • Prerequisites required to set Deletion Flag for an Order

    Hi Experts,
    I need to know what are all the Prerequisites required to set Deletion flag for an Order.
    i.e. can i set deletion flag for any existing order?
    Kavin

    Hi Kevin,
    System will allow you to set deletion flag if,
    - No Goods Movement is carried out.
    - No Confirmation has has been carried out.
    - Conclusion of point 1 and 2 is order should not carry any cost.
    - If In process Inspection is active then Result Recording should be not started.
    - In case of Process Order CRCR (Control Recipe Created) status is not allowed.
    Regards,
    Dhaval

  • Can't delete or set delete flag on PP order

    I want to delete a PP order and it tells me that I cannot select selected assembly order xxxxxx for deletion. The status of the order is REL  MSPT PRT  PRC  RESA SETC.   The production order has no goods movements associated with it , yet I can not delete the line or set the deletion flag.

    John,
    I see RESA status meaning that previously WIP run has happenned and system would have posted WIP. I would suggest you to first set TECO status to the order, and then Run KKAX transaction then you need to run KO88 to settle the costs to sales order. Once this is done settle the sales order after making TECO status to the sale order item and then you can Reject the sale order Item. This would allow you to perform the Deletion Flag to the order(I think system will automatically set "DLFL" status to the order).
    Regards,
    Prasobh

  • SETTING DELETION FLAG FOR PRODUCT COST COLECTOR:

    Hi Gurus, could you please help me with this question:
    We need to turn off the repetitive mfg
    indicator active for a group of materials. this in order to replace product collectors to production
    orders.
    When I tryed to set the deletion flag for product cost colectors, SAP
    Shows this message :
    "THERE ARE STILL UNSETTLED VARIANCES FOR ORD 710040".
    Cheking Note "421710 - Check report whether "Deletion flag" status can
    be set" I found the program COPC_COSTOBJ_REORGCHECK , this program
    shows that I have Unsettled variances since 2004...
    The order have a settlement rule PER, So I can't settle 2004
    variances.. checking the note 421710, I Found that other way is to turn
    off the field indicator "variance to costing-base PA" in OK07.
    Must I turn off the field "variance to costing-base PA" temporaly, in order to close de cost colectors ?
    there are another program or report that I can use in order to settle the old variances?
    Message was edited by:
            Andres Moreno

    REWARDED POINTS AVAILABLE  !!!!!!

  • Unable to activate deletion flag for production order

    Hi Experts,
    I have created production order with reference to sales order. Now status of production order is REL PRC CSER GMPS MACM RESA SETC.
    I have already done goods issue & Goods receipt for this order and reversed the same all GI & GR.
    Now balance on order is also zero.
    My query is that I trying to activate deletion flag for this order but I found option of Activate is disable.
    Pls help.
    Regards,
    Rajesh

    Hello
    Probably, this is an assembly order. The deletion flag cannot be set manually for static assembly orders.
    A production order is recognized by the system as an assembly order because of the internal system I0170 on table JEST. Whenever this status is set for the order, the deletion flag can't be removed from the order on transaction CO02.
    See question 8 of the FAQ note 540834:
    8.  Question:
        When are the deletion flags for assembly orders set?
        Answer:
        You cannot manually set the deletion flag for static assembly
        orders. Instead, the system automatically sets the deletion flag
        when the corresponding sales order item:
        o  is completed (only for static assembly orders),
        o  is canceled,
        o  or is deleted.
        The deletion flag for assembly orders with dynamic assembly is set
        automatically if the corresponding sales order item:
        o  is canceled,
        o  or is deleted.
        You can set the deletion flag manually using the archiving PP_ORDER
        and, as of Note 1628094, using the transaction for changing the
        order.
    BR
    Caetano

  • What are the Pre-requisite to set Deletion Flag for Maintenance Order ?

    Hi Gurus,
                  Pls give me what are the pre- requisite to set the deletion flag.
                  I want to set deletion flag to some Maintenance Orders which are with notification, but deletion flag - SET,RESET Indiacaors are inactive.    
                  Following are my observations-
                  1) Order is not yet released.
                  2) No actual Cost is with the order.
                  3) No PR and POs are with the Order.
    Pls guide me.
    With best regards,
    narendra

    hi
    you can put the deletion flag only when the order has the status CLSD or the balance of the order must be Zero
    you can refer the following link
    http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e65a0462a11d189000000e8323d3a/content.htm
    regards
    thyagarajan

  • How to change material discription at sales order item level ?

    Dear Gurus,
            We have some requirement need to change material description at sales order item level , but in system it is in disable mode how to change that  into change mode in sales order item level?
    Thanks in advance
    Regards
    Venkat

    Not possible in SAP Standard.
    Instead why not create a Customer Material Info Record in T-Code - VD51?
    Alternatively it the requirement to change the Description is only for few Sales Order then create a Text ID & Enter the Description in Text Feild. Then in Smartform program wrie a code which will check for Material Description in the Text first & if not found then take from normal material Description in Sales Order.
    But Customer Material info Record seems to be the best solution.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • How to add three fields in Sales order item level and supress/hide many

    Hi Gurus,
    My client requirement is :
    1. Three fields to be added at Sales order Item level and they should flow till billing.
    2. Supress/hide most of the fields in Sales order, so that end user will be happy( thru SHDO how to do)
    Please share your experiences and help me.
    BEST REGARDS
    Srikanth

    Hi Subba Rao
    in VA01 screen - Material /qty/ after entering this client wants to enter three more details say X/Y/Z
    and after that he dont want to see maximum fields displayed in VA01 Screen.
    I think it makes sense.
    Regards
    Srikanth

  • Set deletion flag for service orders

    Hi
    How do I mass update service orders and notifications to set the deletion flag.
    I tried with IW72 but no luck Please help.
    Thanks
    Kumar

    Hi,
    You can use batch recording to assign DLFL status to work orders,
    This is the program code
                          0000     T     IW32                                                                               
    SAPLCOIH              0101     X                                                                               
    0000           BDC_CURSOR                                                                                CAUFVD-AUFNR
                          0000           BDC_OKCODE                                                                                /00
                          0000           CAUFVD-AUFNR                                                                                4000488
    SAPLCOIH              3000     X                                                                               
    0000           BDC_OKCODE                                                                                =LVMS
                          0000           BDC_CURSOR                                                                                CAUFVD-AUART
    SAPLCOIH              3000     X                                                                               
    0000           BDC_OKCODE                                                                                =BU

Maybe you are looking for

  • QuickTime movie in Keynote 3 want to export Keynote as QT

    So I have a Keynote presentation. It is mostly images but 3 slides play small Quicktime movies. Interviews I did on DV, converted to 320x240 using Sorenson V3 and IMA 4:1 audio. In Keynote 3.0, they now have controls. They play great. But I need to e

  • Automatic Flag in material master

    Hii experts, My requirement is :-Suppose I maintianed some slab like if for any material, no movement is done till last 1year, that material should automatically flagged at moderate moving. Just like that only for any material suppose no movement is

  • SQL Mirroring Requirement (Witness server) in LYNC 2013

    Hi Everyone, We are designing a Highly Available solution of for LYNC 2013 and planning to add a witness server to the backed SQL server. Following are my Queries. 1)For the witness server should the SQL server be dedicated to the LYNC infrastructure

  • Premiere Pro CS5 AND/OR After Effects ?

    Hi guys, I am quite new, I have only done one videoproject and that was in Premiere Pro CS4. Now I got a new machine and have both Premiere Pro CS5 and After Effects. I have started learning AE from some videos and it is quite impressing what you can

  • IE 9 and Flash Player problems

    I am using Windows 7 64 bit OS.  Upgrading to IE 9 has resulted in inability to play videos.  Get message that need updated FP, but have the FP 10.2.152.32 installed on computer.  I have uninstalled/reinstalled FP following instructions in kb2.adobe.