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: 

Re: Type declaration with structure.

Former Member
0 Kudos

HI.

I declared an type with the two structures. J_1FAKNKK and J_1FAKNKA, since both the structure has the common field i am not getting the desire output.

Can you please guide me

ADV Thanks & regards

Guhapriyan.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

check this

types : begin of itab.
include structure J_1FAKNKK as name1.
include structure J_1FAKNKA as name2 renaming with suffix name3.
types:end of itab.

so that u can use the fields of the structure as name1-fld and so on...

3 REPLIES 3

FredericGirod
Active Contributor
0 Kudos

Please, give us the code and more detail ..

Rgd

Frédéric

Former Member
0 Kudos

Hi,

Try using ALIASES.

ex.

F1 AS table-field.

Regards,

Shashank

Former Member
0 Kudos

check this

types : begin of itab.
include structure J_1FAKNKK as name1.
include structure J_1FAKNKA as name2 renaming with suffix name3.
types:end of itab.

so that u can use the fields of the structure as name1-fld and so on...