---
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


---

# ERP Data Hub roles

# ERP Data Hub roles {#ariaid-title1}

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

Administrators assign roles to give team members permission to configure or use ERP Data Hub.
Important:  
When you assign ERP Data Hub (Enterprise Resource Planning) roles to a user, you must include the scope. For example, assign the <kbd class="ph userinput">sn_erp_mining.erp_admin</kbd> role, not just <kbd class="ph userinput">erp_admin</kbd>.
For more on assigning roles, see [Assign a role to a user](https://www.servicenow.com/docs/access?context=t_AssignARoleToAUser&version=xanadu&pubname=xanadu-platform-administration&ft:locale=en-US). To learn more about managing per-user subscriptions, see [Managing per-user subscriptions in Subscription Management](https://www.servicenow.com/docs/access?context=managing-user-subscriptions-v2&version=xanadu&pubname=xanadu-platform-administration&ft:locale=en-US) and contact your account representative.

## ERP Data Hub roles {#erp-canvas-roles__section_ij3_ykv_cwb}

Note:  
All required roles are the same across development and production instances. However, only sn_erp_integration.erp_user is required to read data in a production instance.
{#erp-canvas-roles__table_jj3_ykv_cwb__entry__3}

| Role | Description | Additional access |
|-|-|-|
| sn_erp_integration.erp_admin | Grants the user access to updating the application setup. | Contains sn_erp_integration.erp_user. |
| sn_erp_integration.erp_data_pill | Grants the user read access to all the tables needed for making Remote Tables requests. This role can be combined with any single Remote Tables role. For example, combining sn_erp_integration.erp_data_pill and sn_erp_integration.sap_company_code_user enables the list of SAP Company Codes. | -- |
| sn_erp_integration.erp_mid_server | Grants the user access to use the API to enable the MID Server to send attachments back to the ServiceNow instance. | -- |
| sn_erp_integration.erp_user | Grants the user read access for all remote tables. | Contains sn_erp_integration.erp_data_pill and all Remote Tables roles. * sn_erp_integration.sap_company_code_user * sn_erp_integration.sap_country_user * sn_erp_integration.sap_currency_user * sn_erp_integration.sap_customer_invoice_user * sn_erp_integration.sap_distribution_channel_user * sn_erp_integration.sap_division_user * sn_erp_integration.sap_language_user * sn_erp_integration.sap_material_stock_user * sn_erp_integration.sap_purchase_document_user * sn_erp_integration.sap_purchasing_organization_user * sn_erp_integration.sap_sales_customer_user * sn_erp_integration.sap_sales_delivery_user * sn_erp_integration.sap_sales_document_user * sn_erp_integration.sap_sales_organization_user * sn_erp_integration.sap_sales_revenue_recognition_user * sn_erp_integration.sap_vendor_invoice_user * sn_erp_integration.sap_vendor_user {#erp-canvas-roles__ul_xmx_zxc_dwb} |
[Table 1. ERP Data Hub roles]

{#erp-canvas-roles__table_jj3_ykv_cwb}

## Additional ERP data model roles {#erp-canvas-roles__section_h4l_gvr_bwb}

If users need access to work with specific ERP data models, such as purchasing or invoices, assign them the following roles and access for ERP Data Hub.{#erp-canvas-roles__table_qh1_fwr_bwb__entry__3}

| Persona | Role | Access |
|-|-|-|
| ERP MID Server user | erp_mid_server | * sys_attachments * sn_erp_integration_queue {#erp-canvas-roles__ul_ngd_jwr_bwb} |
| Customer invoice user | sap_customer_invoice_user | sn_erp_integration_st_sap_customer_invoice |
| Material stock user | sap_material_stock_user | sn_erp_integration_st_sap_material_stock |
| Purchase document user | sap_purchase_document_user | sn_erp_integration_st_sap_purchase_document |
| Purchasing organization user | sap_purchasing_organization_user | sn_erp_integration_st_sap_purchasing_organization |
| Sales customer user | sap_sales_customer_user | sn_erp_integration_st_sap_sales_customer |
| Sales delivery user | sap_sales_delivery_user | sn_erp_integration_st_sap_sales_delivery |
| Sales document user | sap_sales_document_user | sn_erp_integration_st_sap_sales_document |
| Sales organization user | sap_sales_organization_user | sn_erp_integration_st_sap_sales_organization |
| Sales revenue recognition user | sap_sales_revenue_recognition_user | sn_erp_integration_st_sap_sales_revenue_recognition |
| Vendor invoice user | sap_vendor_invoice_user | sn_erp_integration_st_sap_vendor_invoice |
| Vendor user | sap_vendor_user | sn_erp_integration_st_sap_vendor |
[Table 2. ERP data model-specific roles for ERP Data Hub]

{#erp-canvas-roles__table_qh1_fwr_bwb}

