Application Development 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: 

data type

Former Member
0 Kudos

DATA: i_data TYPE TABLE OF ty_data,

what does it mean.. explian me pls..

Regards,

pandu.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

DATA: i_data TYPE TABLE OF ty_data.

TYPE TABLE OF keyword creates table for us with out header line. we need to create a explicit header line for that table.

in the ex: internal table with name i_data is created which is of type ty_data.

reward all useful answers.

with regards,

Suresh Aluri.

9 REPLIES 9

Former Member
0 Kudos

Hi,

It creates a internal table of structure similar to ty_data.

regards,

Navneeth K.

Former Member
0 Kudos

Hi

An internal table of structure ty_data will be created.

Regards

Haritha

Former Member
0 Kudos

It is declartion of internal table i_data which will have the same structure as the table ty_data

former_member188827
Active Contributor
0 Kudos

ty_data must 've been deined prior to dis statement using types..

types:begin of ty_data,

.

.

end of ty_data.

the data statement decl;ares an internal table having same line structure as ty_data...

plz reward points if dis helps

Former Member
0 Kudos

ty_data and i_data will be of same structure........

after a table type is created ...now to create internal tables of that type we use this statements......

Former Member
0 Kudos

HI,

Actually <b>TYPE</b> is used for reffering data types like char, numeric, decimal, date.

and <b>LIKE</b> is used to reffer data base tables ....

in programe we can reffer existed interanl tables also ..

<b>reward me a points if it is use full answer...</b>

praveen

Former Member
0 Kudos

Hi Pandurangarao Yedlapalli ( lovely name by the way),

No! No!

What it actually does is create an internal table of the format which is described in the type ty_data.

Reward ME!

Chester

Former Member
0 Kudos

hi,

DATA: i_data TYPE TABLE OF ty_data.

TYPE TABLE OF keyword creates table for us with out header line. we need to create a explicit header line for that table.

in the ex: internal table with name i_data is created which is of type ty_data.

reward all useful answers.

with regards,

Suresh Aluri.

0 Kudos

Hi Suresh Babu Aluri,

Nice slant on the answer, I can see why you've got so many points.

YOU DESERVE THE POINTS FOR YOUR BRILLIANCE.

Regards,

Chester