Installation and Upgrade > Windchill ESI > Installing and Configuring Windchill ESI in an SAP Environment > Configuring SAP S/4 HANA for Windchill ESI
  
Configuring SAP S/4 HANA for Windchill ESI
Following are the configuration settings for SAP S/4 HANA ERP system.
Configuration Settings to Activate Blacklisted Function Modules
To support this integration, you need to enable the following three blacklisted functional modules in SAP S/4 HANA ERP setup:
CSAP_MAT_BOM_MAINTAIN
CSAP_MAT_BOM_READ
BAPI_MATERIAL_SAVEREPLICA
SAP recommends that you consult its development support before enabling a blacklisted functional module. You can approach SAP Support in the following way:
1. Raise a ticket on the component of the blacklisted object and confirm with SAP development support whether the particular object is blacklisted and how customer may use it according to the SAP whitelist or dedicated note.
2. Based on the approval of development support through the ticket, you get a clearance to proceed with enabling the blacklisted functional modules
For information on why a functional module is blacklisted, see article 2295840 in SAP knowledge base. See also article 109533 in SAP knowledge base for information on SAP policy on supporting blacklisted functional modules.
To reactivate the above blacklisted function modules, perform the following procedure:
1. Run the program RS_RFC_BLACKLIST_CUSTOM using t-code SE38.
2. Enter the name of the blocked function module on the selection screen, for example — BAPI_MATERIAL_SAVERECPLICA. Press the Enter key twice to update the original settings on the screen.
3. The original blacklist settings for this function module on this system is shown in the below image. A check mark appears on Blocked on Server under Custom Settings > Original Settings, if the RFC functional module is blocked by any blacklist object.
4. To override the RFC functional module from the blacklist, clear the Blocked on Server option.
5. Click Save to save the customizing entry.
6. Select a Customizing Transport Request to save the change in the Blacklist settings:
Provide a customizing transport request, if your system is configured to request for one.
The blacklist override settings will reach the SAP systems when you release the customizing transport request.
7. Repeat the steps 1 through 6 for the other blacklisted function modules, CSAP_MAT_BOM_MAINTAIN and CSAP_MAT_BOM_READ.
Publishing Objects From Windchill to S/4 HANA
To publish Windchill object to S/4 HANA, set SendToSAPHanaERP to true as shown below:
1. Open Application Management > Deployed TIBCO Project > Configuration on the TIBCO Administrator screen and click the application name.
2. Select Advanced > ESIFlags and set SendToSAPHanaERP to True. It is set to False by default.
Configuration Settings for Document
1. To make sure the external Data Carrier INTERNET is defined in SAP, enter T-Code DC20 in the Input field.
2. Double-click Define data carrier type “external DMS” in the left pane of Change View “Define data carrier type “external DMS””: Overview window.
3. Select row with type “EX” in right pane and double-click Define external DMS in the left pane.
4. Verify that the Data Carrier is set to INTERNET.
5. If Data carrier INTERNET doesn’t exist, define it using New Entries on the window.
6. Add new entry for data carrier INTERNET. Specify INTERNET in the Data Carrier field. Enter description in Description field on the New Entries: Overview of Added Entries window and save the changes.
* 
The Data Carrier field is case-sensitive.
Configuration Settings for Equipment
1. Enter T-Code SPRO in the Input field and navigate to Plant Maintenance and Customer Service > Master Data in plant maintenance and customer service > Technical Objects > General Data > Set view profiles for Technical Objects.
2. Create new Profile “IT” using New Entries on Change View “Definition of view profiles”: Overview window.
3. Click Define external DMS Add following activities and layouts and save the changes.
4. Enter T-Code SPRO in the Input field and navigate to Plant Maintenance and Customer Service > Master Data in plant maintenance and customer service > Technical Objects > Equipment > Equipment categories > Maintain Equipment Category.
5. Make the changes to Equip Category P by updating view profile with newly created equipment profile IT.
6. Enter T-Code SPRO in Input field and navigate to Plant Maintenance and Customer Service > Master Data in plant maintenance and customer service > Technical Objects > Equipment > Equipment categories > Define Additional Business Views for equipment categories.
7. Change the Production resources/tools column value for Equip Category P to Selection (By default value is Blank) and select the three columns S, C and SD.
8. Enter T-code IE01. Enter Equipment name and set Equipment category to P i.e. Production resource/tools.
9. The missing PRT data tab will now appear for both IE01 and IE02 T-codes.
Configuration settings for Engineering Change Order
1. Enter T-Code OS56 in the Input field.
2. Check for the entry with column “ChgTyp” value 900. If the entry does not exist, add a new record with New Entries on Change View “Change Types”: Overview window.
3. Enter T-Code OS58 in the Input field.
4. Check the entry with value 900in column ChgTyp. If the entry does not exist, add a new record with New Entries in the Change View “ECM: change types (object management record)” : Overview window.
5. Enter T-Code BS02 in Input field.
6. Check record for column Status Profile values “ECNORD” and “ECNREQ”. If the record doesn’t exist add new records with new entry option on Change Status Profile: Overview window.