Create Append Structure in SAP Table

Sometimes we need to add new fields into SAP standard tables to meet user requirements. Fortunately, SAP has provided tool to add fields without change the tables called Append Structure.

An append structure is a structure that is assigned to exactly one table or structure. There can be more than one append structure for a table or structure. As others user enhancements, the name of append structure should also reside in the customer namespace, which is the field names should begin with ZZ or YY. This prevents name conflicts with fields inserted in the table by SAP.

Below are step by step how to create append structure in SAP tables.
In this blog, I use my case where three new fields will be added into SAP table LIKP (Delivery Header Data).

1. Using Abap Table Maintenance (transaction code SE11), display table LIKP. No need to change the table. Just display!

2. In the table contain screen, click “Append Pushbutton” to add append structure.

append structure into sap table

3. It will rise pop up window contains created append structure object that ready to be assigned. On the pop up window, click “Create Append” button.

append structure into sap table - 02

4. Input the append structure name and choose Enter. The name must lie in the customer namespace (should begin with ZZ or YY).

append structure into sap table - 03

5. On the Structure/Table maintenance screen, define the fields or component the build the structure. In this screen, what we do here is same as like we create normal structure or tables. We can create foreign key or search help attachment.

append structure into sap table - 04

6. Last action, save and activate it.

The table will also be activated when the append structure is activated. The fields of the append structure are appended to the SAP table in the database.