Creating Business Content Providers

Context

You use this procedure to create business content providers that can be used to retrieve data for reports and charts.

Procedure

  1. On the navigation bar of Mobile System Maintenance (MSY), choose Start of the navigation pathBusiness Content Provider Next navigation step DetailsEnd of the navigation path.

    The Business Content Provider/Details tile set appears.

  2. Choose New and enter the required information.

    You can create a business content provider by using either a business query or an existing business content provider as a template.

  3. Choose Design Content.

    The Business Content Provider/Content Generator tile set appears. It consists of the following tiles:

    • Business Content Provider Structure

      Contains a hierarchical structure of the business content provider with the business object of the selected business query as the main business object.

    • Business Object Properties

      Contains a list of bound properties of the selected business object and the formulas that you create for the business content provider.

      If the bound properties are related to a combo engine, then the long text name also appears as a business object property.

    • Related Business Objects

      Contains a list of the related business objects with a parent-child and normal relationship.

      When a business object is deleted, if only the link to the other business object is deleted and not the business object itself, the objects have a normal relationship (activities and business partners, for example).

      For more information, see Business Object Relationships.

    • Relationship Properties

      Contains a list of additional properties that are not part of the main business object, but may be present in the query BDoc type that retrieves the main or related business object.

      For more information, see Business Query.

  4. On the Related Business Objects tile, select the required business object and choose Add to Structure.

    The Relationship Details dialog box appears prompting you to enter a unique name for the relationship.

    The Relationship Parameters tile of the dialog box contains a list of the input parameters that are passed from the main business object to retrieve the related business object. The parameters that appear here are defined in Mobile Application Studio and are both bound and unbound properties of the main business object.

    • If the parameter is a bound business object property, the value for Parameter Type is Business Object Property. The other fields have default values; you cannot edit them.

    • If the parameter is an unbound business object property, the value for Parameter Type is Formula Parameter.

      You must select a value for the formula parameter and specify the formula name. The value can be one of the following:

      • Constant Formula

        You select this value when you want the value to be a fixed value. You may want, for example, the descriptions for a business object to appear always in English regardless of the logon language.

      • User Data Dictionary

        This is a global space provided at runtime by the Business Framework and allows you to store data known as name-value pairs (for example, “currency – Dollar” or “currency – Euro”, where currency is the user data dictionary key). If you select this value, you must specify the user data dictionary key.

  5. Choose OK.

    The related business object is added to the structure of the business content provider.

  6. Repeat step 4 to add more related business objects to the main business object.
  7. On the Business Object Properties: All Properties tile, select the required business object properties of the main business object or the related business objects.

    When you choose any one of the related business objects from the business content provider structure the corresponding business object properties appear. If you select a parent business object property, the subordinate business object property is selected automatically. If, for example, you select a long text property, the short text property associated with the long text is also selected.

  8. Select the required relationship properties from the Relationships Properties: All Properties tile.
  9. Choose Finish.

    The Business Content Provider/Details tile set appears.

  10. Set the status of the business content provider to Completed and save your entries.

Results

You have created a business content provider. You can now perform the following activities:

  • On the Business Content Provider Structure tile, you can view the structure of the business content provider graphically. The view includes the business objects that are involved and the relationships between these business objects.

    By clicking the secondary mouse button on this tile you can view the selected business object properties, relationship properties, and formula parameters.

  • You can use the business content provider for a report or chart.

    For more information, see Designing Charts and Report Creation.

  • If required, you can change the business content provider using the Modify Content pushbutton.