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

adding fields

Former Member
0 Likes
953

Hi All,

how to add fields to standard tables, is it possible by using structures.

1 ACCEPTED SOLUTION
Read only

hymavathi_oruganti
Active Contributor
0 Likes
933

there are two types of structures to add fields into database tables.

create a structure with the fields and add the structure to the dbtable using

<b>.include <struc></b>. this can be done only to the dbtables which are created by us i.e ztables.

But, The only way to change the standard tables is <b>.APPEND <struc></b>

This APPend structure should always be at the end with out disturnbing the original field order.

But there is one constaraint, for standard tables in which there is a field of type "LONG", those tables can never be appended or changed. The reason is: .APPEND should always be at the end and "long" type field should also be at the end. so, there will be a conflict. so, standard tables with "long" data type field can never be appended.

6 REPLIES 6
Read only

Former Member
0 Likes
933

u can create the structure and hen add it using .APPEND or .INCLUDE TO THAT STANDARD TABLE.

Read only

Former Member
0 Likes
933

Hi,

first try to create one structure with nessasary fileds,

then go to mara table,

select append structure on the application too bar,

provide ur structrure there and save,activate.

like this u can fields to sap standard tables.

Thanks,

Reward If Helpful.

Read only

Former Member
0 Likes
933

Hi,

Used Append Structure .

Read only

hymavathi_oruganti
Active Contributor
0 Likes
934

there are two types of structures to add fields into database tables.

create a structure with the fields and add the structure to the dbtable using

<b>.include <struc></b>. this can be done only to the dbtables which are created by us i.e ztables.

But, The only way to change the standard tables is <b>.APPEND <struc></b>

This APPend structure should always be at the end with out disturnbing the original field order.

But there is one constaraint, for standard tables in which there is a field of type "LONG", those tables can never be appended or changed. The reason is: .APPEND should always be at the end and "long" type field should also be at the end. so, there will be a conflict. so, standard tables with "long" data type field can never be appended.

Read only

Former Member
0 Likes
933

Hi Srini,

U can use Append structure and includes to add fields to the standard tables.

Regards

Lalit

Read only

Former Member
0 Likes
933

Hi,

is it possible to add fields to the database view, my problem is some one created a data base view by using the tables QMIH,QMEL,ILOH, now i have to add a field,pls tell me how can i do it.