Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP dictionary reguarding appending structure

Former Member
0 Likes
847

Hi,

Myself Rohit.

please tell me how to append a structure in a table .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
823

hi,

Procedure

Go to change mode in the maintenance screen of the table where you want to add the append structure.

If the table contains a long field (data type VARC, LCHR or LRAW), you cannot add an append structure.

Choose Goto -> Append structures.

Either a dialog box appears in which you can enter the name of the append structure or a list of all the append structures. that were already created for the table appears. If append structures already exist, you have to choose to get the dialog box for entering the name.

Enter the append structure name and choose . The name must lie in the customer namespace.

You go to the field maintenance screen of the append structure.

Define the fields of the append structure. You can proceed as when creating a normal structure with two restrictions (see Creating Structures).

The fields of an append structure must lie in the customer namespace, that is the field names must begin with ZZ or YY. This prevents conflicts with fields inserted in the table by SAP.

An append structure must be flat, that is each field of the append structure must either refer to a data element or be directly assigned a data type, length, decimal places and short text.

If you want to create foreign keys or search help attachments for table fields that already exist, you can display these fields with Show appending objects. Proceed as if you wanted to create the foreign key or search help attachment in the underlying table (see Creating Tables).

If a foreign key or search help attachment is already defined for a field in the table, you cannot change this definition with the append structure.

Choose .

Result

The table will also be activated when the append structure is activated. The fields of the append structure are appended to the table in the database. Foreign keys or search help attachments for the fields that are already in the table and that were defined with the append structure are also activated.

You can display information about the activation process with Utilities -> Activation log. Errors occurring when the append structure is activated are displayed directly in the activation log.

Hope this helps, Do reward.

Hi,

Myself Rohit.

please tell me how to append a structure in a table .

5 REPLIES 5
Read only

Former Member
0 Likes
823

hi Rohit,

Create a structure with the fields and then go to se11 give the table name and press change button ... then press 'Append Structure' button which you find in the application toolbar ... give the structure you want to append .... Note after that save and then go to se14 transaction give the table name and press edit button ...inside that press button 'Activate and adjust database'...

regards,

Santosh

Read only

Former Member
0 Likes
824

hi,

Procedure

Go to change mode in the maintenance screen of the table where you want to add the append structure.

If the table contains a long field (data type VARC, LCHR or LRAW), you cannot add an append structure.

Choose Goto -> Append structures.

Either a dialog box appears in which you can enter the name of the append structure or a list of all the append structures. that were already created for the table appears. If append structures already exist, you have to choose to get the dialog box for entering the name.

Enter the append structure name and choose . The name must lie in the customer namespace.

You go to the field maintenance screen of the append structure.

Define the fields of the append structure. You can proceed as when creating a normal structure with two restrictions (see Creating Structures).

The fields of an append structure must lie in the customer namespace, that is the field names must begin with ZZ or YY. This prevents conflicts with fields inserted in the table by SAP.

An append structure must be flat, that is each field of the append structure must either refer to a data element or be directly assigned a data type, length, decimal places and short text.

If you want to create foreign keys or search help attachments for table fields that already exist, you can display these fields with Show appending objects. Proceed as if you wanted to create the foreign key or search help attachment in the underlying table (see Creating Tables).

If a foreign key or search help attachment is already defined for a field in the table, you cannot change this definition with the append structure.

Choose .

Result

The table will also be activated when the append structure is activated. The fields of the append structure are appended to the table in the database. Foreign keys or search help attachments for the fields that are already in the table and that were defined with the append structure are also activated.

You can display information about the activation process with Utilities -> Activation log. Errors occurring when the append structure is activated are displayed directly in the activation log.

Hope this helps, Do reward.

Read only

Former Member
0 Likes
823

Check out the below link for append structure

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm

Regards,

Santosh

Read only

Former Member
0 Likes
823

Hi,

Create a Structure which u want to append.

Then Go to the table to which u want to append.

Select Append Structure tab and give the structure name which was created to append.

Finally Activate.

Reward if helpful.

Read only

Former Member
0 Likes
823

Hi Rohit,

The below link provides whole lot of info about append structure.

http://help.sap.com/saphelp_47x200/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm

Pls reward if useful,

Thanks,

Sirisha,