SAP Knowledge Base Article - Public

3014509 - CustomMLDataSelectionWrite BAdI is Not Displayed in SAP Cloud Application Studios - SDK

Symptom

You are unable to find the CustomMLDataSelectionWrite BAdI in your SAP Cloud Application Studios (SDK).

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Navigate to SAP Cloud Application Studios (SDK).
  2. Click View.
  3. Click Repository Explorer.
  4. Attempt to locate namespace http://sap.com/xi/AP/CRM/MachineLearning
  5. Attempt to locate the BAdI CustomMLDataSelectionWrite.
  6. See no results are displayed.

Cause

The CustomMLDataSelectionWrite BAdI is the same as MachineLearningDataSelectionQueryWrite BAdI, as only the name was changed.

Resolution

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.

Keywords

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

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions