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: 

Structure Data into an Internal Table

Former Member
0 Kudos

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

naimesh_patel
Active Contributor
0 Kudos

Try to read the able ANLC.

Regards,

Naimesh Patel

former_member623843
Participant
0 Kudos

data : begin of V_ANLCV.

include structure ANLCV.

data : end of V_ANLCV.

Or

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

0 Kudos

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?

0 Kudos

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

0 Kudos

TYPES : gt_anlcv TYPE STANDARD TABLE OF anlcv.

this thing worked in my system.

0 Kudos

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

Former Member
0 Kudos

done