You are on page 1of 5

1.

Text Collection Access Sequence


Text Collection Access Sequence allows a BO text node to be created with a text that is copied from
another entity (e.g. another BO text node).

For example: on the creation of the text node of a Sales Order item node, the text will be automatically
copied from the text node of the Product that is assigned to this item.

Terminology:
Source: the new BO node that is to be created
Target: the BO (or other entity) from which the text is copied to the new node
When the text collection root node is created in the source BO, the relevant text content will be derived
from the target.

Design rules:
Each Text Type within a Text Schema can have one Access Sequence assigned.
Each Text Type within a Text Schema can have one Access Sequence assigned. The same Access
Sequence can be assigned to multiple Text Types.
Each Access Sequence has multiple Accesses. Each Access can be assigned to multiple Access
Sequences.
The set of Accesses will be processed in the sequence provided. As soon as a Text is determined, the rest
of the Accesses are ignored. The language of the Text can also be specified (whether all Language has to
be copied or only specific Language – default would be the login language if the option to copy all
languages is not selected).
Each Access will have information about the source from which the Text has to be determined from.

1.1. IMG configuration

To do the customizing of the text collection access sequence, perform the following steps:

1. Run the Customizing (SPRO) transaction.

2. Display SAP Reference IMG and navigate to:


Cross-Application Components->Processes and Tools for Enterprise Applications->Reusable
Objects and Functions for BOPF Environment

3. Maintain Business Entities:


Navigate to ->General Settings->Maintain Business Entities. Choose the

Define the source and target business entities:


Business Entity free text
Business Object Name source/target BO name
Node Name source/target node name

For example:
4. Maintain Text Schema
Navigate to ->Dependent Object Text Collection->Maintain Text Schema. Choose the

 Access
Define the access between the source and target entities:
Access ID free numeric unique ID
Access Type e.g. Association Navigation
Text Type
Source Business Entity (the source business entity created before)
Target Business Entity (the target business entity created before)
Description free text

Access Types:
The Access Type determines the source from which text has to be determined.
o Association Navigation
If the source is a Text Collection which can be accessed by navigating from the target
node. The association navigation path will be provided as a customizing.
For example: the access is executed in the ITEM_TEXT node of the Sales Order BO
and the source has to come from Product BO. The association navigation works only if
the target key gives only one instance (so a filtered association might be used
wherever required)

o Association Navigation with Node attribute


If the source is not a Text Collection Node but an attribute in a normal node, then the
Association navigation has to be provided and in addition the node attribute has to be
provided as well.

o External BO
If the source from which the text has to be copied cannot be accessed using an
association navigation, then this access type has to be chosen and in this case a class
has to be provided which implements the standard interface provided and the class
has to be specified as part of the customizing.

o External Source
If the source from which the text has to be copied is not a Business Object, then this
access type has to be chosen and in this case a class has to be provided which
implements the standard interface provided and the class has to be specified as part of
the customizing.
 Access->Details
Describe the navigation path from the node in the source BO (the source BO node that is
associated to the target BO node) to the relevant text node in the target BO :
Sequence free numeric
Association Name association from BOPF

In this example:
the association from sales order item node to product root node is PRODUCT_ROOT
the association from product root node to its text collection node is TEXT_COLLECTION

 Access Sequence
Define the access sequence:
The Access Sequence will have the Accesses with the sequence of execution specified. As
soon as the Text is found, the subsequent Accessed will be ignored.
Access Sequence is configured separately from the Text Type so that the Access Sequence
can be reusable.

Access Sequence free numeric


Description free text

 Access Sequence->Accesses
Language settings:
Access ID choose access ID (use F4)
Sequence Number determines the sequence of Text Types in the dropdown in the UI
All Languages mark for support in all languages (or specify language key)
 Text Schema
Choose the relevant Text Schema

 Text Schema-> Text Type to Text Schema Assignment


Text Type choose from F4
Access Seq choose from F4

 Text Schema-> Assign Text Schema to BO and Node


Update the assignments with the corresponding business entities. Fill the Business Entity for
source and target then fill the text schema. The BO and Node will be derived:

You might also like