Skip to content

Programs to read transport durations from an ERP system, train an ML model, predict transport lead times, and write them to an IBP system.

License

Notifications You must be signed in to change notification settings

SAP-samples/ibp-di-lead-time-recommendation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

REUSE status

Lead Time Prediction for Integrated Business Planning for Supply Chain (SAP IBP)

Description

SAP Data Intelligence based solution that predicts transport lead times based on observed transport durations and writes the results to an IBP key figure.

Requirements

User licenses for and experience with SAP Data Intelligence and SAP Integrated Business Planning.

Download and Installation:

Unless otherwise stated, please complete the manual steps in the SAP Data Intelligence system.

  1. Create an OData connection to your Integrated Business Planning for Supply Chain (SAP IBP) system
  2. Create an ABAP connection to your SAP S4/HANA or SAP Enterprise Resource Planning (SAP ERP) system
  3. In the SAP S4/HANA or SAP ERP system create an ABAP CDS view. As a reference please use the example cds file from the cds folder
  4. Create a Python 3 Custom Operator that writes the key figure values to the SAP IBP system. Copy the script and schema files from the python3Operator folder
  5. Create docker files. Copy the files from the Repository/dockerfiles folder
  6. Create a machine learning (ML) Scenario, for example with the name Lead Time Prediction
  7. In the ML scenario create your first Jupyter notebook. In Jupyter Labs, import the files from the notebooks folder
  8. In the ML scenario create three pipelines, one by one. Inside the modeler define the pipelines by copying the json files from the pipelines folder

Additional Information

To learn about the functional details, and for step by step instructions to configure and implement the IBP DI Lead Time Recommendation solution, please visit the SAP Discovery Center and look up the mission Improve Plan Quality with Intelligent Lead Time Prediction https://discovery-center.cloud.sap/missiondetail/3811/3861/

Known Issues

None

How to obtain support

Create an issue in this repository if you find a bug or have questions about the content.

For additional support, ask a question in SAP Community.

Contributing

If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens automatically fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.

License

Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.