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
Similar Messages
-
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 AMThe 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. -
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,
RajeshHello
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 -
How to mass set deletion flag for the production order
Hi Expert,
do you know which transcation code or program is used to mass set the deletion flag for production order?
thank you in advance!Hi,
http://www.sap-img.com/production/how-to-delete-old-production-orders.htm
Note that CO78 is the start of the Archive process. We are not using Archiving yet but the initial process fits the bill for what we need to do as mentioned in the original note.
Decide the range of orders you want to delete. This range will be used in the program variant. Note that we will be running CO78 many times because of the number of orders involved.
Running CO78 calls program PPARCHP1 and this involves the use of a Variant where the parameters for selection etc. are set.
First of all, create the variant via SE38 for PPARCHP1.
Enter details for number range, order type, plant and set deletion flag. Flag Detailed log and set this to go to Spool when running. Save the variant. You can also force the job to run in background at this point (which I would recommend) via menu line Variant --> Attributes. Also here you can flag order number, order type and plant to be required fields.
Run CO78
Press the first button - deletion flag/deletion indicator.
Choose the variant you have just created. Press "Maintain" to update the selection range on subsequent runs. Save changes and return to initial screen.
Press Start date to set date and time for job to run as per any background job. Icon will turn Green.
Press Spool Params to set save output in Spool Q rather than print immediately. Icon will also turn Green.
Press Execute and job can be tracked via SM37.
Details of deleted orders and errors will appear in the Spool.
Rerun as many times as you need with relevant order ranges till all required orders are deleted.
Hope this will resolve your issue.
Regards,
Naveen. -
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 !!
SashivardhanHi,
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 -
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,
PubuduSHi,
Please check the below thresd for similar error.
Process Order Deletation Flag
Regards,
Chandra -
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 MorenoREWARDED POINTS AVAILABLE !!!!!!
-
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?
KavinHi 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 -
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 -
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
KumarHi,
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 -
Deletion-flag for product in GTS?
Hi,
I have a question regarding the deletion-flag of a material/product.
1. I set the deletion flag of a material in ECC (mm06).
2. The changes of the material are transferred to GTS with the use of a batch job.
Question: Is there any way, in GTS, to see if a material has been marked for deletion? (without looking in /sapsll/pntpr)
Regards,
MarcusHi Marcus
Once you set the deletion flag in R/3 you can see the valid end date will become the current Date in GTS System , which you can view in Environment --> Change Documents.
But I still wonder why the deletion flag is not active in GTS . -
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,
narendrahi
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 -
Set Deletion Flag for Process Order is not possible due to status ORRQ
Hi Guys,
I need to mark some process orders for deletion, but the status ORRQ (order record required) is blocking me. I've read some SAP Documentations and SAP Notes and it's recommending run tcode COPA to store the order records. A
Although the Process Order is appearing there to be stored, we I execute store process it gives me a message that "Zero Orders were stored".
So, can you help me on this?
Thanks.
Pérsio KojimaHi Pérsio,
Check In Customizing whether the order type has been set up for storing in T code COR4 (order type-dependent parameters, Master data tab page, Order record required indicator).
IF the option is selected, the system will not delete the record directly. The order record must be archieved and then deleted.
based on this either you can de activate the option or archive before deletion.
Hope this answers your question.
regards,
Pradeep. -
How to delete or activate the deletion flag for the sales order line item
Hi All,
I have one Cust order & with referance to that cust order one production order is created . The production order user has done the Goods issue with 261 movement type & GR wi 101 before 4 months back , & he has reverse the GR with 102 on todays date . but in materila master the variable prize is maintain thats why it is showing a differance in the cost .
User want to delete the Production order as well as the custemer order From MDO4 , So we have make the Production order TECO & save , it is gone form the MD04 but the Custumer order still there . It is not allow us to cancell or reject . We have tried to maintain the reason for rejection but it showing the message that you can not activate the deletion flag for the order .
Could you please Help me to find out the way how can i delete the custemer order ?
Thanks In advance
Regards
PiyushW ehave Settele that order & then activate the deletion flag for the order & then cancel the sales order.
-
Dear friends,
once maintenance order has been released,I am unable to put deletation flag for that order.
is there any option to put deletion flag after releasing maint order other than locking
your response is highly appriciated.
Regards,
K.SunilHi Sunil,
It can allow you to delet, might be an Authorization Issue
for your Maintenence Order Creation Role, Just check for the Object: I_VORG_ORD
Field: BETRVORG
Field Value: LVMS Mark for deletion
LVMZ Remove deletion flag
Hope it helps you.
Regards,
Yawar Khan
Maybe you are looking for
-
Invoice Receipt Warning Message Appear After Upgrade from 4.6C to ECC6
Hi Gurus, We do upgrade from 4.6C to ECC6. And we do Invoice Verification base on Delivery (Vendor delivery number), in our business process there more than one Purchase Order has same Vendor Delivery Number while GR executed. But only one Purchase o
-
I have updated my itunes in the past month and am getting ready to abandon itunes all together (though I have loved it up until now!) All of my audio plays back so choppy you can not make out one word of any song. I purchase quite a bit of music and
-
Design Manager : Access Denied when renaming folder or adding files
Good day my apologies if this question has been answered elsewhere . I have a SharePoint Online subscription. I am trying to upload my design files to the master page folder on the SharePoint site, but I keep on getting access denied errors. I have m
-
BACKGROUND COLOUR AND HIGHLIGHT TEXT ISSUE
Hi, Just registered and I'm keen to ask you a pressing question. Setting background color different from white and adding highlight text causes the two colors to blend together i.e. the highlight color is not as vivid as applied over a white backgrou
-
How to store UTF-8 characters in an iso-8859-1 encoded oracle database?
How can we store UTF-8 characters in an iso-8859-1 encoded oracle database? We can NOT change the database encoding but need to store e.g. Polish or Russian characters besides other European languages. Is there any stable sollution with good performa