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

Three structures for value table

former_member445147
Participant
0 Likes
396

Hi,

I am creating a value table. I have created a structure which is header structure and has key field mandt and employee id and spras..

I have another structure which is a description table structure which has fields as short text and long text.

I have a third structure which is a combination of the first two structures.

When I include the first structure and the second structure, I am able to create the table wherein I am setting the first structure as key.

Now using only the third structure, is it possible to create a value table.

When I am trying I am getting the message as key field missing.

Thanks and regards,

HarisH.

1 ACCEPTED SOLUTION
Read only

former_member227510
Participant
0 Likes
366

Hey,

You are able to create the table using the first structure and the second structure because here you can specify the structure which has primary keys mandt, employee_id and spras as key fields.

But in the case of the third structure included table, if you try to set first  structure as the key field, then all the fields will be marked as key fields.

In this case you will be able to activate the value table, but it wouldn't serve your purpose.

I suggest you to create the value table, using the first structure and the second structure.

Regards,

Gopa

1 REPLY 1
Read only

former_member227510
Participant
0 Likes
367

Hey,

You are able to create the table using the first structure and the second structure because here you can specify the structure which has primary keys mandt, employee_id and spras as key fields.

But in the case of the third structure included table, if you try to set first  structure as the key field, then all the fields will be marked as key fields.

In this case you will be able to activate the value table, but it wouldn't serve your purpose.

I suggest you to create the value table, using the first structure and the second structure.

Regards,

Gopa