Hi experts,
is it possible to implement the Push (Szenario SWM62_EMERGENCY_WORKORDER_PUSH) of work orders for assignment type 8 (Assignment Header Level Work Center)?
Currently I get just an exception from SMP:
throwExceptionToClient::com.syclo.sap.component.workorder.steplet.WorkOrderPushForEventSteplet::throwExceptionToClient::20565::WorkOrderPushForEventSteplet - com.syclo.agentry.BusinessLogicException: Push not supported for this Assignment type
In the relevant Java class "com.syclo.sap.component.workorder.bapi.WorkorderPushBAPI" there is a hardcoded check if assignment type is one of 1,2,3,4,A; if not it throws an exception. So I think it is not a matter of configuration but of missing functionality?
As we have anyway a custom logic for the selection of the relevant work orders (using an implicit enhancement point in /SMERP/CL_PM_WORKORDER_DO->GET_ASSIGNMENT8() ): Would it be possibe to use just e.g. assignment type 2 (using there the same custom logic as in type 8)?
The only other approach I could imagine would be to extend the relevant java classes to just accept assignment type 8.Would this be feasible?
Kind Regards,
Christian