Application Development 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: 

Macro definition of '*' and usage

yjiang
Advisor
Advisor
0 Kudos

hi experts,

I am investigating a report, and confused by a macro application.

The macro definition part:

DATA: CATALOG LIKE TCATALOG OCCURS 0 WITH HEADER LINE,
      MEMORY_ID(30) VALUE 'SAPLSTXD'.

DEFINE *.
  IMPORT CATALOG FROM MEMORY ID MEMORY_ID.
END-OF-DEFINITION.

The application part:

TABLES: VBUK, *VBUK.

what does *VBUK mean? i can't understand it with the direct substituation.

thanks a lot.

cheers,

yang

1 REPLY 1

former_member209818
Active Contributor
0 Kudos

Hi Yang,

I think, the * in macro definition and and tables declaration is not atall related.

When you are saying Tables *table, that means, 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.

The Tables * declaration is now Obsolete in ECC 6.0

Hope this helps..