cancel
Showing results for 
Search instead for 
Did you mean: 

How to define a structure and then include a structure into a table

Former Member
0 Kudos

Can any one explain me how to define structure om se-11 and include those into a table

Regards,

Ranjith

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

First and foremost thank you for your response.

I will check this out and get back to u if i hav any concerns in implementing it.

Regards,

Ranjith

Former Member
0 Kudos

hi

goto se11--


>data type->give name of structure ex:zxyz--->click on create.....

u will get a pop up with three types--structure,data element,table type----->select structure...and continue.

here u write all the feilds which u want to include in the structure.

and call this structure in program.

or

in the table itself u can append structure..there is a tab called append structure.....there u can declare the feilds u want in the structure....and in the table write .append....and give the structure name in data element.

u can append a structure only at the end .

u can include a structure also....

declare a structure and in the table call .include and give the structure name.

u can include a structure at any position.

Former Member
0 Kudos

First and foremost thanking you for your response.

So as u said that we can include structure into a table wer do i specify the structure name do i specify it in the data element section.

and if m including a structure into a program how do i call the structure do u have any sample programs.

if possible u can mail me to nambiarranjithdivakaran@gmail.com

Thanks and regards,

Ranjith

Former Member
0 Kudos

To add new field to table, there are two option.

1.Include structure 2. append structure

Append Structure:- An append structure is a structure assigned to just one table. When a table is activated, all append structures for the table are found and appended to the table. Append structures are used to add customer fields to SAP tables.

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

Include Structure:- Include structures are used to add fields in the middle also.where as append structures adds fields only at the end.In addition to listing the individual fields, you can also include the fields of another structure in tables and structures. Individual fields and includes can be mixed as required.

Former Member
0 Kudos

First and foremost thanking you for your response.

I wll implement this first and If I have doubts I will get back to you.

Regards,

Ranjith

Former Member
0 Kudos

In SE11, enter the component as ".INCLUDE" and the component type should be the name of your structure.

Rob