on 12-19-2009 12:04 PM
DEAR ALL,
My requirement is very simple
I do not want to set Deletion flag on PR after it is becomes TECO when ever there is PO in the Work order
When ever there is no PO no problem
This is MM business requirement
We had alot of discussion on this already in the topics
But I could not found the solution how we can res
Is anybody has done this particular change in work order TECO
please let me know how to do this ?
Regards
chandrashekhar Ingole
Can the MM team wait till overnight for the PR to be undeleted?
If yes, My suggestion is to write a simple report, run everynight that does the following:
1. Get all changed order on current date.
2. Check if they are TECOed.
3. Get the PR and PO.
4. If PO exist for reset the delete flag on the PR.
This is fool proof and wont screw up any existing process in the standard.
I dont think the MM team will have a problem, because the intension is not to change something immediately in the PR after TECO, but to keep a reference of the PR.
Ramesh-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Chandrasekhar,
This is standard functionality when you TECO the work order, all open requisitions that are tied through the reservation tables are set a deletion indicator.This makes sense since the PR is considered a internal document and there is no legal binding associated to this document and hence the necessary house keeping being done automatically.
You can overcome this by doing some custom development and having some authorization cecks. You would need to set "never create requisition" for the order type/Plant combination (Prevent users from being able to change this setting through Auth or hiding the field and Function code). You would need to make sure that all the necessary details are captured on the Non stock item screen of the maintenance order. Then have a custom program,Triggerred on a nightly basis or on SAVE of Maintenance order or other means, that creates a requisition based on the non stock item entered in the Order and assigning the same work order number as the cost assignment. Now when the order is set to TECO this PR will not be set a deletion indicator since there is no reservation tied to this request. This would solve your problem but be aware of the issues that may arise, if for some reasons the planner would like to cancel the work order by TECO of the job, then you would need to do proper house keeping and delete the PR line item or intimate the purchasing team as appropriate.
The other way to do this to make a modification to standard program which might be complicated and hence is not advisable to do so.
Regards
Narasimhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Narisihman
the Modification which you have stated are very complicated
Is there any user exit like IW01004 where we can prevent the PR being set for Deletion flag
there is no problem when ther is no PO
so our logic can be build bsed on PO existance
But only issue is how to Undelete the PR after Teco any table in MM where we can make coding in this user exit& we undelete the PR directly from Table by taking work order number
please suggest
Regards
chandrashekhar
There is no user exit available to stop this.As indicated above, setting of deletion indicator in PR is standard functionality on TECO
Without any modifications, my above mentioned approach could be one of the ways to accomplish your requirement.Yes, it might be a little bit tricky to do the development and make it foolproof, but considering the request this is the approach i would take.
Regards
Narasimhan
Hi Chandrasekar,
I have worked on similar requirement in my last project.
However to make the process simple we have provided pop-up warning message for the user if there is a open PR in Work Order and it is not converted into PO. User exit stated by you IWO10004 was used, or else you can use BAdI IWO1_ORDER_BADI to check the system status of the Order. Thereby user needs to decide whether to continue with TECO of work order (by pressing YES option in pop-up message) or cancel TECO (by pressing Cancel option in pop-up message). Business has to wait until the PR is converted into PO in order to TECO the work order.
I hope your requirement may be stringent not to delete open PR even after TECO. But if you business accepts the above solution it would be the simplest one without much intricate development.
Thanks,
Regards,
Sudharsan
Edited by: Sudharsan Vadivelu on Dec 21, 2009 2:24 PM
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.