12-16-2004 8:34 AM
Hi,
I'm new to ABAP and hopefully someone can help me by explaining what is the actual intended usage of the above statement?
Basically what is the main difference between these 2 statements below
1. TABLES *ZTABLE; and
2. TABLES ZTABLE?
Thanks in advance.
Rgds,
Michael M. Woo
12-16-2004 8:47 AM
It just another internal table with different name.
In SAP standard programs normally it's used for the following purpose:
In change mode in ZTABLE you have the old values, in the *ZTABLE you have the new values, what the user entered, so the program can compare if anything was changed or not.
Peter
12-16-2004 8:51 AM
Hello Peter / Michael,
There is a slight correction that I must like to make here.
The TABLES statement does not create an internal table. It merely creates a work-area whose structure is defined in the ABAP dictionary.
Regards,
Anand Mandalika.
12-16-2004 8:56 AM
Sorry, you're right...
(I didn't use TABLES statement recently as it's not allowed in ABAP OO.)
Peter