Application Development and Automation 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: 
Read only

Re: Type declaration with structure.

Former Member
0 Likes
479

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
Read only

Former Member
0 Likes
442

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
Read only

FredericGirod
Active Contributor
0 Likes
442

Please, give us the code and more detail ..

Rgd

Frédéric

Read only

Former Member
0 Likes
442

Hi,

Try using ALIASES.

ex.

F1 AS table-field.

Regards,

Shashank

Read only

Former Member
0 Likes
443

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