Before You Install the Recipe

Configure SAP and Oracle Fusion Field Service Cloud before using the recipe.

Complete the following configuration tasks to connect to SAP and Oracle Fusion Field Service Cloud from Oracle Integration and update SAP work orders from Oracle Fusion Field Service Cloud.

  1. Configure SAP.
  2. Configure Oracle Fusion Field Service Cloud.

Configure SAP

Configure SAP event linkage and function modules required by the recipe.

Before creating a function module, ensure that you meet the following prerequisites:

  • You have access to an SAP system based on SAP NetWeaver or the ABAP platform.

  • SAP GUI is installed on your local system.

  • You are authorized to access transaction code SE37.

  • You have the developer key for the SAP NetWeaver system.

  • You have created an ABAP function group.

To access SAP from Oracle Integration and create a work order, complete the general SAP configuration tasks. See Prerequisites for Creating a Connection.

  1. Configure SAP event linkage.
    1. Enter transaction code SWE2 and configure the details required to enable event linkage.
    2. Enter transaction code SWEC and assign your custom function module to the event trigger.
    3. Enter transaction code SWELS and activate event tracing.
    4. Enter transaction code SWEL to view and verify the event logs.
  2. Create and activate the required function modules.
    1. Create function group ZFG1, save it in package ZNUMBER, and activate the function group.
    2. Enter transaction code SE37, enter a function module name such as ZOIC_WORKORDER_TURNAROUND in the Function Module field, and click Create.

      Note:

      Most SAP ABAP artifacts must begin with Z or Y.
    3. Create the following custom function modules:
      • ZTORONTO_HYDRO

      • ZOIC_WORKORDER_TURNAROUND

      • ZOIC_WORKORDER_UPDATE

    4. Activate the function modules, then click Test.
    5. On the initial Test Function Module screen, enter values for the import parameters, then click Execute.

      Enter values for the following import parameters:

      • EVENT

      • RECTYPE

      • OBJTYPE

      • OBJKEY

      • EXCEPTIONS_ALLOWED

      • OBJID

Configure Oracle Fusion Field Service Cloud

Configure custom fields in Oracle Fusion Field Service Cloud for use with the recipe.

To connect to Oracle Fusion Field Service Cloud from Oracle Integration, complete the required prerequisites. See Prerequisites for Creating a Connection.

  1. Create the custom property.
    1. Log in to Oracle Field Service.
    2. Navigate to Configuration > Properties, then click Add New Property.
    3. Select the entity and type of GUI. Select String as the property type and Text Element as the GUI type.
  2. Add the field to the screen configuration.
    1. Navigate to Configuration > Screen Configuration.
    2. Select the Activity entity screen on which the field must appear.
    3. Click Add to add the field to the screen layout.
    4. Set the field visibility permissions to read/write.
  3. Verify the field in business rules.
    1. Navigate to Configuration > Business Rules > Fields.
    2. Verify that the custom field exists, is assigned to the Activity entity, and has the correct label or API name.
  4. Add the field to a message scenario.
    1. Navigate to Configuration > Message Scenarios or Application Extensions > Message Scenarios.
    2. Select the appropriate message scenario, then open the message body.
    3. Click Add Field or Insert Field, navigate to the required location, and select the field from the list.

    Note:

    Do not manually enter the field name. Use the field picker to ensure that the field path and formatting are valid.