Entering content frame

Object documentation Namespace Locate the document in its SAP Library structure

Definition

A string that is prefixed to a BDoc type modeled in the development environment.

Use

At present, all the customers model BDoc types in the Z namespace. However, with the introduction of namespaces in the CRM BDoc Modeler, customers can register for their own namespaces to model BDoc types. This ensures that the name of a BDoc type modeled by a particular customer is unique, as it is prefixed with the namespace allotted to the customer.

Structure

The namespace begins and ends with a delimiter (/) and can be 10 characters long including the delimiters.

Integration

The introduction of namespaces affects the naming convention of BDoc types, segments, and generated objects.

Naming Convention for BDoc Types

At present, the names of the BDoc types that SAP models start with an alphabet other than the alphabet Z. The alphabet Z is prefixed to the names of the BDoc types modeled by customers and implementation partners. However, with the introduction of namespaces, both SAP and customers can model BDoc types with their own namespaces.

This graphic is explained in the accompanying text

Currently, SAP models a BDoc type with the name CAPGEN_OBJECT_WRITE and the customer models a BDoc type with Z prefixed to the name of the BDoc type ZCAPGEN_OBJECT_WRITE. However, with the introduction of namespaces:

·         SAP can model a BDoc type with the name CAPGEN_OBJ_WRT or /<SAP namespace>/ CAPGEN_OBJ_WRT.

·         Customer can a model a BDoc type with the name ZCAPGEN_OB_WRT or /<customer namespace>/CAPGEN_OBJ_WRT.

Naming Convention for Segments

At present, the names of the segments that SAP creates start with any alphabet other than the alphabet Z. The alphabet Z is prefixed to the names of segments created by customers and implementation partners. However, with the introduction of namespaces, both SAP and customers can create segments with their own namespaces.

This graphic is explained in the accompanying text

Currently, SAP creates a segment with the name CAPGEN_OBJECT and customer creates a segment with Z prefixed to the name of the segment ZCAPGEN_OBJECT. However, with the introduction of namespaces:

·         SAP can create a segment with the name CAPGEN_OBJECT or /<SAP namespace>/ CAPGEN_OBJECT.

·         Customer can create a segment with the name ZCAPGEN_OBJECT, /<customer namespace>/CAPGEN_OBJECT, or CAPGEN_OBJECT (if it is a customer BDoc type).

Naming Convention for Generated Objects

Structures and services are generated for synchronization and messaging BDoc types. However, for segments of synchronization and messaging BDoc types, structures and table types are generated.

·        Naming convention for the generated structure and Inbound Adapter Service for BDoc type

The name of the structure and Inbound Adapter Service for a BDoc type is generated with a fixed namespace. However, with the introduction of namespaces, the naming convention for the generated structure and Inbound Adapter Service depends on whether the BDoc type is prefixed with a namespace or without a namespace, as explained in the following table:

If:

Then:

The name of a BDoc type is prefixed with a namespace

The name of the generated structure and Inbound Adapter Service is prefixed with the namespace of the BDoc type.

This graphic is explained in the accompanying text

If the name of the BDoc type is /ABC/CAPGEN_OB_WRT, the name of the generated structure and Inbound Adapter Service is prefixed with /ABC/, such as /ABC/CAPGEN_OB_WRT000 and /ABC/CAPGEN_OB_WRT_I01 respectively.

The name of a BDoc type is not prefixed with a namespace

The name of the generated structure and Inbound Adapter Service is not prefixed with any namespace.

This graphic is explained in the accompanying text

If the name of the BDoc type is CAPGEN_OB_WRT, the name of the generated structure and Inbound Adapter Service is not prefixed with any namespace, such as CAPGEN_OB_WRT000 and CAPGEN_OB_WRT_I01 respectively.

The name of the BDoc type is prefixed with the Z namespace (customer system)

The name of the generated structure and Inbound Adapter Service is prefixed with Z.

This graphic is explained in the accompanying text

If the name of the BDoc type is ZCAPGEN_OB_WRT, the name of the generated structure and Inbound Adapter Service is prefixed with Z, such as ZCAPGEN_OB_WRT000 and ZCAPGEN_OB_WRT_I01 respectively.

·        Naming convention for the generated segment structure and table type

The naming convention for the generated segment structure and table type depends on whether the BDoc type is prefixed with a namespace or without a namespace.

BDoc type name prefixed with a namespace

If:

Then:

The segment name is prefixed with a namespace

The name of the generated segment structure and table type is prefixed with the segment namespace.

This graphic is explained in the accompanying text

If the segment name is /ABC/CAPGEN_OBJECT, the name of the generated segment structure and table type is prefixed with /ABC/, such as /ABC/CAPGEN_OBJECT000 and /ABC/CAPGEN_OBJECT000T respectively.

The segment name is prefixed with the Z namespace (customer system)

The name of the generated segment structure and table type is prefixed with Z in case of a SAP BDoc type.

This graphic is explained in the accompanying text

If the name of a SAP BDoc type is CAPGEN_OBJ_WRT and segment name is ZCAPGEN_OBJECT, the name of the generated segment structure and table type is prefixed with Z, such as ZCAPGEN_OBJECT000 and ZCAPGEN_OBJECT000T respectively.

However, in case of a customer BDoc type, the name of the generated segment structure and table type is prefixed with the namespace of the BDoc type.

This graphic is explained in the accompanying text

If the name of a customer BDoc type is /ABC/CAPGEN_OBJ_WRT and segment name is ZCAPGEN_OBJECT, the name of the generated segment structure and table type is prefixed with /ABC/, such as /ABC/ZCAPGEN_OBJECT000 and /ABC/ZCAPGEN_OBJECT000T respectively.

The segment name is not prefixed with a namespace

The name of the generated segment structure and table type is prefixed with the namespace of the BDoc type.

This graphic is explained in the accompanying text

If the name of a BDoc type is /ABC/CAPGEN_OBJ_WRT and segment name is CAPGEN_OBJECT, the name of the generated segment structure and table type is prefixed with /ABC/, such as /ABC/CAPGEN_OBJECT000 and /ABC/CAPGEN_OBJECT000T respectively.

BDoc type name not prefixed with a namespace

If:

Then:

The segment name is prefixed with a namespace

The name of the generated segment structure and table type is prefixed with the segment namespace.

This graphic is explained in the accompanying text

If the segment name is /ABC/CAPGEN_OBJECT, the name of the generated segment structure and table type is prefixed with /ABC/, such as /ABC/CAPGEN_OBJECT000 and /ABC/CAPGEN_OBJECT000T respectively.

The segment name is prefixed with the Z namespace (customer system)

The name of the generated segment structure and table type is prefixed with Z (in case of a customer BDoc type) in addition to Z prefixed with the segment name.

This graphic is explained in the accompanying text

If the name of a customer BDoc type is ZCAPGEN_OBJ_WRT and segment name is ZCAPGEN_OBJECT, the name of the generated segment structure and table type is prefixed with Z, such as ZZCAPGEN_OBJECT000 and ZZCAPGEN_OBJECT000T respectively.

However, in case of a SAP BDoc type, the name of the generated segment structure and table type is prefixed with Z.

This graphic is explained in the accompanying text

If the name of a SAP BDoc type is CAPGEN_OBJ_WRT and segment name is ZCAPGEN_OBJECT, the name of the generated segment structure and table type is prefixed with Z, such as ZCAPGEN_OBJECT000 and ZCAPGEN_OBJECT000T respectively.

The segment name is not prefixed with a namespace

The name of the generated segment structure and table type is prefixed with Z in case of a customer BDoc type.

This graphic is explained in the accompanying text

If the name of a customer BDoc type is ZCAPGEN_OBJ_WRT and segment name is CAPGEN_OBJECT, the name of the generated segment structure and table type is prefixed with Z, such as ZCAPGEN_OBJECT000 and ZCAPGEN_OBJECT000T respectively.

However, in case of a SAP BDoc type, the name of the generated segment structure and table type is not prefixed with any namespace.

This graphic is explained in the accompanying text

If the name of a SAP BDoc type is CAPGEN_OBJ_WRT and segment name is CAPGEN_OBJECT, the name of the generated segment structure and table type is not prefixed with any namespace, such as CAPGEN_OBJECT000 and CAPGEN_OBJECT000T respectively.

This graphic is explained in the accompanying text

If you delete a segment in an existing BDoc type and save the BDoc type, the segment structure and table type is deleted when you activate the BDoc type. However, if you add a new segment to a BDoc type, save the BDoc type, and immediately delete the newly added segment, the segment structure and table type is deleted when you save the BDoc type.

In both cases, the corresponding object directory entry for the segment structure and table type is deleted only if the BDoc type is saved as a local object. However, if the BDoc type is not saved locally, the object directory entry is not deleted.

Leaving content frame