Define Merge Actions for Business Object Database Properties

Use the Database page in the Business Object Properties window to define whether or not to overwrite database options and individual indexes for a Business Object.

The Business Object Properties window is available in the Business Object Editor (accessed from within the Object Manager in the mApp Editor).

Good to know:

  • You can only configure separate merge actions for individual Business Object properties and areas if the Business Object is set to Merge in the Business Object Properties window (mApp page). If the Business Object is set to any other option, or if the Include in mApp check box is cleared, then you cannot configure separate merge actions for individual properties or areas.
  • For more information about defining database properties for a Business Object, refer to Define Database Properties for a Business Object.

To define merge actions for Business Object database properties:

  1. Add a Business Object to a mApp Solution using the Add Business Object to mApp Wizard.
  2. Open the Business Object Properties window for the Business Object you just added to the mApp Solution:
    1. In the Object Manager within the mApp Editor, click the Edit Business Object task in the Structure area.

      The Business Object Editor opens.

      Tip: You can also click the Business Object button Business Object Button on the mApp Editor toolbar to open the Business Object Editor.

    2. Click the Bus Ob Properties button.
  3. Set the Business Object to Merge:
    1. Click the mApps page, and then select the Include in mApp check box.
    2. In the Options area, select the Import to Target System radio button.
    3. In the If Already Present drop-down, select Merge as the merge action for the Business Object.
  4. Click the Database page.

    Database Merge Areas

  5. Click the mApp button mApp Solution Merge Actions next to each property merge area, and then select a merge action:

    For database options:

    • Do Not Overwrite Database Options: Select this option to leave the Business Object's database options unchanged in the target system when the mApp Solution is applied.
    • Overwrite Database Options: Select this option to overwrite the Business Object's database options in the target system when the mApp Solution is applied.

    For an index:

    • Do Not Overwrite Index: Select this option to leave an index unchanged in the target system when the mApp Solution is applied.
    • Overwrite Index: Select this option to overwrite an index in the target system when the mApp Solution is applied.
  6. Select OK.

  7. Prepare the mApp Solution for Distribution (File>Prepare mApp for distribution), or save the mApp Solution (File>Save mApp to Disk) to continue making other changes.