---
sourceDocument: Xanadu Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/application-development

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# App Engine for ERP with the ServiceNow AI Platform

# App Engine for ERP with the ServiceNow AI Platform {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 minutes to read

Read and update your legacy ERP (Enterprise Resource Planning) system using ERP Data Hub and identify customizations with ERP Customization Mining (ERP-CM). You can then use additional ServiceNow AI Platform apps, such as App Engine Studio (AES), to organize and replatform ERP data.
Replatforming is the process of scanning legacy ERP system code to find potential candidates to move onto your ServiceNow AI Platform instance as new apps. You can use data from the ERP system as a source for apps built on the ServiceNow AI Platform, improving performance, enhancing security, and reducing maintenance.

## Combined benefits of integrating ERP Data Hub and ERP-CM to replatform apps {#erp-clean-core__section_qfp_2wj_dzb}

Legacy systems of records, such as SAP, can have old, complex custom code and data that require more time and effort to move to newer versions of the system of record. Use ERP Data Hub and ERP Customization Mining (ERP-CM) to scan the system of record to find and replace custom code with digitized workflows, resulting in a clean ERP core.  
Figure 1. ERP Customization Mining and App Engine for ERP

The replatforming of legacy code enables innovation on top of the system of record without knowledge of the legacy system. Database administrators and developers are then relieved of time-consuming efforts to
create database views or endpoints in the system of record, freeing them to work on other projects, such as migration.

Replatformed data is immediately available, mirrored in easy-to-manage tables and apps. Users no longer need to request information from database administrators, which can take weeks.
Replatformed apps use the ERP system of record as the live data source.

## Workflow for ERP Data Hub and ERP-CM {#erp-clean-core__section_sfp_2wj_dzb}

Using ERP Data Hub and ERP-CM together enables Solutions Integration consultants to implement the following workflow:

1. Have your administrator use the Connections and Credentials app to configure credentials to connect ERP Data Hub to the ERP system of record. For more information, see [Connections and Credentials](https://www.servicenow.com/docs/access?context=r-credentials&version=xanadu&pubname=xanadu-platform-security&ft:locale=en-US).
2. Create an ERP system in ERP Data Hub using the connection and credentials alias that you configured. For more information, see [Create an ERP system in ERP Data Hub](https://servicenow-prod.fluidtopics.net/EzksfcM7pQDcWRv5Zrrobg "Configure an ERP (Enterprise Resource Planning) system in ERP Data Hub to organize your connections to the system of record.").
3. In ERP Data Hub, build your ERP systems, ERP models, and tables in a development instance.
   1. Create or clone an ERP model that scans the specified ERP module in the system of record for available tables and fields. Note the tables and fields in the ERP model for use in extraction and remote tables. For more information, see [Clone an ERP model in ERP Data Hub](https://servicenow-prod.fluidtopics.net/mCfdk3Hmkaaz5DKU0ONG1g "Clone a standard ERP (Enterprise Resource Planning) model that ships with ERP Data Hub. After you clone the model you can make modifications, for example, by adding new fields or tables.").
   2. Add new tables, fields, and table joins to include additional data in the ERP model. For more information, see the following topics:
      * [Managing how models read and update the ERP system](https://servicenow-prod.fluidtopics.net/QtXT~MOS7TWkXiBL5zgXsQ "After you create an ERP (Enterprise Resource Planning) model in ERP Data Hub, you can specify how it reads and updates the ERP system using parameters.")
      * [Add joins between ERP tables](https://servicenow-prod.fluidtopics.net/SHiW2ywr1lUPntA08z0WtQ "Link multiple ERP (Enterprise Resource Planning) tables from the system of record to build an ERP model in ERP Data Hub using table joins.")
      {#erp-clean-core__ul_i5x_3gr_dyb}
   3. Create update operation using a BAPI (Business Application Programming Interface) to update data on the ERP system as needed.
   4. Build and customize remote tables to make them available for use as a data source, such as when building apps. Remote tables get their records from running an associated script against an external data source. For more information, see:
      * [View and edit ERP remote table details with ERP Data Hub](https://servicenow-prod.fluidtopics.net/VdCVlX8N08m~rl6ABxffmg "View and edit details for ERP (Enterprise Resource Planning) remote tables in ERP Data Hub, such as their attachment settings and short descriptions.")
      * [Customize fields for an ERP remote table in ERP Data Hub](https://servicenow-prod.fluidtopics.net/FNZr6ycqPo4Zv1ra7On2Ng "Add or remove columns in remote tables in ERP Data Hub to create your ERP (Enterprise Resource Planning) model. For example, remove fields with sensitive information, such as birthdays.")
      * [Query a remote table using ERP Data Hub](https://servicenow-prod.fluidtopics.net/an1a7FK7GZi4vTWmSm3GhA "Query ERP (Enterprise Resource Planning) remote tables from a system of record directly from the All menu using ERP Data Hub.")
      {#erp-clean-core__ul_ysf_pgr_dyb}
   5. Work with ETL extraction tables to regularly scan the system of record and extract data to a staging table. Extraction tables retrieve large amounts of data using a scheduled query, and use transform tables to process data for use on the ServiceNow AI Platform.
      * Create as many separate extraction tables as needed, such as one for each supported country. For more information, see [Extracting and transforming data in ERP Data Hub](https://servicenow-prod.fluidtopics.net/hajBYJTUF0rcn785yJh2kQ "ERP (Enterprise Resource Planning) extraction tables enable you to create daily processes that extract large amounts of data. You can then include the extracted data in an ERP model in ERP Data Hub.").
      * You must first create the table transform map that connects the source table (on the system of record) to a Glide table on the ServiceNow AI Platform. For more information on creating table transform maps, see [Create a transform map](https://www.servicenow.com/docs/access?context=t_CreateATransformMap&version=xanadu&pubname=xanadu-integrate-applications&ft:locale=en-US).
      * Extraction processes are configured in the ServiceNow app that uses them. For example, Workflow Studio.
      * After the extraction process is run, use import sets to map imported data into ServiceNow AI Platform tables. For more information, see [Import sets](https://www.servicenow.com/docs/access?context=import-sets-landing-page&version=xanadu&pubname=xanadu-integrate-applications&ft:locale=en-US).
      {#erp-clean-core__ul_ybg_k3z_dyb}
   {#erp-clean-core__ol_qjx_35k_dzb}
4. Identify legacy ERP system customizations to modernize and replatform with ERP-CM.
5. Move the ERP Data Hub systems, ERP models, and tables to a production environment when they are ready. For more information, see [Managing ERP development pipelines in ERP Data Hub](https://servicenow-prod.fluidtopics.net/~ds~O~dMA2xNEzOYa5yV5A "Move your ERP (Enterprise Resource Planning) systems, ERP models, tables, operations, and flows from a development instance to a production environment when they're ready.").
   1. Meet with a customer and agree to run an analysis with ERP Customization Mining on their ERP system of record.
   2. Connect the customer ERP system of record to the ServiceNow instance using ERP Data Hub.  
      Note:  
      Most customers have their own instance.

      ERP-CM uses the system connections configured in ERP Data Hub. For more information, see [Working with ERP systems in ERP Data Hub](https://servicenow-prod.fluidtopics.net/KKgU9GBny~1JfKqonD_Slg "An ERP (Enterprise Resource Planning) system represents a connection to a section of your ERP system of record. For example, sales orders or vendor invoices.").
   3. Use ERP Data Hub to build ERP models from fields on the available remote tables as specified in previous workflow steps.
   4. Run ERP Customization Mining to find candidates. Candidates are custom code in the system of record that you can replace with ServiceNow apps. For more information, see [Browse an overview of candidates in ERP-CM](https://servicenow-prod.fluidtopics.net/MhD~HJIA2KIcmRMijWcuYw "View the ERP Customization Mining (ERP-CM) home page for a summary of ERP (Enterprise Resource Planning) app candidates to replatform onto the ServiceNow AI Platform.").
   5. Choose candidates to replatform. For more information, see [Save potential candidates to replatform](https://servicenow-prod.fluidtopics.net/PeMDsYw_f8iOXsAz_gzS8w "Use ERP Customization Mining (ERP-CM) to save ERP (Enterprise Resource Planning) app candidates to replatform.").
   6. Use the candidate details in ERP-CM as a central place to enter comments and save attachments relating to the candidate. For more information, see [View and work with candidate details in ERP-CM](https://servicenow-prod.fluidtopics.net/CjheIK9xWJnGHxJGmjQrCg "View and edit candidate details and recommended actions in ERP Customization Mining (ERP-CM). Analyze ERP (Enterprise Resource Planning) system scan results, linked ERP models, usage, and similar candidates.").
   7. In the candidate details, identify any similar candidates that you could combine into a single replatformed app. For more information, see [How ERP Customization Mining determines candidate score and potential](https://servicenow-prod.fluidtopics.net/0GNCLA_I8YKWh23fEJC~Sg "ERP Customization Mining (ERP-CM) generates a score to rank the potential for replatforming legacy ERP (Enterprise Resource Planning) candidates onto the ServiceNow AI Platform.").
   8. Return to ERP Data Hub to continue building data models with remote tables and extraction tables. Ensure that all the necessary data is available in the ServiceNow AI Platform. For more information, see [Building and managing ERP models to work with ERP data](https://servicenow-prod.fluidtopics.net/PvK99iVPVgiMkr5UU1_FjA "ERP (Enterprise Resource Planning) models function as templates for sets of tables that give you access to ERP data. Use model management to create read and update operations that access the ERP system with specified inputs and outputs to map fields for use on the ServiceNow AI Platform.").
   {#erp-clean-core__ol_jl1_rhp_hvb}
6. Use the ERP data that is now available as the data source when building apps on the ServiceNow AI Platform, such as:
   * App Engine Studio: For more information, see [Create a data model for your application](https://servicenow-prod.fluidtopics.net/8CTVWfqmckuF3~_AkI3Ffw "Create a data model in App Engine Studio (AES) for your application by creating the tables that will house your application data. Create data tables that will be used in your application by creating the table from scratch, uploading a spreadsheet or PDF, or by using an existing table as a template. You can also create and schedule data imports by mapping a spreadsheet to an existing table in your application.").
   * Flows in Workflow Studio: For more information, see [Configuring flows](https://www.servicenow.com/docs/access?context=configuring-flow-designer&version=xanadu&pubname=xanadu-build-workflows&ft:locale=en-US).
   * Table Builder: For more information, see [Data in Table Builder](https://servicenow-prod.fluidtopics.net/PgpxcfTNxxinICE1i_B0bA "With Table Builder, you can modify the table properties and manage the fields that are available for a selected data table.").
   * UI Builder: For more information, see [Dynamically expose data in UI Builder pages (advanced feature)](https://servicenow-prod.fluidtopics.net/StbWFox~voeSODxYLBblaQ "Sync data between ServiceNow tables and data with the pages you build with UI Builder. Pages display synced data in real time and update data/tables when a user inputs information.").
   * Workflow Studio: For more information, see [Configuring flows](https://www.servicenow.com/docs/access?context=configuring-flow-designer&version=xanadu&pubname=xanadu-build-workflows&ft:locale=en-US).
   * Workspace Builder: For more information, see [Configure a record page for a workspace in Workspace Builder](https://servicenow-prod.fluidtopics.net/zmKnLqfdIG9KRSJmZx~MNA "Configure a record page for a workspace in App Engine Studio (AES). Use containers and components to guide a user through an experience. Each record page is linked to only one data table.").
   {#erp-clean-core__ul_yml_jh5_xyb}
7. Measure and monitor the performance of the new app using applicable metrics and parameters with your preferred analytic tools.
{#erp-clean-core__ol_lvd_4zp_1yb}

## Requirements for integrating ERP Data Hub and ERP-CM {#erp-clean-core__section_wfp_2wj_dzb}

1. Requirements for installing ERP Data Hub include the following:
   * A valid license
   * ServiceNow AI Platform plugins
   * MID server configuration
   * Spoke integration
   * SAP configuration

   {#erp-clean-core__ul_jgj_jwg_2zb}For more information, see [Requirements for installing ERP Data Hub](https://servicenow-prod.fluidtopics.net/_TKtrYZNVvboojCFw4_19g "Before you install ERP Data Hub, you must complete several configurations, on both the ERP (Enterprise Resource Planning) system and on the ServiceNow AI Platform.").
2. Requirements for installing ERP-CM include the following:
   * License and entitlement. For more information, see [Install ERP Data Hub](https://servicenow-prod.fluidtopics.net/zabWFdYYMZCVst4eLPukGA "Install the ERP Data Hub (Enterprise Resource Planning) application (sn_erp_integration) if you have the admin role from the ServiceNow Store.").
   * ServiceNow AI Platform plugins. For more information, see [Install ERP Data Hub](https://servicenow-prod.fluidtopics.net/zabWFdYYMZCVst4eLPukGA "Install the ERP Data Hub (Enterprise Resource Planning) application (sn_erp_integration) if you have the admin role from the ServiceNow Store.").
   * SAP configuration. For more information, see [Configure SAP for ERP-CM](https://servicenow-prod.fluidtopics.net/N6G_X5ZSP70jELkE7Ur0Sg "Enable SQLM (SQL Monitor) on the productive system and confirm that ST03 (Workload Monitor) is collected for daily workloads before you can install ERP Customization Mining (ERP-CM).").
   {#erp-clean-core__ul_zsz_bxg_2zb}
{#erp-clean-core__ol_xfp_2wj_dzb}

## Get started with ERP Data Hub and ERP-CM {#erp-clean-core__section_yfp_2wj_dzb}

Get started with ERP Data Hub and ERP-CM by completing these tasks:

1. Install and configure ERP Data Hub. For more information, see [Configuring ERP Data Hub](https://servicenow-prod.fluidtopics.net/t_GEdLfhXOHHKUuLCZd~tA "Install ERP Data Hub to configure connections to ERP (Enterprise Resource Planning) systems of record, as well as other ServiceNow products, such as ERP Customization Mining, Procurement for Field Service Management, and Process Mining.").
2. Install and configure ERP-CM. For more information, see [Configuring ERP Customization Mining](https://servicenow-prod.fluidtopics.net/Xw6dkgRTf7Y0lTZz2fjjZQ "Set up ERP Customization Mining (ERP-CM) to enable the app to scan the system of record for candidates to replatform. Administrators can also quickly check the health of the ERP (Enterprise Resource Planning) connection and investigate any issues, and view knowledge articles related to errors.").
3. Install and configure any additional ServiceNow AI Platform apps and builders that consume ERP data, such as the following:
   * [Installing App Engine Studio](https://servicenow-prod.fluidtopics.net/55zN1TTTWisJY303c8ijzA "You can install the App Engine Studio (AES) application (com.snc.app-engine-studio) if you have the admin role. The application installs related ServiceNow Store applications and plugins if they are not already installed.")
   * [Configuring Flows in Workflow Studio](https://www.servicenow.com/docs/access?context=configuring-flow-designer&version=xanadu&pubname=xanadu-build-workflows&ft:locale=en-US)
   * [Exploring Table Builder](https://servicenow-prod.fluidtopics.net/Iuht3GOTxFxH1eiDShJY2A "Learn about Table Builder features that enable you to design tables, forms, and flows visually using a single user interface.")
   * [Getting started with Playbooks](https://www.servicenow.com/docs/access?context=getting-started-process-automation&version=xanadu&pubname=xanadu-build-workflows&ft:locale=en-US)
   * [UI Builder quick start](https://servicenow-prod.fluidtopics.net/tQOOnIdYtB45XihlpgfmUQ "This quick start guides you through the process of creating your first page in UI Builder. Creating your first page is the first step in understanding how to build user interface pages for your workspace or custom portal experiences.")
   * [Workflow Studio](https://www.servicenow.com/docs/access?context=workflow-studio&version=xanadu&pubname=xanadu-build-workflows&ft:locale=en-US)
   * [Workspace Builder](https://servicenow-prod.fluidtopics.net/aSQq1Y1QXsJtqSfNgTDL4A "Workspace Builder for App Engine is a streamlined, no-code environment that enables you to create a custom workspace from within App Engine Studio (AES) quickly and efficiently.")
   {#erp-clean-core__ul_ewn_tpc_fzb}
{#erp-clean-core__ol_zfp_2wj_dzb}

