Start of Content Area

Background documentation Object References  Locate the document in its SAP Library structure

The Enterprise Services Repository differentiates between the following:

      Independent repository objects. These objects are visible in the navigation tree and are assigned to a namespace.

      Objects assigned beneath the independent repository objects, for example a connection in an process integration scenario.

During the design phase you constantly need to reference existing repository objects, for example from a message mapping to message types. Note the following general restrictions:

      You can only reference independent repository objects (or parts of independent objects, for example, messages in an external definition).

      Whether you can reference or not depends on the software component that the referencing repository object is located in (see below)

You can set object references to objects of an underlying software component version (see: Underlying Software Component Versions).

Whether referenced objects are copied when you copy an object depends on the type of object reference.

The reason behind these last two restrictions is that you must be able to ensure that all the repository objects of one product are delivered together.

Referencing Objects

You create each referencing object in the context of a software component version. It is identified by using the software component version, the namespace, and the technical name.

Process Integration Scenarios and Integration Processes

Software component versions are assigned to a product version. It is then possible to reference other objects in the same, or in other software component versions, regardless of the object type. This restriction is reflected in the value help in the Enterprise Services Builder.

Object Type

Possible References

Process Integration Scenario

Since process integration scenarios provide an overview of the communication between application components that are each assigned to a product, they can reference any product versions.

Action

An action can reference Interfaces of the software component version in which the action was created.

Note

It is also possible to reference non-independent objects within a process integration scenario.

See also: Process Integration Scenario.

Interface Objects

Service interfaces reference (fault) message types, message types reference data types, and data types can in turn reference other data types. You can only reference interface objects in the same software component version or in an underlying software component version. This ensures that objects for a service interface are always in one shipment unit.

Mapping Objects

Mappings map messages from different application components to each other. Therefore, referencing cannot be as restrictive as for interfaces. The additional restrictions for operation mappings ensure that mapping programs are shipped together with the operation mapping.

Object Type

Possible References

Operation Mapping

      You can reference interfaces from any software component version.

      You can reference mapping programs (message mappings, XSLT or Java mappings) from the same namespace and the same software component version as the operation mapping.

Message Mapping

You can reference any message types or the request/response/fault part of an imported interface.

It is also possible to reference non-independent objects. See: Message Mappings and References Between Mapping Programs.

Imported Archives

You can reference other mapping programs (see: References Between Mapping Programs) but not independent objects.

Note

Data types can reference other data types. Operation mappings can also point to programs in imported archives. RFCs and IDocs can reference context objects.

Example

An example of a reference to a subobject is the reference from one service interface to a part of an external definition (see External Definitions).

Note

In imported archives you can reference objects in the program code. These references are triggered dynamically at runtime. However, these are not the same object references as those described here.

 

 

 

 

 

 

 

 

 

 

End of Content Area