Modeling the Business Partner Tile 

Requirement

Model the Business Partner tile that displays relevant details of a customer. The details include:

Refer to the figure below.

You also want to:

Prerequisites

You have:

Procedure

  1. Expand the Tiles node in the UI Modeler.
  2. This displays all the types of tiles.

  3. Choose the Detail tile type.
  4. Right-click and choose New.
  5. The Tile Modeler window and the Properties dialog appears.

  6. In the Properties dialog, enter Business Partner in the Label field.
  7. Choose View à Object Modeler.
  8. The Object Modeler window appear.

  9. In the Object Modeler, Drag the properties of BOCAPGEN and BOBPADDRESS and drop it on the tile area as shown in the figure below.

Application Studio creates:

Business object properties associated to the tile controls

  1. In the TileModel pane, drag the Address business anchor and drop it under the Customer business anchor.
  2.  Customer business anchor

    Address business anchor

  3. In the Properties dialog, choose DEFAULTADDRESS as the Supply Relation for the Address business anchor.
  4. In this example, the properties for the Address business anchor look like:

    Name

    Address business anchor

    Data source

    BOBPADDRESS

    Data source type

    Business object

    Supply type

    Relation

    Supply Relation

    DEFAULTADDRESS

    At run time, the address displayed on the tile belongs to the selected customer.

  5. Save the tile.
  6. In the Scripts pane, choose Event Handlers.
  7. Right click and choose Add.
  8. The Script Editor dialog appears.

  9. Enter the code for the OnLoad event handler.
  10. In the Scripts pane, choose Web hyperlink.
  11. Right click and choose Add.
  12. In the Properties dialog, enter Name2 as the control and BOCAPGEN as the business anchor.
  13. Save the tile.

Result

You can now include the modeled Business Partner tile in a tile set. For more information, see Modeling the Business Partners Details tile set.