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

What is this notation

Former Member
0 Likes
745

Hi all,

I do not know what * means following:

TABLES :zfit0004,

*t074u,

t074u.

Thanks.

6 REPLIES 6
Read only

Former Member
0 Likes
711

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.

Read only

Former Member
0 Likes
711

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

Read only

Former Member
0 Likes
711

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

Read only

former_member386202
Active Contributor
0 Likes
711

Hi,

I think its a internal table.

regards,

Prashant

Read only

Former Member
0 Likes
711

it is work area...

Regards

Vasu

Read only

Former Member
0 Likes
711

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.