on 04-13-2011 7:43 AM
Hi All,
i want to check at the technically completion of the PM-Order, if a field in the notification is filled out (for example the cause). If this field empty, the user should not be able to finish the order. Now i tried to use the exit QQMA0014, but he dont run at the completion. In the Exit "Customer Check for order completion" i cant get the notification-fields. I also cant set the field in the notification as a required field.
Any idea?
Thanks a lot for any help!
Hi Andreas,
You can use the User Exit: IWO10004 (Maintenance order: Customer check for order completion)
and within this user exit you can call the BAPI: (BAPI_ALM_NOTIF_GET_DETAIL) to get the details of the notification but in this BAPI you have to pass on the notification number which can be passed via field CAUFVD-QMNUM and it would provide you with the details for the notification. Whatever field you want to check, you can perform the required check and raise an exception in case the check is not successful.
Regards,
Muhammad Usman Kahoot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your support, but its not very user-friendly.
In normal case the user jump into the order and will complete it. After push the button "complete" a small window comes up.
In best case the user should insert the cause in this window, but i couldnt find a way to check this field in this window. If i use your idea, the user have to insert the cause before using the complete-button. After this he have to save the order at first and he must jump into the order a second time to complete it.
I hope i explain it clearly. Any possibility to check the cause in the second small window and not before?
I´m also the programmer...
I modified the standard. Now i put the notification data, specially the cause-data, in the memory and when the user try to complete the order, i check this field, if its filled.
So my problem is solved, but i still not understand why the user-exit QQMA0014 is not called at the order completion. Maybe a bug?
User | Count |
---|---|
108 | |
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.