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

data type

Former Member
0 Likes
1,145

DATA: i_data TYPE TABLE OF ty_data,

what does it mean.. explian me pls..

Regards,

pandu.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,056

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
Read only

Former Member
0 Likes
1,056

Hi,

It creates a internal table of structure similar to ty_data.

regards,

Navneeth K.

Read only

Former Member
0 Likes
1,056

Hi

An internal table of structure ty_data will be created.

Regards

Haritha

Read only

Former Member
0 Likes
1,056

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

Read only

former_member188827
Active Contributor
0 Likes
1,056

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

Read only

Former Member
0 Likes
1,056

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......

Read only

Former Member
0 Likes
1,056

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

Read only

Former Member
0 Likes
1,056

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

Read only

Former Member
0 Likes
1,057

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.

Read only

0 Likes
1,056

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