Hi all,
the below program is the sample code,was done by my col...and we getting output correctly in se38...but the same if i give in smartform...its not coming out in the print/output form.....
in global definition...i've given as
itab like tline.
in my text window(after the coding tree)....i mentioned as &text&
i.e,im moving the itab-tdline(field) to text.(in my coding)(c the below code...for reference)
***************************************
data text(100).
data itab like tline occurs 0 with header line.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
id = '0001'
language = 'E'
name = '0080000055'
object = 'VBBK'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = itab.
*LOOP AT ITAB.
**write: itab-tdline.
*text = ITAB-TDLINE.
*WRITE:text.
*ENDLOOP.
read table itab index 1.
move itab-tdline to text.
write:/ text.