Installation and Upgrade > Windchill ESI > Installing and Configuring Windchill ESI in an SAP Environment > Creating ESI User Accounts and Configuring SAP for Windchill ESI > Determining the Approach for Creating or Updating Equipment in SAP
  
Determining the Approach for Creating or Updating Equipment in SAP
The following standard BAPIs are used to create and update an Equipment:
BAPI_EQUI_CREATE
BAPI_EQUI_CHANGE
There is a limitation with BAPI_EQUI_CREATE. The BAPI will not set the TASKLIST USAGE value to 009. It must invoke RFC_CALL_TRANSACTION_USING to provide the task list usage (by default it is set to 009 for Routing ). This API contains the status as “Not released to customer” and therefore thorough testing should be carried out on an identical TEST environment
If you accept to use RFC_CALL_TRANSACTION_USING then the above Equipment BAPIs can be used safely and there is no need to use ZRFC_CREATE_EQUIPMENT and ZRFC_MODIFY_EQUIPMENT.
If the BAPI approach is selected the following configurations can be set to disable the business logic to use BAPIs instead of ZRFC in order to create or update an equipment.
Global Variable: ESIFlags/UsingZRFC
Description: A flag for enabling the ZRFC when a not released RFC/API does not work in a production environment. ZRFC_CREATE_EQUIPMENT and ZRFC_MODIFY_EQUIPMENT must be imported if the value is set to “true”. By default this flag value is set to “true”
For more information refer to the Windchill Enterprise Systems Integration Implementation Guide - SAP.