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

Structure Data into an Internal Table

Former Member
0 Likes
808

Hi Folks,

I am trying to read data from a structure ANLCV into an Internal Table. However I can not to do this. I have not come across this before - Does anybody have a solution?

Thanks!

7 REPLIES 7
Read only

naimesh_patel
Active Contributor
0 Likes
768

Try to read the able ANLC.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
768

data : begin of V_ANLCV.

include structure ANLCV.

data : end of V_ANLCV.

Or

Data: I_ ANLCV like ANLCV occurs 0 with header line.

Read only

0 Likes
768

Naimesh - unfortunately that table does not have all the data that i need!

Is there a way to declare it using TYPES?

Is it simply TYPES: BEGIN OF ANLCV_ITAB,

I_ ANLCV like ANLCV,

end of anlcv_itab.

then gt_anlcv type standard table of anlcv_itab,

gw_anlcv type anlcv_itab

would that work?

Read only

0 Likes
768

hi just give a try ... as u said.. if not

types: gt_anlcv like line of ANLCV

types: begin of gt_anlcv .

include structure anlcv.

types: end of gt_anlcv.

types: gt_anlcv type standard table of anlcv.

some thing should work...

Read only

0 Likes
768

TYPES : gt_anlcv TYPE STANDARD TABLE OF anlcv.

this thing worked in my system.

Read only

0 Likes
768

most of these worked. But now when I try to select * from anlcv into my internal table it will not work. Any clues??

Read only

Former Member
0 Likes
768

done