Push the actualarea in variable "htmlareapush" and cleare the actual html-script. Restore with html=shtmlareaend
with this function you can generate html-script and can write this in other position
Example
? this is my first text<br>
shtml=htmlareastart
? this is my last text<br>
// push this line in ls_lasttext
shtml=htmlareaend=ls_lasttext
? this is my second text<br>
? @ls_lasttext@
will display
this is my firsttext
this is my second text
this is my lasttext