Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Extended syntax check for include structure

Hello Everyone,

While declaring the internal table as:

TYPES: BEGIN OF t_data.

INCLUDE STRUCTURE mara.

TYPES: END OF t_data.

DATA: it_data TYPE table of t_data.

When performing extended check, i get following error:

The current ABAP command is obsolete and problematic, especially so in ABAP

Objects

Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary

types, not "LIKE" or "STRUCTURE".

I am using 4.7 version.

Any clue how to avoid this error during extended check.

Regards,

Tarun

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question