Order deletion
Dear Experts,
For a material there is a mistake in the BOM.
So in the Production order BOM many line items are repeating..
THe correction is made in the BOM.
A production order exists for tthat materila for 1000 qty. Of that 350 qty are confirmed..
THe requirement is I need to reverse the order and delete it from the DATABASE...
How to delete an order from the database.Please explain me in detail..
karthick
Hi,
Cancel the confirmation with T Code CO13.
Cancel the GI document with MBST.
Then put the deletion flag on the Production Order with T Code CO02.
Then you need to check the residence time in OPJH settings before you can put the deletion indicator and archive the production order.
Hope that clears. Revert for clarifications.
Regards,
Rohit.
Added: Alternative method: Also Check the possibility of correcting the production order rather than deleting or archiving it. Cancel the confirmations and GI document then re-read the PP master data from Menu --> Functions --> Read PP Master Data in T Code CO02.
You will get the corrcet BOM in the production order and you can carry out the process further.
Regards,
Rohit.
Edited by: Rohit Chauhan on Jun 6, 2009 8:12 AM
Similar Messages
-
Hello Experts,
I have a query as below,
Vendor master created with Payment method C(Cheque) -No payment order configured in FBZP
Customer has been assigned in Vendor master and Customer has been created with Payment method Q(Payment method configured(FBZP)_
MIRO posted for Vendor and System included for payment proposal and Payment order has been posted for Vendor line item
Not sure how user has deleted the payment order,Upon checking table PYORDP, System resulted No entry exists.
Now after payment order deleted i can still see payment order exist in line item i.e. in document
If we try to execute payment now system doesnt considering this line item for payment.
Please tell me the way forward on this
Note:-Sorry with my presentaion as i am new to SCN
Regards
KiranHello Jayj,
Thanks for the reply,
But as i already mentioned above user has already deleted payment order, and it doesnt exist in PYORDH and PYORDP respectively.Meanwhile even after deletion i still can see Payment order in line item of the docment and because of this system doesnt considering this for F110.
Please tell me how can make this entry considerble inF110
Regards
Kiran -
Dear gurus,
I need a help in APP.
In Autometic payment program our client is using payment orders. While clearing from the bank due to some techinal issue open item has not been cleared but clearing document has been created against the vendor.
This transaction is happend in 2001 fisical year. That payment orders deleted from the data base. Due to that i am not able to clear the payment order in the vendor invoice.
In this senario, is there any way to delete the payment order in the vedor invoice.
While testing in DEV,i deleted the entris from REGUP & REGUH. Even it is not working.
Please suggest me how to slove this issue.
Regards,
Ramana
Edited by:This issue solved.
-
SNP planned order deleted in APO, but not in R/3.
OK Guru's,
We have a situation where during the weekend SNP planning runs, SNP Planned orders are deleted in APO, but the order is never deleted in R/3. The change pointer is not in CPP and there are no failed queues. Also, when you run CCR on planned orders, we will get an error on some orders saying "Not in APO" and the only option to reconcile that order is to "Send to APO". The option that should exist is "delete in R/3" becuase the deletion never occured in R/3.
If you send the order back to APO, the order will show in the "Production Confirmed" line of the Planning Book. This is because APO is thinking that this order is an order that was created in R/3 when in fact is it really is a SNP planned order.
Any clues to why this would happen?
thanks,
BrianHow are you getting the SNP Planned Orders to R/3 in the first place.
If you are transferring them using /SAPAPO/RRP7 then I guesss its a manual transfer and system does not consider SNP Planned Order deletion flag relevant for transfer to R/3.
You will need to look into CIF enhancement to send the deletions to R/3.
Normally SNP Planned Orders are not relevant for transfer to R/3 unless its replaced or converted to a PPDS planned order.
Somnath -
Unmarking of Purchase Order deletion indicator
Hi
Purchase order deletion indicator was flaged for the line itme due to which not able to do the goods receipt
Reset the deletion flag , still i am not able to do the GR
It is giving the error message - PO has the deletion indication
Could you please help on this
Thanks
TanviHi
In EKPO table deletion indicator is not there
In EKKO table deletion indicator field has the value C
How to unflag the deletion indicator at header level
Error message is
Purchase order 4511582854 has deletion indicator
Message no. M7031
Could you please suggest how to move further
Thanks
Tanvi -
Hi All,
Is there a method to perform Order No. wise PPDS order deletion.As the standard report /sapapo/delete_pp_order does not support order wise processing. Couldnt find any BAPI for the same either.
Thanks
RenjithYou are right - RLCdelete can not be used for PPDS order deletion (after 4.1 I think - before it was possible).
You can use this BAPI however:
BAPI_POSRVAPS_DELMULTI
Best regards,
Søren -
Monitor sales order deletion in MV45AFZZ
Hi all,
I've added code to userexit sales_doucment_save in MV45AFZZ. However, I have to check it in case of sales order deletion.
Does anyone knows how to find that the sales order is to be deleted ? In the exit itself I couldn't find any field to check that it's actualy deletion and not change.
Thanks in advance,
Shai E.You should use..
exit..
USEREXIT_DELETE_DOCUMENT
What are actually trying to achieve. Can you give more info..
Rgds,
Samir -
Hi Experts,
How do you delete collective planned orders? I mean by simply indicating the plant or MRP controller. Is there a log or you trace for this? What transaction code is used for this?Hi,
MD16 - Collective display planned orders
Just highlight the planned orders which you want to delete the planned orders then press "delete" button
once planned order deleted, can't trace the history, no log file
Regards,
Sankaran -
Output Type on Sales Order delete
Is it possible to activate Output Type, sending iDoc, on Sales Order deletion?
On Sales Order create, change it works well, but not on delete.hi,
this is Possible.
but it is not possible through Message Control ..
you need to write custom program..
that program read deletion data from CDHDR and CDPOS table and append data to idoc and post.
Prabhudas -
Dear All,
My problem is that in live system some users deleted sales orders. Can any one tell me where to find these sales orders deleted will stored. In which data base tables these deleted sales orders will be saved. In our system there is no archive tables available. So is there any history tables for sales order where i can see the deleted sales orders. Awaiting for a reply.
regards,
RakeshHi,
You can get those details from CDHDR and CDPOS tables.
Table CDPOS :
OBJECTCLAS = VERKBELEG
CHNGIND = 'D' . -
Dear All,
I have issue regarding Process Order Deletion Flag
I created a Process Order and for that phase confirmation and goods movement done . but some how i have to reverse it so i cancell Phase confirmation and goods issue through transaction CO14 and also discard the control recipe
Now i am going for process order deletion flag Active but system is giving me a Error like
"Unprocessed future change recs for order 1100044297 prevent del. flag/completion
Message no. CO688
Diagnosis
There are still future change records or error records to be processed from the confirmation for the confirmation processes in order 1100044297. Possible confirmation processes are:
Automatic goods receipt
Backflushing
Calculation of actual costs
Data transfer to HR
System Response
You are not meant to set the deletion flag/'completed' status for orders with future change records that have not been processed.
Procedure
You should process the open future change records using
Predefined confimration process or
The CORUPROC program, by dispatching it in Customizing in a background job (dispatch background jobs: dispatching processes).
Check if incorrect goods movements or incorrect actual cost calculations exist for the order, and reprocess these if necessary:
Reprocessing incorrect goods movements
Reprocessing incorrect actual cost calculations"
and Order current status is like below
"TECO CRAB PRC BASC BCRQ GMPS MANC PIGN"
So pls guide me.
Regards,
Murari ShahHi,
Pl. check in COGI whether any erroratic goods movements are pending for posting for your process order.
Even order status mentioned by you shows that DLV status is missing so there may be errors related to GR for the order which you can find in COGI.
Clear COGI records & then try.
If problem still persists, pls revert.
Regards,
Tejas -
Sale order deleted item - Table
Dear Friends,
I would like to know if in a Sale order I have 4 items out of which am deleting 1 line item form the list and 1 line item stock is getting changed.
in the document changes i cannot see the material code which is getting deleted.
Is there any table where i can see the deleted material code or the quantity changed material code.
CDPOS or CDHDR does not give full information.
throw some light as i need to prepare a report.
Thanks,
SatishI seriously doubt such information is available anywhere in SAP. In the change documents (the above mentioned FM just reads the above mentioned tables) you'll find only that line # so-and-so was deleted, when and by whom. There won't be any details and, in fact, this kind of makes sense.
If it is important to track the items that, say, were cancelled by the customer, use Rejection Reason instead of deleting the line. You can prevent the lines from being deleted through a user exit, however, it would be better to address this via business process and user training. -
While saving sales order, deleted item resulting in error
Dear All
I am facing an issue while changing Sales Orders.
I have set a check in a user exit that if batch is empty, display an error message. I add try to add a new line item which doesnt have batch. When i try to save, i get a message which is fine.
But when I delete this line item and try to save again, I am still getting message. I am not sure how this is happening.
Kindly advice.
Regards
DineshThere's a field EKPO-LOEKZ (Deletion Indicator in Purchasing Document) for PO, but there's no such field for an SO as per my knowledge. So the only option left to you is to debug the your user-exit while saving the SO and check why its still triggering the error message. May be you can add another condition stating that the line item should have atleast material number filled, in that case if the material number is there and batch is missing, it will show an error msg.
Regards,
Raman. -
Change in Sales order deleted all process production order
Dear All,
We have Make to order scenario for our export sales. When we have receive order we make production with reference of sales order with help of t-code MD50 then convert plan order into production order.
IF sales department do changes in sales order it'll delete all processing production orders So, we have to do revoke all production orders manually.
2 query is that, Is there any way to run MRP (Make-to-order) on all line items of sales order ?
Please provide solution.
Thanks,
Farrukh khanDear Farrukh,
There is not tcode to run sales order for all line items, but if you run MD02 it will plan all sales order & line items also. You can run MD02.
Regards
Abhijit Gautam -
Stock Transport Order deletion in case of GR
Hi all,
I have an stock transport order (STO) between plants with delivery output posted (Goods Issue) and also with a goods receipt in destiny plant.
Problem is that if I set deletion flag in STO, system allows me to do that without any warnings.
Is there a way to validate when a STO has been received by the destiny Plant?
Thanks & Regards,
AWYes. It is a standard behavior. System will allow to delete the line item which has completed the good issue and goods receipt both.
Actually the status of this STO got completed after you post goods issue and goods receipt.
It is also like normal PO, when goods issue and MIRO has done, then you can set deletion flag to line item. System will allow deletion flag for archive process.
If you want to restrict that, then you have to use badi or exit for that by your own logic.
You can use the badi ME_PROCESS_PO_CUST. -
Delivery order - deleted line items details
Dear All,
i want the list of materials and qty which are deleted from the delivery order, i have tried with the CDHDR & CDPOS but there i am getting only changed details, if the material is deleted im unable to get the material number and qty..
is there any other table where can i get the deleted materials details..
kindly reply id u have the solution.
thanks.Hi,
To find out the table, you can do one thing,
firstly create a dummy material,
then activate the SQL Trace from ST05 transaction,
and then delete the dummy material which you had created.
Now deactivate the SQL Trace from the same transaction,
And click on Display trace...
You wll get all the tables which are used when deleting the material.
Just check for insert statement in the statement column of the SQL trace.
that will the table which stores the deleted materials information.
Regards,
Siddarth
Maybe you are looking for
-
Can I connect my lightning to USB to a travel adapter?
I have a travel adapter model: TC28SA. I used it to charge older iPods with a 30-pin charger. Can I also use it with my lightning to USB?
-
I really stress out, I want to cry so bad!!! Updates after Updates, I CAN'T DO ANYTHING BUT LISTEN TO MUSIC!!! There are some games I bought and now after all these updates, I can't play them anymore and can't even find a game that is suitable for my
-
Hi new to skype, unable to have my first video chat. Message coming up "problem with playback device" grateful if anyone can help. Thanks
-
How Do i Cancel my Adobe Creative Cloud membership?
I want to cancel my membership and i can't seem to find the correct way to do so.
-
CS5 Student Edition - can I install without the serial?
I've just sent off my proof of student-ism, and it says it takes between 1 and 3 days. Can I install it yet, or should I wait for the code? Thanks Dan