Skip to Content
0
Former Member
Dec 03, 2008 at 03:49 PM

include in internal tables

29 Views

Hi,

i want to include 2 structures in my internal table.

i try this:

data: begin of anlab occurs 0.

include structure anla.

include structure anlb.

data: end of anlab.

I get an syntax-error because some fields a declared double (what is correct).

Then i tried this:

data: begin of anlab occurs 0.

include structure anla as anla RENAMING WITH SUFFIX _A.

include structure anlb as anlb RENAMING WITH SUFFIX _B.

data: end of anlab.

This works, but i have some double fields

like MANDT_A with MANDT_B and BUKRS_A with BUKRS_B.

Is there any way to include 2 structures wich include double fields?

thanks.

Regards, Dieter