Migrating projects with Adapter Subscriber activity and Publication Service

You can migrate your projects that use the Adapter Subscriber Activity from ActiveEnterprise Adapter palette and Publication Service of TIBCO ActiveMatrix® Adapter for SAP to IDoc Listener or IDoc Parser Activity in TIBCO ActiveMatrix BusinessWorks™ Plug-in for SAP Solutions.

An additional mapper activity is created after the IDoc Parser activity. This mapper activity is configured with the schema from the ActiveEnterprise Adapter palette. The mapper activity acts as a wrapper and helps retain input mappings in the activities that come after Adapter Subscriber activity. 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 Adapter Subscriber activity in ActiveMatrix® Adapter for SAP, an Adapter Service should be mentioned for migration. Only the schema that is referenced by the Adapter Subscriber activity is re-fetched from SAP system during migration. At a time the activity supports only a single schema.
    Note: This release of ActiveMatrix BusinessWorks™ Plug-in for SAP Solutions does not support migration of Custom AESchema.

    All the configurations of the Publication Service is migrated to respective fields of IDoc Listener or IDoc Parser activity under General and Advanced tab. The activities are generated based on the Publishing Mode selected in the Publication Service. For more information on publishing mode, see Working with Preference File (JSON) for migration.

    In the General tab of the migrated activities, the migrated shared resource will be mapped to shared resource field. The schema selected in the Publication Service is mapped to IDoc Name of migrated activities.

    Note: In the migrated activity, the fields not present in the Publication Service but are present in the IDoc Listener or IDoc Parser will have default values. Some of 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.
    A default JMS connection is created after migration if the ActiveMatrix® Adapter for SAP project does not have any JMS connection resource. If the JSON preference file is present, the value from the JSON file is used.
    If there are multiple Adapter Subscriber activities with using different transports, then values of JMS properties overwrites the last process created.
  5. In the Debug Configurations windows, click Debug.