Function documentation Creating a New Object Locate the document in its SAP Library structure

Use

You can create a new object and then edit it in the object editor.

Prerequisites

A software component version with a namespace must exist before you can create a design object. For information on importing software component versions and creating namespaces, see Importing Software Component Versions.

You can call the function Create New Object, by

·        choosing Object ® New (This graphic is explained in the accompanying text) in the main menu (or the pushbutton Create New Object This graphic is explained in the accompanying text)

Note

In this case, you must fill all the fields in the New Object dialog (see below).

·        positioning the cursor on an object type in the navigation area and choosing New (This graphic is explained in the accompanying text) in the context menu

Note

In this case, entries have already been made in the Create New Object dialog, according to the position of the cursor (see below).

Caution

You cannot create objects of type RFC or IDoc again.

Features

You specify the following information in the Create New Object dialog:

·        Object type

·        Object key

Object Type

You select the object type on the left of the dialog.

Note

If, in the design or configuration phase, you call the Create New Object function from the context menu in the navigation area, the object type is already selected – according to the position of the cursor in the navigation tree.

Note

For more information on the possible object types, see Navigation Area.

Key Attributes

You define the key attributes for an object on the right of the create dialog. These differ for design objects and configuration objects.

Design Objects

The following fields must always be filled for all design objects:

·        Object Name

You must enter the name manually. The name of a design object is unique within a namespace and is not language-specific. Blanks and special characters are not permitted in the name of a design object.

Note

We recommend that you adhere to Upper Camel Case (UCC) notation when you name design objects. This notation does not use blanks to separate parts of names; instead it only uses a switch from lowercase to uppercase letters (for example, CheckAvailability).

·        Object Namespace

You can use search help here. The available namespaces depend on the selected software component version.

·        Software component version

You can use search help here.

Note

If you call the Create New Object function in the navigation area in the context menu, then entries are already made in the fields Namespace and Software Component Version, according to the position of the cursor in the navigation tree.

Note

You can call the search help by clicking This graphic is explained in the accompanying text.

Configuration Objects

The key attributes of configuration objects depend on the object type.

Key Attributes for Configuration Objects

Object Type

Key Attributes

Business Scenario

·        Business scenario name

Receiver Determination

·        Business scenario name

·        Sender business system

·        Sender interface name

·        Sender interface namespace

Interface Determination

·        Receiver business system

·        Sender business system

·        Sender interface name

·        Sender interface namespace

End Points

·        Receiver business system

·        Receiver interface name

·        Receiver interface namespace

Logon Data

·        Receiver business system

·        Receiver interface name

·        Receiver interface namespace

·        Sender business system (optional)

·        Sender interface name (optional)

·        Sender interface namespace (optional)

Note

When creating interface determinations, end points, and logon data, you have the option of using the wildcard character (*) for some of the key attributes. The object is then defined generically for all values of the particular key attribute (see Generic/Specific Definition of Configuration Objects).

Note

You can use the input help (icon This graphic is explained in the accompanying text) when specifying the business systems and interfaces.

After you confirm your entries with Create, the object editor is opened for this object. The specifications that you made when you created the object are displayed in the header. You can edit the object further in the work area of the object editor.

Caution

Once you have chosen Create in the Create New Object dialog, you can no longer change your entries.