on 07-03-2014 8:31 AM
Hi Agentry experts,
for WM 6.0 we have the idea to get a more flexible assignment for notifications and work orders, as our business process requires more flexibility than the standard available assignment types e.g. Work Center
User A should only see certain equipment
User B should see certain activity types
User C should only see unscheduled
etc.
Our idea is to add custom assignment types (similar to described by Mark here) which will call the standard reports behind IW29 / IW39 with a user specific selection variant.
Does any of you have experience which you could share, or a better suggestion how this can be achieved?
Thanks in advance for suggesting!
Regards
Merten
OSS confirmed this is an issue in the delivered code. We ended up to change to a very generic assignment, in our case planner group, then enhance a user exit with an additional custom selection logic.
Thanks for the answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
we are now working on this and have implemented some ABAP code for Notification and Work Order Assignment Type = Z which is available in the standard WM 6.0 config panel. This is also configured in the mobile application config and data object filters (as described in the Assignment Type documents.
However, on the client we get error: Invalid Wo.AssignmentType from the ini file or SAP Mobile Configuration. Please check the ini file or the mobile configuration for assignmenttype (Z) in section APPLICATION_CONFIG
So our Assignment config is OK, but not working. I see in Java that this error is thrown by class WorkOrderAssignmentTypeDelegateFactory, this class only tests on types 1-8 and A.
Any guidance on how to resolve this easy would be appreciated.
Thanks
Merten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
extending the Java classes to support a new assignment type is somewhat tedious. Extending the WorkOrderAssignmentTypeDelegateFactory cannot be done directly by specifying a custom implementation in the config panel, instead you would have to replace several other classes that are using the Factory class (anyone, please correct me if I am wrong).
If you are bold enough to use AspectJ, you can extend the getAssignmentTypeDelegate(...) methods without replacing the classes that are using the factory. If you want to try this and need advice, let me know.
Regards, Daniel
Hi Jason,
this is what I tried so far. However, the assignment type error is thrown within the constructor method of the superclass I would extend. As Java forces you to always call this first and you cannot try...catch it, I seem to be stuck on this approach:
public class MyWorkorderFetchBAPI extends WorkorderFetchBAPI
{
public MyWorkorderFetchBAPI(User user, GregorianCalendar cal)
throws Exception
{
super(user, cal); // Here Exception is thrown
// My code not used
}
....
}
Appreciate any ideas.
Thank you!
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.