- Execute transaction SE80 to access the Object Navigator.
- Select Program from the list and type the name of the program that holds the key information related to the cluster area.
For this example, type RPCLSTB2, which is the program that holds the key information for the B2 cluster area.
- Press Enter.
The Object Navigator displays the information for the specified program.
- In the Object name list, expand the Fields folder.
- Double-click the entry that corresponds to your cluster area's key.
For this example, double-click the B2-KEY entry.
The relevant ABAP code is displayed.
- In the ABAP code, look for the heading that denotes the beginning of the cluster area's key, and note the structure that is included in the following line.
For this example, look under the heading DATA: BEGIN OF B2-KEY for the line INCLUDE STRUCTURE PC2B0 (highlighted in the image above). This shows that the PC2B0 structure contains the fields of the key.
Now that you've located the name of the structure that holds the key fields, you need to determine the names of those key fields.
- Create a new session in R/3 and execute transaction SE11 to access the ABAP/4 Dictionary.
The ABAP Dictionary: Initial Screen appears.
- Select Database table and type the name of the structure that contains the key fields.
For this example, type PC2B0.
- Click Display.
The Dictionary: Display Structure screen appears.
- Make a note of the names of the key fields displayed in the Component column.
In this case, the four key fields are PERNR, PABRJ, PABRP, CLTYP.