on 05-30-2008 7:57 AM
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?
Hi hema,
I find only one error in ur program. move statement should be like this.
move l_lines-tdline to htext_z020.
Ex.
DATA: l_lines TYPE tline OCCURS 0 WITH HEADER LINE.
data htext_z020 type string.
l_lines-tdline = 'Arun'.
move l_lines-tdline to htext_z020.
write : / htext_z020.
The above program is working fine.
Try out this, if u have any more query in this let me know..
Regards...
Arun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.