2007 Jul 16 12:15 PM
Hi Experts,
I have an issue here while converting the List output to HTML using the FM "WWW_LIST_TO_HTML" .
I have 154 pages list output which has to be converted to HTML format.When I run my program in Background The function module works fine converting all 154 page to HTML but when I run my program in Foreground(Directly), I find that only the last page is considered for the HTML conversion.
Infact the FM "LIST_TO_MEMORY" used in the FM "WWW_LIST_TO_HTML" seems to be saving only the Last page of the list output to Memory.
Can some one help on this issue, I want all the 154 pages even when running my program in forground(Directly).
Points will be rewarded for helpful answers..................
Thanks In Advance,
Sukumar
null
2007 Jul 16 12:24 PM
Hi Experts,
I have an issue here while converting the List output to HTML using the FM "WWW_LIST_TO_HTML" .
I have 154 pages list output which has to be converted to HTML format.When I run my program in Background The function module works fine converting all 154 page to HTML but when I run my program in Foreground(Directly), I find that only the last page is considered for the HTML conversion.
Infact the FM "LIST_TO_MEMORY" used in the FM "WWW_LIST_TO_HTML" seems to be saving only the Last page of the list output to Memory.
Can some one help on this issue, I want all the 154 pages even when running my program in forground(Directly).
Points will be rewarded for helpful answers..................
Thanks In Advance,
Sukumar
null
2007 Jul 16 12:18 PM
2007 Jul 16 12:29 PM
Hi Chandrasekhar,
forgot to mention that the HTML pages are being sent as an Email attachment by the same program. I guess LIST_DOWNLOAD_HTML is for Download.
Regards,
Sukumar
2007 Jul 16 12:24 PM
2007 Jul 16 4:34 PM
check this
REPORT y_test_export.
DATA: html TYPE TABLE OF w3html.
DATA: html_wa TYPE w3html.
DATA: listobject TYPE TABLE OF abaplist.
DATA: report_name TYPE syrepid.
report_name = 'DEMO_LIST_FORMAT_COLOR_1' .
SUBMIT (report_name) EXPORTING LIST TO MEMORY AND RETURN .
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = listobject.
CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
EXPORTING
report_name = report_name
TABLES
html = html
listobject = listobject.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |