Skip to Content
0
Former Member
Jan 18, 2008 at 07:38 AM

Declare structure

132 Views

Hi,

I'm developing a report that display all the fields in LAGP and LQUA. Then, i tried to to declare the following structure:

TYPES: BEGIN OF TY_REPORT.

INCLUDE STRUCTURE LAGP.

INCLUDE STRUCTURE LQUA.

TYPES: MFRPN LIKE MARA-MFRPN,

END OF TY_REPORT.

It returns error that the MANDT field is existed in LAGP and LQUA. Besides, the LGNUM, ..., etc are also exist in LAGP and LQUA. Is there any way that can declare this kind of structure without enter each field??

Regards,

Kit