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

internal tables be without a structured type

Former Member
0 Likes
539

Q] How can internal tables be without a structured type--- could you pls give me an example?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
523

Hi

if you dont want to give structure name over there.

declare like this:-

data : itab_internal type table of mara.

see:- itab_internal table is a internal table of type SAP defined structure.

Reward if help.

4 REPLIES 4
Read only

Former Member
0 Likes
523

Hi,

the structure can be designed of our own type .....

based on the requirement

Regards,

V.Balaji

Reward if Usefull...

Read only

Former Member
0 Likes
523

hi ,

the internal table are declared like this....

data: begin of itab occurs 0.

include structure mara.

data: end of itab.

or

data: begin of itab occurs o,

matnr type mara-matnr,

meins type mara-meins,

end of itab.

or

data: it_data type ztest(structure) occurs 0 with header line.

regards,

venkat.

Read only

0 Likes
523

hi coiuld you pls explain the last syntax?

Read only

Former Member
0 Likes
524

Hi

if you dont want to give structure name over there.

declare like this:-

data : itab_internal type table of mara.

see:- itab_internal table is a internal table of type SAP defined structure.

Reward if help.