Skip to Content
0
Former Member
May 30, 2008 at 06:57 AM

Moving field data from a structure into a variable

211 Views

Hi,

I have declared l_lines like this in my program

DATA: l_lines TYPE tline OCCURS 0 WITH HEADER LINE.

tline is a structure.I want to pass the field value of tdline which is present in structure tline into a variable htext_z020.

I have used the move statement like this.

move l_lines-tdline into htext_z020.

In debugging I found that the value of tdline is coming into the structure l_lines.But when i give l_lines-tdline,i am not able to see any value.How can I move the value of tdline into variable htext_z020?