11-13-2007 6:17 AM
Dear all,
I am using a z structure defined through se11. The structure contains another structure of type tline.
I would like to update the tline type structure (with header text) without using header line. Is it possible?
data: gt_zdeep type table of zdeep_structure,
gs_zdeep type zdeep_structure.
data: lt_line type table of tline,
ls_line type tline.
call function ' read_text'
exporting
object = object
tables
lines = lt_line.
loop at lt_line into ls_line.
move ls_line to gs_zdeep-header-text. : OK.
append gs_zdeep-header-text to gt_zdeep(?-header-text?): KO; gt_zdeep no header line.
endloop.
any idea how to proceed this one?
Regards.
11-13-2007 6:27 AM
do like this..
loop at lt_line into ls_line.
move ls_line to gs_zdeep-header-text. : OK.
append gs_zdeep to gt_zdeep.
endloop.
it will work....
11-13-2007 6:35 AM
Hi Jyothi,
Doing so, a new line is append into gt_zdeep while I want gt_zdeep-header_text sub structure header_text to be append.
Regards.
11-13-2007 6:36 AM
Hi,
loop at lt_line into ls_line.
gs_zdeep-header-text = ls_line.
append gs_zdeep-header to gt_zdeep.
endloop.
Regards
Sathish
11-13-2007 6:41 AM
Hi Satish,
a new line is append in gt_zdeep with the contain of gs_zdeep-header-text.
What I want is to append gt_zdeep-header only.
Regards.