process-mining
2024.10
true
- Release notes
- Before you begin
- Getting started
- Integrations
- Working with process apps
- Working with dashboards and charts
- Working with process graphs
- Working with Discover process models and Import BPMN models
- Showing or hiding the menu
- Context information
- Export
- Filters
- Sending automation ideas to UiPath® Automation Hub
- Tags
- Due dates
- Compare
- Conformance checking
- Root cause analysis
- Simulating automation potential
- Triggering an automation from a process app
- Viewing Process data
- Creating apps
- Loading data
- Customizing process apps
- Publishing Dashboards
- App templates
- Additional resources
Extending the SAP Ariba extraction tool
Process Mining
Last updated Nov 11, 2024
Extending the SAP Ariba extraction tool
The SAP Ariba Purchase-to-Pay and the SAP Ariba Vendor-Sourcing app templates contain an extractor that allows to extract data from SAP Ariba in CSV format using Ariba APIs for the app template specific processes. This page describes how to extend this extractor with a new API configuration if you want to extract data from SAP Ariba for other processes, for example, Supplier management, or Invoice management.
It is assumed that you have:
-
basic knowledge on Python.
-
knowledge about the SAP Ariba API.
-
downloaded and extracted the
SAP_Ariba_extractor.zip
extraction tool from the SAP Ariba Purchase-to-Pay or SAP Ariba Vendor-Sourcing app template documentation.
Follow these steps to add a new API configuration to the SAP Ariba extraction tool.
-
Add the API configuration in the file
extractor/developer_settings.yaml
file of the extraction tool. -
Add the corresponding
***_api_key
,***_client_id
, and***_secret
to theuser_settings.yaml
file. -
If a new model is needed, add it to the
models/
folder of the extraction tool. If needed, add a new table in thetables/
folder.Note:The table must have fields that are included in the model.
-
In the
extractor/settings.py
file,-
add the newly created model to the existing
_MODELS_MAPPING_
variable. -
add the newly created table to the existing
_TABLE_MAPPING_
variable.
-
-
In case you want to call multiple models with a single call, add a constant in
/utils/constants.py
and extendcli_handler/entrypoint.py
to use the constant to extract all models.