‎2010 Jun 16 7:42 AM
Hi Gurus,
I am using FM WWW_HTML_FROM_LISTOBJECT to convert Spool to HTM format.
I am getting error "Object Monthly Cost Center Report does not exist in the Web Repository"
When I open the page i get message mentioned above.
code is as follows.
SUBMIT rspolst2 EXPORTING LIST TO MEMORY AND RETURN
WITH rqident = p_spoolno.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = gt_listobj
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Convert the spool to HTML format
CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
EXPORTING
template_name = text-t01
TABLES
html = p_html_tab
listobject = gt_listobj.
‎2010 Jun 17 3:58 PM