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

deep or flat structure

Former Member
0 Likes
904

hi everybody,

is person a deep or flat structure ?

How can I fill in this case the internal table itab ?

types: begin of adres, "

strasse(20) type c,

plz(5) type c,

end of adres.

types: begin of person, " hier steht im Debugger flat struktur oder structure

name(20) type c,

resid type adres,

end of person.

data test type person.

data itab type table of person.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
849
7 REPLIES 7
Read only

Former Member
0 Likes
849

What do you think it is and why?

Rob

Read only

0 Likes
849

to say the truth I don understand the necessity but I guess it is a deep structure.

But in the debugger I sat the remark flat strucutre

Read only

0 Likes
849

Hi this is not a deep structuire it is a flat stutcture.

Read the f1 documentation for typen u will know the difference between those tow.

Thanks,

Read only

0 Likes
849

>

> I guess it is a deep structure.

>

> But in the debugger I sat the remark flat strucutre

Do you know what makes a structure deep? For reference, see the URL from Kartik

Rob

Read only

Former Member
0 Likes
849

U can see some ALV prog. which contains COLOR, STYLE functionality, so that, u can get an idea of filling these itabs.

Pls. write here in english to get quick & effective repliyes

types: begin of person, " hier steht im Debugger flat struktur oder structure

name(20) type c,

resid type adres,

end of person.

The above shuld show like,

types: begin of person, " In debug mode, system is saying that, it is a flat strcture or Structure!!

name(20) type c,

resid type adres,

end of person.

thanq

Edited by: SAP ABAPer on Mar 4, 2009 9:01 PM

Read only

Former Member
0 Likes
850
Read only

Former Member
0 Likes
849

can you pls give me a concrete example for deep and one example for flat structure and fill its internal table. I am sorry because I didn't understand anything at all

Regards

sas