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

Difference between *T001 and T001

Former Member
0 Likes
1,572

Hi,

Whats the difference between *T001 and T001? Whats the use of writing an asterisk before the table name?

Thanks.

Tyken

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,347

Hi

It's way to declare workarea as image of a dictionary table, so it can use two different workarea for the same table in order to do a select twice without overwriting the data:

TABLES: T001,
        *T001.

SELECT SINGLE * FROM T001 WHERE BUKRS = 'AAAA'.

SELECT SINGLE * FROM *T001 WHERE BUKRS = 'BBBB'.

Max

6 REPLIES 6
Read only

Former Member
0 Likes
1,347

Hi,

*T001 is internal table declaration. T001 is data base table.

Regards,

Kumar.

Read only

0 Likes
1,347

How do you declare *T001? Under keyword tables?

Thanks.

Read only

Former Member
0 Likes
1,347

hi,

This kind of declarations you will find in the standard programs here *T001 refers to the work area of T001...

Regards,

Santosh

Read only

Former Member
0 Likes
1,348

Hi

It's way to declare workarea as image of a dictionary table, so it can use two different workarea for the same table in order to do a select twice without overwriting the data:

TABLES: T001,
        *T001.

SELECT SINGLE * FROM T001 WHERE BUKRS = 'AAAA'.

SELECT SINGLE * FROM *T001 WHERE BUKRS = 'BBBB'.

Max

Read only

Former Member
0 Likes
1,347

hi,

*T001: It is a internal table declaration.if u give like this it will selects all the tables which are ending with T001.

T001: it is a database table declaration.if u specify like this it will display only t001 table.

thanks,

raji

Read only

Former Member
0 Likes
1,347

*T001 is the Work area declaration and T001 is the internal table declaration. You can find like this in Standard programs.