Hello,
U can try as shown in the below code:
DATA: BEGIN OF htlines OCCURS 10.
INCLUDE STRUCTURE tline.
DATA: END OF htlines.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
header = htheader
* INSERT = 'X'
savemode_direct = 'X'
IMPORTING
newheader = htheader
TABLES
lines = htlines.
Hope this helps.
Regards,
Adithi