Assignment duration prediction is a an AI feature for semi and fully automated scheduling in SAP Field Service Management. You can use the feature to let the system predict the assignment duration based on historic data. The purpose of the prediction is to have more a realistic schedule for the technicians that considers skills, customer, equipment, location, and so on.
Displayed Results
If the predicted duration is enabled, you see the predicted value instead of the planned duration. Depending on the AI-based scheduling feature, the results are displayed at different locations. Below, you find an overview.
For automated scheduling, you will see the predicted value in the Auto-Scheduling reports as part of the log messages in the activity details. The predicted value is displayed in the Planned Duration field together with a tick icon in the Planned Duration field.
If you are using the Best Matching Technician feature, the predicted duration is displayed for each technician in the technicians list on the Dispatching Board. From there, you have the option to edit the duration if you are not satisfied with the predicted value. When you assign the activity to a technician, the predicted duration will be used by the system. If you edited the value, the edited duration will be considered.
If you are using the Planning Widget, the predicted duration will be used and the activities will be assigned using the predicted value. You will see the predicted value in the Auto-Scheduling reports as part of the log messages in the activity details.
How the Prediction Works and Used Data
To predict the assignment duration, a machine learning model is used. The model is trained based on the available time efforts and the data of closed activities to determine the real duration of the closed activities. In addition, the model uses the following data of the closed activities during the training to learn which characteristics influence the duration of an assignment:
- Service call priorities
- Equipment ID
- Business partner ID
- Skills of the responsible person
- Required skills of the activities
For the model training, we offer a sample business rule. By default, the sample business rule includes the following settings:
- The training data of one year is used.
- The model training takes place once a day.
A sample business rule for training the data model is available on the SAP Help Portal.
Limitations
There are a few limitations and tips to consider for the feature:
- If new data is very different from the past training data, then the estimation could become less useful.
- The more data you have available, the better for the model training and the output. However, note that for performance reasons the model training uses at maximum of 10,000 closed activities within the provided time range.
- Currently, we do not consider user-defined fields (UDFs) during the model training.
- We support training the model once a day. If you train the model more often, the training could fail.
Enabling Assignment Duration Prediction
Before Assignment Duration Prediction is enabled, make sure the following prerequisites are in place:
- You have 1000 activities with the execution Stage equal to CLOSE.
- You have time efforts maintained for each closed activity. These should represent the start and end of the activity when it was performed by the technician.
- It is recommend that you have maintained the following data for the closed activities:
- Service call priorities
- Equipment ID
- Business partner ID
- Skills of the responsible person
- Required skills of the activities
- You have the license "SAP FIELD SERVICE MANAGEMENT, SUPPLEMENTAL SERVICES".
To activate assignment prediction, follow the procedure below:
- Configure and train the machine learning model for the assignment duration prediction. For the model training, use the sample business rule provided on the SAP Help Portal.
- Activate the Allow assignment duration prediction for semi and fully automated scheduling checkbox in the FSM web UI (shell) under Settings and Configuration → Planning and Dispatching → General settings → Activity Planning → Additional Settings.
- The predicted duration will now be applied when using semi- or fully automated scheduling.