‎2007 Aug 14 4:22 PM
I use functions WWW_ITAB_TO_HTML_HEADERS, WWW_ITAB_TO_HTML_LAYOUT, WWW_ITAB_TO_HTML to transform an internal table to HTML format. It works but i am not able to fix the size of the table columns in the display of the HTML. Help required.
Regards,
Daniel Cantin
‎2007 Aug 14 11:23 PM
Hi Dan,
Can't you just write the html in a loop.
data wa like line of itab.
data html type string.
* Top part of HTML here
concatenate `<html><body>'
'<table>' into html.
loop at itab into wa.
concatenate html `<tr><td>` wa-field1 `</td><td>` wa-field2 .... '</td></tr>` into html.
endloop.
* Bottom part of HTML here
concatenate html `</table></body></html>` into html.Cheers
Graham