‎2007 Nov 02 8:23 AM
Hi all,
I do not know what * means following:
TABLES :zfit0004,
*t074u,
t074u.
Thanks.
‎2007 Nov 02 8:25 AM
Hi,
is used for commenting a line.
For proving any knowledge about the line below.
Ex.
*INITIALIZATION - First point of execution of program
To initialize Any variables that are to be
used in the program, even before selection screen
appears.
INITIALIZATION.
V_PROGNAME = SY-REPID.
V_FLAG = SPACE.
Regards,
Pritha.
‎2007 Nov 02 8:25 AM
Hi Deniz,
This is nothing but the old way of naming structure in SAP. In progam this variables are used to store the old data.
Regards,
Atish
Message was edited by:
Atish Sarda
‎2007 Nov 02 8:25 AM
Hi,
this creates a workarea for the database table.
So you can later write a code like this:
Select SINGLE *
from t074u
into *t074u
where <some condition>
Regards
Nishant
‎2007 Nov 02 8:28 AM
‎2007 Nov 02 8:29 AM
‎2007 Nov 02 8:40 AM
Syntax
TABLES *table_wa.
Effect
This statement declares an additional table work area *table_wa, whose data type, like that of normal TABLES statements of flat, structured data type table_wa, is copied from the ABAP Dictionary.
The additional table work area can be used like the normal table work area. This applies in particular to obsolete short forms of Open SQL statements.
Note
The statement TABLES cannot be used in classes. For declaring as many work areas as you want, you can use the addition TYPE to use the data types in the ABAP Dictionary.