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

values cannot added into z-table fields.. (have full points..)

Former Member
0 Likes
427

Hi All,

I have one problem .

I made a z-table,included a z-structure, two times in this z-table.

while inserting some values in the table field. it is ok with the z-table fields but i am able to inseert values in the z-structure fields used in the table.

Thankx in advance..

Lakhan

1 ACCEPTED SOLUTION
Read only

varma_narayana
Active Contributor
0 Likes
406

Hi..Lakhan..

Observe these points carefully . you will get the solution.

To add the Same structure multiple times in the Same Table We have to Assign the Suffix while including the Structure.

How To:

Open the Table in Change mode in SE11

Select the Menu path : EDIT->Include->INSERT.

Enter Structure : <Your Z structure>

Suffix : <any character string Eg: A>

Save .

Now you can see all the Fields from include structure will have Suffix A.

Same way you can include the Structure Several times to the

Table using a different suffix each time.

This ensures that the field names are not duplicated.

Finally Activate your Table.

Now create the entries.

<b>Reward if Helpful</b>

Hi All,

I have one problem .

I made a z-table,included a z-structure, two times in this z-table.

while inserting some values in the table field. it is ok with the z-table fields but i am able to inseert values in the z-structure fields used in the table.

Thankx in advance..

Lakhan

3 REPLIES 3
Read only

Former Member
0 Likes
406

A little confused by your description - you say you have "<i>included a z-structure, two times in this z-table</i>". SAP should not let you include the same structure twice in a table and activate it because you would end up with duplicated column names. Can you clarify what steps you have taken, and where the problem lies?

Read only

varma_narayana
Active Contributor
0 Likes
407

Hi..Lakhan..

Observe these points carefully . you will get the solution.

To add the Same structure multiple times in the Same Table We have to Assign the Suffix while including the Structure.

How To:

Open the Table in Change mode in SE11

Select the Menu path : EDIT->Include->INSERT.

Enter Structure : <Your Z structure>

Suffix : <any character string Eg: A>

Save .

Now you can see all the Fields from include structure will have Suffix A.

Same way you can include the Structure Several times to the

Table using a different suffix each time.

This ensures that the field names are not duplicated.

Finally Activate your Table.

Now create the entries.

<b>Reward if Helpful</b>

Read only

Former Member
0 Likes
406

Hi

Structures: Consist of components that can have any type.

Structures (structured types) Structured types describe the structure and functions of any structured data objects, that is of data structures with components of any type. A component can be a field with an elementary type or can itself be a structure. A table can also be used as a component in a structure. A database table always has a structure and is therefore implicitly a structured type. However, the fields of a database table can only have an elementary type.

reward if usefull

check this with ur table