Show TOC

 Getting Started with Objects

Purpose

Before you can create objects using the functions available on the Object page, there are a number of steps that need to be performed. These are outlined below, together with the relevant functions.

Process Flow

  1. Define an object family. To do this, choose in Customizing for Cross-Application Components , Start of the navigation path SAP Product Next navigation step Objects Next navigation step Define Object Families End of the navigation path .

    These entries are client independent.

  2. To describe your objects, you have to define attributes and set types and assign them to categories.

    See the example below, showing categories, set types, and attributes:

    In this step, you start by defining the attributes you require. To do this, choose on the SAP Easy Access screen Start of the navigation path Master Data Next navigation step Products Next navigation step Maintain Set Types and Attributes End of the navigation path . Select Attribute and create the attributes you require.

    For more information about working with attributes, see Set Types and Attributes .

  3. Define the set types you require to describe your objects and include the necessary attributes. To do this, choose on the SAP Easy Access screen Start of the navigation path Master Data Next navigation step Products Next navigation step Maintain Set Types and Attributes End of the navigation path .. Select Set Type and create the set types you require.

    For more information about working with set types, see Set Types and Attributes .

  4. The attributes you have created are stored as data elements in the ABAP Dictionary and the set types as structures and tables. To transport the set types to another system (not generally necessary for test purposes, unless you are testing the API interface), you now need to include the set types in API/BDoc structures and transport them. To do this, choose from the Maintain Set Types and Attributes screen Start of the navigation path Set Types/Attributes Next navigation step Transport Next navigation step Set Type End of the navigation path . Make the relevant entries and then choose Include in Transport Request .

    For more information about transporting set types, see Transporting Set Types to Production Systems .

  5. Create the categories and hierarchies you require for your object families. At least one of these categories must be created within the base hierarchy for the product type Material and then assigned the relevant object family.

    If you have an ERP system connected within your system landscape, you will need to work with the hierarchy R3PRODSTYP. Although you cannot change the hierarchy data, you can create the categories you require within this structure.

    For more information about working with categories and hierarchies, see Product Hierarchies .

    Examples of the options available to you for setting up your categories and hierarchies for objects are shown below:

    Example 1

     

    Example 2

    Note that categories you create are specific to the client in which you are working, but are required in each client in which the object family is used.

    To transport a hierarchy from one client or system to another, perform the Customizing activity Transport Categories ( Start of the navigation path Cross-Application Components Next navigation step SAP Product Next navigation step Product Category End of the navigation path ).

  6. Define the number ranges for internal and external number assignment. To do this, perform the Customizing activity Define Number Ranges for the Product Type “Material” ( Start of the navigation path Cross-Application Components Next navigation step SAP Product Next navigation step Settings for Product Type Next navigation step Number Assignment End of the navigation path ).

  7. Reserve set types for an object family (optional).

    A set type can be used for products and objects. However, if one of the fields in a set type contains data that is only relevant for an object, you can reserve this set type for objects. The set type can consequently only be used for objects belonging to this object family and cannot be used by products or objects belonging to other object families.

    To do this, enter an object family in the Object Family field for the relevant set type in set type maintenance.

Note that when you create objects, you first select an object family. Once an object family has been assigned, this cannot be changed.

For more information about using objects in the installed base area, see in the Implementation Guide (IMG) Start of the navigation path Customer Relationship Management Next navigation step Master Data Next navigation step Installed Base Next navigation step Objects/Object Family End of the navigation path .