cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Dear a::

Can I create an Internal Table through SE11 and use in my report ? How ?

Thanks & Regards

Vinayak Deosthali.

0 Likes
View Entire Topic
Former Member
0 Likes

Hi,

The Tcode SE11 is used for creation of Permanent Database tables only.

Following are Different ways to create Internal Tables:

1.Data :Itab like sflight occurs 0 with header line

Here you are declaring internal table, which is similar to sflight i.e., itab like sflight i.e., you are referring to existing table (like).

(By default internal table created with this declaration is without header line).

2.Data :Begin of itab occurs 0.

Include structure sflight

Data :End of itab

(Internal Table created with this type of declaration is similar to declaration done in ‘a’ type the only difference is by default internal table created by this type is with header line)

3.Data :Begin of itab occurs 0

carrid like sflight-carrid,

connid like sflight-connid,

fldate like sflight-f1date

End of itab.

By default internal table created by this type of declaration is with header line. In this type of declaration, you are using only those fields from database table, which you require for processing.

4.Data :Begin of itab occurs 0

carrid like sflight-carrid,

connid like sflight-connid,

bookid like sbook-bookid

id like scustom-id,

End of itab.

Here you are combining fields from three different tables in one internal table.

5.Data :Begin of itab occurs 0

Carrid1 like sflight-carrid,

End of itab.

Here you are specifying different field names.

I think now you got some Idea Regarding Internal tables.

Regards,

Ashok