SAP Knowledge Base Article - Public

2529009 - How to Add Extension Fields Created by PDI Solution to a Migration Template

Symptom

You want to add extension fields which have been created within a PDI solution to a migration template.

Environment

SAP Business ByDesign

Resolution

To add extension fields to a migration template you would need to create a Process Extension Scenario item within the PDI solution. This Process Extension Scenario has to be created on top of the Namespace, Business Object and the Business Object Node, on which the extension field is residing.

To create a Process Extension Scenario you can use the following steps:

  1. Open the Cloud Applications Studio.
  2. Open the PDI Solution ABC (ABC represents the ID of the PDI solution).
  3. Click the Add New Item icon.
  4. Select the Process Extension Scenario item.
  5. Click the Add button.
  6. Use the Scenario Selection (Namespace, Business Object and Node) on which the extension field is residing.
  7. In the Scenario View section select the migration service DEF.
  8. Click the OK button.

A Process Extension Scenario item with the name XYZ has been created.

Note: You can determine which service is a migration service by hovering over the service. For migration services it will state Inbound Migration.

Once the Process Extension Scenario item is added to the PDI solution, a reference has to be created on the corresponding extension fields.

To create the reference you can use the following steps:

  1. Open the Cloud Applications Studio.
  2. Open the Add-On Solution ABC (ABC represents the ID of the PDI solution).
  3. Open the Extension Business Object GHJ.
  4. Add the following code snippet at the beginning of the respective extension fields: "[Scenario (XYZ)]".
  5. Save and Activate the Extension Business Object.

The extension fields are now added to the migration template.

Keywords

Extension field, PDI, SDK, Migration, Mass Data Maintenance, Add , KBA , AP-RC-BDS-EXT , ByDesign Studio Extensibility , How To

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions