Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error in Converting Spool to HTML format

Former Member
0 Likes
353

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.

1 REPLY 1
Read only

Former Member
0 Likes
318

Comment the template_name in WWW function module