Application Development 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: 

table exits

Former Member
0 Kudos

how to include structure to a standard table? urgent

6 REPLIES 6

0 Kudos

I am not asking about append structure, I am looking for a include structure in to standard table

Former Member
0 Kudos

Hi,

Include Structure ->In addition to listing the individual fields, we can also include the fields of another structure in tables and structures. Individual fields and includes can be mixed as required.

INCLUDE structure will be helpful when we creating an internal table in the run time..At that time we can include a structure of a table in it instead of giving the all fields in the creation of the internal table

Includes can also be nested, that is structure A includes structure B which in turn includes another structure C, etc. The maximum nesting depth is limited to nine. The maximum length of a path of nested includes in a table or structure is therefore nine (the table/structure itself not included).

For more Info,

http://help.sap.com/saphelp_erp2004/helpdata/en/cf/21ea6a446011d189700000e8322d00/content.htm

Regards,

Padmam.

Former Member
0 Kudos

Hi,

1) Define 1 structure with the ZZfields in it and activate it.

2) Define an append structure for each SAP Table, include the structure created in 1) in it. Activate.

All the tables will have the same set of ZZ fields in them.

You can add new ZZFields to the structure later, activating this will add them to all the tables.

<b>Reward points if useful</b>

Rewards

Ashu

Former Member
0 Kudos

You can open the structure that you want to include the new structure click on the append structure button it will let you create a new structure when you save and activate the structure it would show under the structure.

Regards,

Himanshu

Former Member
0 Kudos

Hi,

The only advice I can give is:

DON'T DO THIS!

DON'T EVEN THINK ABOUT MODIFIYING A STANDARD TABLE THIS WAY!

Why? I assume that you will run into trouble already in the short-term. Are you already working on a unicode system? You are aware that you most likely will change the fragment view onto the table under unicode which will likely cause unicode errors.

I cannot believe that a customer has requirements that would necessitate such an intrusion into the SAP system.

Therefore I will repeat myself:

DON'T DO THIS!

DON'T EVEN THINK ABOUT MODIFIYING A STANDARD TABLE THIS WAY!

<b>Reward points</b>

Regards