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

how to get data from internal table inside a deep structure

Former Member
0 Likes
1,688

Hello,

I have a structure as a exporting parameters from a function module which is a deep structure.

It is having some internal tables as a part of it.

I want to get the data from 2 of the internal tables.

E.g.

call function 'ABC'

Exporting = wa_xyz.

I first assign that structure to a field symbol.

Assign wa_xyz to <fs_xyz>.

Then I use,

READ table <fs_xyz>-table1 into lc_tab1.

Is there any other alternative for this ? Or more easy way?

Rgds

Anand

1 ACCEPTED SOLUTION
Read only

ian_maxwell2
Active Participant
0 Likes
992

You should be able to do it without using a field symbol and just using:

READ table wa_xyz-table1 into lc_tab1.

As long as you know the data type of the internal table at design time you won't need a field symbol to do what you need to do.

~Ian

You should be able to do it without using a field symbol and just using:

READ table wa_xyz-table1 into lc_tab1.

As long as you know the data type of the internal table at design time you won't need a field symbol to do what you need to do.

~Ian

2 REPLIES 2
Read only

ian_maxwell2
Active Participant
0 Likes
993

You should be able to do it without using a field symbol and just using:

READ table wa_xyz-table1 into lc_tab1.

As long as you know the data type of the internal table at design time you won't need a field symbol to do what you need to do.

~Ian

Read only

Former Member
0 Likes
992

thanks.