on 11-09-2013 8:03 AM
dear all
my user close work order without closing notification. i want that 1st user close notification then close work order. is it is possible.
Payal
it is not possible in standard. by user exit u can control it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Payal,
Here's the solution.
Write the following simple code in the include (ZXWO1U03) of user exit IWO10004.
Code
DATA:
lv_qmnum TYPE viqmel-qmnum,
lv_phase TYPE viqmel-phase.
SELECT SINGLE phase INTO lv_phase FROM viqmel WHERE qmnum = caufvd_imp-qmnum.
IF lv_phase <> '4'.
MESSAGE 'Please complete the Notification before completing Order' TYPE 'I'.
RAISE completion_rejected.
ENDIF.
Knowing the code to be written for your need, using a user-exit is a very simple task.
This is done through Tcode SMOD (Take help of ABAPer if needed).
I've tested this code. See the result I got, when I tried to complete an order before the notification completed.
Wish, you'd make use of this information.
Jogeswara Rao K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I hope, you are talking about Maintenance Order & Maintenance Notifications. Its not possible in standard to achieve that.
Through custom development, you can able to control. Refer the below exit & link.
IWO10004 Maintenance order: Customer check for order completion
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.