Tuesday, July 15, 2008

Modifying dictionary tables

There are 2 ways to add additional fields to a dictionary table without having to make a modification:

1. Append structures
2. Customizing includes

1. Append structures

Append structures can only be assigned to a single table.
Append structures are created in the custome rnamespace ( ZZ or YY)
In case of new versions of the standard table during upgrade, the append structures are
automatically appended to the new version of the standard table
Append structures can not be used with cluster and pool tables

Append structures are created in transaction SE11. Display the standard table fields and press the
Append structure button.
When you press the button, SAP sugests a name for the new append structure. After you has
accepted the name,
a screen will be shown where you can enter the new fields.

Remember to activate.

2. Customizing includes

Some of the SAP standard tables contains special include statements called Customizing includes. In
contrast to Append structures,

Note that customizing includes are created by SAP, but the customer supply the fields for the include.

Customizing includes begin with CI_ and is part of the customer namespace

One Customizing include can be inserted into more than one table.

You can find Customizing includes in SE11 under structures.

Try to take a look at table RKPF which uses the Customizing include CI_COBL (In an IDES system).
Next try to add a field to CI_COBL, and activate it. If you go back to table RKPF you will se that your
new field has been added.

No comments: