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:
- Open the Cloud Applications Studio.
- Open the PDI Solution ABC (ABC represents the ID of the PDI solution).
- Click the Add New Item icon.
- Select the Process Extension Scenario item.
- Click the Add button.
- Use the Scenario Selection (Namespace, Business Object and Node) on which the extension field is residing.
- In the Scenario View section select the migration service DEF.
- 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:
- Open the Cloud Applications Studio.
- Open the Add-On Solution ABC (ABC represents the ID of the PDI solution).
- Open the Extension Business Object GHJ.
- Add the following code snippet at the beginning of the respective extension fields: "[Scenario (XYZ)]".
- 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