2006 Sep 15 1:03 PM
Hi,
i have my report output of 4 paes. when i tried to save them in HTML format , it saves all pages all together in 1 html. i want to save each page in different html.
like i have 4 pages in report output .. i want 4 html for each different page .
Can anybody help me ..its urgent
Hi,
i have my report output of 4 paes. when i tried to save them in HTML format , it saves all pages all together in 1 html. i want to save each page in different html.
like i have 4 pages in report output .. i want 4 html for each different page .
Can anybody help me ..its urgent
2006 Dec 06 6:03 PM
Hi were you be able to find the solutiion ??
we are facing a similar problem.
Regards,
Vivek K
2006 Dec 06 6:13 PM
Hi,
You can do in this way ...
CALL FUNCTION 'WWW_ITAB_TO_HTML'
TABLES
HTML = F_HTML
FIELDS = FLDS
ITABLE = ITAB.
IF SY-SUBRC NE 0.
WRITE: / 'Error in generating the html format'.
EXIT.
ENDIF.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
FILENAME = 'c:test.html'
MODE = 'BIN'
TABLES
DATA_TAB = F_HTML
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
OTHERS = 9.
call these 2 Fucntion modules for every page. so each page it wil downlaod a HTML page
Regards
Sudheer