on 2012 Oct 04 5:41 PM
Hi All,
We would like to check whether permit is issued before saving the maintenance order.
Please suggest any solutions.
Thanks & regards,
rajesh
Request clarification before answering.
Best is to use a BADI "WORKORDER_UPDATE" and in the AT_SAVE method of the class you can implement the check whether first the permit exist for the order by checking table IHSG and if yes then whether the permit has been issued by checking table IHGNS for that order.Order object number will be the key for both tables. You can decide suitable error handling procedure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for the response.
We have used user status called in progress in the maintenance order,the requirement is if permit is not released, the user status in progress not to be allowed before saving of the order
step 1: the permit is released
step 2; user status in- progress selected
step 3: order saved
all the above steps are done in a sequence before saving the order
the problem we are facing with above steps of execution are, in step 2 after release of permit values will not be updated in table IHGNS as we have not saved the order and clicked in user status in progress and saved the order
Could u please suggest any enhancement or BADI so that we'll be able to capture details of permit release at run time before saving the order (after selecting user status : inprogress)
Thanks & regards,
rajesh
Hi Rajesh,
You can read permit data from the buffer. A general way always would be using assignment of screen components so that data from one screen can be copied and made available wherever desired. You can get help from technical ABAP developer for this. Generally data from screen can be made available in BADI by using ASSIGN COMPONENT syntax.
Hi Rajesh,
Try with User exit IWO10009 which is for customer check while saving maintenance order.
Inside this you can define your own logic to check permit issued before saving.
Also User exit IWO10007 is used for enhancements of permits in maintenance order.
Hope this will solve your issue.
Regards,
VINOD.V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
39 | |
8 | |
6 | |
3 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.