You are unable to find the CustomMLDataSelectionWrite BAdI in your SAP Cloud Application Studios (SDK).
SAP Cloud for Customer
Reproducing the Issue
- Navigate to SAP Cloud Application Studios (SDK).
- Click View.
- Click Repository Explorer.
- Attempt to locate namespace http://sap.com/xi/AP/CRM/MachineLearning
- Attempt to locate the BAdI CustomMLDataSelectionWrite.
- See no results are displayed.
The CustomMLDataSelectionWrite BAdI is the same as MachineLearningDataSelectionQueryWrite BAdI, as only the name was changed.
As highlighted in the help document https://help.sap.com/viewer/7947824c493f461d84e7bbc94c0dc3fd/CLOUD/en-US/b722588066094bbe83fc21ab8ff2d131.html, this enhancement option is applicable for the Machine Learning Scenario Code 001 and 002.
In addition, it says it works only from Machine Learning Admin EC, and this is because this enhancement is only called during the training of the model. With this enhancement, selection clause is set and only the filtered data is given to the model for training. Trained model is not used for prediction until it is activated.
After model activation, if the prediction has to be determined only for selected service request / ticket, then this enhancement option MachineLearningObjectPredictionWrite must be used along with MachineLearningDataSelectionQueryWrite enhancement.
Machine Learning, BAdI, SDK, PDI, Ticket, Service Request, ML, Enhancement, CustomMLDataSelectionWrite, MachineLearningDataSelectionQueryWrite, Cloud Application Studios, SAP Cloud Application Studios, , KBA , LOD-CRM-ML-SRV , Machine learning for service cloud , How To