Add an operation to a model in Zero Copy Connector for ERP
Add an operation to an ERP (Enterprise Resource Planning) model in Zero Copy Connector for ERP to define how the model retrieves data, writes data, or creates a new instance of the business object.
Before you begin
Role required: sn_erp_integration.erp_admin
This video was recorded in the Zurich release.
[Omitted video] Description: Video that shows how to add an operation to a model in Zero Copy Connector for ERP.
- Read operations retrieve ERP data by reading a table or using a BAPI, RFC, OData, or REST.
- Update operations use a BAPI, RFC, OData, IDoc, or REST to write updates to the ERP system.
- Create operations use a BAPI, RFC, OData, IDoc, or REST to create an instance of the business object in the SAP system.
Note: For update operations where ETag is required and OData services are used, the ETag is fetched by default and sent with the update call. Verify that you don't make overriding changes.
Procedure
Navigate to All > Zero Copy Connector for ERP > Zero Copy Connector for ERP Home.
Open the ERP model page by selecting the models icon
in the side panel.
Select the model to which you want to add an operation.
Select the Manage model button.
Select Add model operation.
Add model operation button appears on the ERP model manager page.
In the Select type field of the Add operation modal, specify the type of operation you're adding.
- Update sends data back to write to the ERP system.
- Read reads and retrieves data from the ERP system and brings it onto the ServiceNow AI Platform.
- Create is used to create a new instance of the business object in the SAP system.
Specify the type of operation you're adding
Select at least one user role or group that can read or run the model operation.
To prevent disruptions, all existing model operations have been assigned the admin role and the erp_user role by default. You can edit these permissions on the existing operations at any time to suit your needs. To change the permissions, select the edit (pencil) icon
on the model operation card. For more information about model operation security, see [Operation-level security for models](erp-canvas-set-operation-level-security-on-a-model.md).
Select Save and continue.
The operation tile is displayed with the roles and groups you added.
Manage model page with create, read, and update operations that have user or group roles assigned for security.
Result
The foundation of the operation is created.
What to do next
Next, you must add the read or update entity to the operation. For more information, see Add an entity to a model.
You can select the delete icon (
No alternative text supplied
) on the operation's card to remove any operations you don't need, or to start over.
Parent Topic:Building and managing models to work with ERP data