Migrating projects with Invoke an Adapter Request-Response Service Activity and Request-Response Service

You can migrate your projects that use the Invoke an Adapter Request-Response Service activity of from ActiveEnterprise Adapter palette and Request-Response Service of TIBCO ActiveMatrix® Adapter for SAP to Invoke RFC/BAPI in SAP Activity in TIBCO ActiveMatrix BusinessWorks™ Plug-in for SAP Solutions.

An additional mapper activity is created after the Invoke RFC/BAPI activity. This activity is configured with schema from the ActiveEnterprise Adapter palette. The mapper activity acts as a wrapper and helps retain input mappings in the following activities. You need to manually provide inputs for the mapper activity.

Procedure

  1. In TIBCO Business Studio™ for BusinessWorks™, right-click on the project in the Project Explorer and select Refactor > Migrate Adapter to Plug-in.
  2. In the Migrate Adapter Activities window, select the project to migrate. Review the processes that are displayed for migration and then click OK.
  3. Open the processes and realign the mapper activity if required. Add mappings in the mapper activity.

    In the Configuration tab of the Invoke Adapter Request Response Service activity in ActiveMatrix® Adapter for SAP, an Adapter Service should be mentioned for migration. Only the schema that is referenced by the Invoke Adapter Request Response Service activity is re-fetched during migration.

    All the configurations of the Invoke an Adapter Request Response Service activity is migrated to respective fields of Invoke RFC/BAPI activity under General and Advanced tab. In the General tab of the migrated Invoke RFC/BAPI activity, the migrated shared resource will be mapped to shared resource field. The schema selected in the Invoke an Adapter Request Response Service activity is mapped to RFC/BAPI of the migrated Invoke RFC/BAPI in SAP activity.

    If one way check box is selected in the schema class reference of the Request-ResponseServer adapter service, then after migrating the ActiveMatrix® Adapter for SAP project created on TIBCO ActiveMatrix BusinessWorks™ 6.x to ActiveMatrix BusinessWorks™ Plug-in for SAP Solutions project, the Invocation Protocol field of the RFC BAPI Listener activity will have the trfc value by default. In this case, the TIDManager Resource is also created. By default, the status of the TIDManager Resource is set to None.

    Note: In the migrated activity, the fields that are not present in the Invoke Adapter Request Response Service activity but are present in the Invoke RFC/BAPI in SAP activity will have default values. These fields can be configured through JSON preference file. For more information, see Working with Preference File (JSON) for migration.
  4. To run the migrated project, from the menu bar click Run > Debug Configurations.
  5. In the Debug Configurations windows, click Debug.