Enhancement Framework – Table Enhancement – Append Structure

By | July 16, 2014 | Enhancement Implementation | 18,059 | 2

Tables or Structures can be enhanced as part of the Enhancement Framework using the Append structure option available in Data Dictionary.

Step to add new Fields on Table

1 Go to Data Dictionary transaction SE11
2 Display the Table
3 Select option Go To > Append Structure

Table_Append_Structure_menu

4 In the popup, you would see the existing Append structures

5 Select the Create ICON to create new Append structure

Table_Append_Structure_List_of_Appends

6 Provide the description and field names

7 Save and Activate

From the Popup, you can also delete the existing Append structure.

Importance of Enhancement Category

If you are not aware of the Enhancement Category, you should read through Enhancement Framework – Table Enhancement Category

You can only add fields in the append structure which satisfy the enhancement category for the main table. I refer the main table as the table, in which you are appending the new fields. E.g. Table VBAK has Enhancement category set as Character type or numeric. That means we cannot add the fields with deep structures. Only those fields are added which satisfies the Enhancement Category of the main table.

When you create the enhancement as an Append structure you need to assign the Enhancement Category, as you can still enhance this structure. The Enhancement Category can be assigned based on this relationship. ONLY equal or smaller option can be selected for the Append structure.
Cannot be enhanced < can be enhanced (character-type) < can be enhanced and character-type or numeric < can be enhanced in any way).

Append Structures as New

Table_Append_Structure_New

For the standard tables, you would notice the Append structures with status New. Many of the structures are attached to the Switch as well. The New Append structures are delivered by the SAP, which can be activated by the Switch. When switch gets activated, all the related objects including the Append structure gets activated as well. This will result into Main table activation as well.

The switch assignment can be found in the Attribute tab of the append structure.

Table_Append_Structure_Switch

Many Active Append Structures in a table

When you have many active append structures in the table they would be added in the table based on the sorting on the Append structure name. So, if you have an append structure as ZXAVBAK already in the VBAK and if you create a new append structure as ZAVBAK_NEW, the ZAVBAK_NEW would be inserted above the ZXAVBAK.

So, when you add the new field in the table, just make sure you transport the changes in the “quite” time to the production.

Next Article

Enhancement Framework – Append Search Help

Table of Content – Enhancement Framework

Like It? Share!!

Don't miss an Update

Get notified of the new post, right into your inbox

Naimesh Patel{274 articles}

I'm SAP ABAP Consultant for more than a decade. I like to experiment with ABAP especially OO. I have been SDN Top Contributor.
Follow :

Explore all of his 274 articles.

Load comments

2 Comments

  • venky

    Hi Naimesh Patel,

    I am following all your blog’s very interesting and good information thank you very much, I have some doubt in above topic ie ( Enhancement Framework for table ).

    As you said ECC6 EHP2 system we known Switches information is available in append structures details screen, But what in the latest sap version ie ECC6 EHP7 system Switches information is removed . why SO ??

    Can you please let know, why SAP removed the Switches information in sap version ECC6 EHP7 system

    Regards,
    Venky

  • Hello Venky,

    I’m glad that you like the articles on the site.

    I also noticed the difference between the Append popup of EHP6 vs earlier releases. I debugged a bit and see a bug in the Subroutine sfw_get_sw_info of FM INT_GET_ALL_APPENDS. This prevents the remaining logic execution which gets the Switch related information.

     
      if i_trobjtype = scomc_indx
      or i_trobjtype = scomc_xinx.
        l_sw_wa-objecttype = i_trobjtype.
      else.
        return.
      endif.
     

    I have raised an OSS message for this information. Lets see what happens.

    Regards,
    Naimesh Patel

Comments on this Post are now closed. If you have something important to share, you can always contact me.

You seem to be new here. Subscribe to stay connected.