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

Help in adding key to field

Former Member
0 Likes
608

Hi

I create new structure with 5 field.

The structure added to standard sap table by append structure.

The problem that i want to add a key to one of the field in the structure

How can i do it

Thanks

Have a nice day

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
587

Hi,

Generally Key fields will be in the table separately,

Structure fields may not be key fields.

What's the use of it? why you are creating a structure for just 5 fields.

you can straight away enter those five fields in the table and make one or two fields as key fields.

reward if useful

regards,

Anji

Hi

I create new structure with 5 field.

The structure added to standard sap table by append structure.

The problem that i want to add a key to one of the field in the structure

How can i do it

Thanks

Have a nice day

3 REPLIES 3
Read only

Former Member
0 Likes
588

Hi,

Generally Key fields will be in the table separately,

Structure fields may not be key fields.

What's the use of it? why you are creating a structure for just 5 fields.

you can straight away enter those five fields in the table and make one or two fields as key fields.

reward if useful

regards,

Anji

Read only

Former Member
0 Likes
587

It is not possible to have a key in a structure.

Can you describe your problem , so that we may look for other alternatives?

Regards,

ravi

Read only

Former Member
0 Likes
587

Hi,

It is not possible to make key field for any of the structure fields when added to a table.

thanks,

sksingh