Skip to Content
author's profile photo Former Member
Former Member

Macro definition of '*' and usage

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 01, 2012 at 11:24 AM

    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..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.