Service Order Deletion funtion module
my requirement is to Technically complete & Set the Deletion flag for a Service Order when a Job cancellation request is received from the Customer.
There is no manual intervention in this case. Program receiving the Cancellation request will also have the Order No. under consideration and will automatically call the Function Modules to carry out the mentioned tasks.
I have found the Function Module to Technically complete the Order. But the problem is with Setting the Deletion Flag.
I tried with some fn. modules to change the system status to DLFL. But that only does the half of the job. It does not set the deletion flag for the order.
So it ends up with some invalid situation wherein you cannot go and reset the deletion flag within the order