User`s guide

You now need to add the key fields to your new dictionary entry in the Cluster Definition tool. To add
these key fields to the dictionary entry, go to next section, Adding the key fields to the dictionary entry.
Adding the key fields to the dictionary entry
This section guides you through the process of adding the key fields to the dictionary entry based on
the key fields that you noted in the last section, Locating the cluster area's key fields.
Following are the steps involved in adding the four key fields to the dictionary entry that you created
for the B2 cluster area.
To add the key fields to the dictionary entry
1.
In the SAP Easy Access screen, execute transaction ZCDD to access the Cluster Definition tool.
2.
In the "View Cluster Id Table" screen, select the new entry that you created.
For this example, select the PCL2 B2 entry.
3.
Click Edit.
The" View Cluster Record" screen appears.
4.
Click New Cluster Key.
The "Edit Cluster Key Record" screen appears.
5.
In the Key Number field, type the sequence number of the key field that you want to specify.
For this example, type 001 (this is the first entry for this cluster area's key).
6.
In the Key Name field, type the name that you want to appear when you use this key field in Crystal
Reports.
For this example, type K_PERNR.
Tip:
In general, follow a naming convention. For instance, start a key field name with K_ to specify it as
a key field, as has been done here.
7.
Use the Reference Table field to define the key field's data type by referencing an existing field of
the same type in another table.
For this example, type PC2B0, because it is the name of the structure that holds the Reference
Field.
8.
In the Reference Field field, type the name of the field to which you want to refer. This field must
exist in the Reference Table.
For this example, type PERNR.
Note:
If the key field is not already defined in the data dictionary, and if you do not define it by referencing
an existing field, you can manually specify the ABAP type and Length in order to define the key
2012-03-14607
Integrating Business Applications with Crystal Reports